r2621(config-router)#distance 255 1.1.1.0 255.255.255.0 ?
  <1-99>       IP Standard access list number
  <1300-1999>  IP Standard expanded access list number

OspfAdminDistance attributes lists attributes supported by OspfAdminDistance.

Table 1. OspfAdminDistance attributes

Display name

Type

Description

AclName

String

Name of access list used to filter routes learned.

Distance

Integer

The supplied value will be applied to the administrative distance of selected OSPF routes in the local routing table. The default administrative distance for OSPF routes is 110.

IpAddress

IpAddressString

IP address of the source of the OSPF routes. For OSPF, the source address is the OSPF router ID.

IpCIDR

IpAddressString

Generated CIDR.

IpMask

String

IP netmask of the source of the OSPF routes.

IpMaskLength

Integer

Mask length in bits.

IpVersion

Integer

Ip protocol version.