Cisco Cisco Packet Data Gateway (PDG)

Página de 2186
distance
Defines the administrative distance for routes. The administrative distance is the default priority for a specific
route or type route.
Product
All
Privilege
Security Administrator, Administrator
Command Modes
Exec > Global Configuration > Context Configuration > BGP Configuration
configure > context context_name > router bgp as_number
Entering the above command sequence results in the following prompt:
[
context_name
]
host_name
(config-bgp)#
Syntax Description
distance { admin distance prefix prefix_addr [ route-access-list list_name ] | bgp external ebgp_dist
internal ibgp_dist local local_dist }
no distance { admin 
distance prefix prefix_addr [ route-access-list list_name ] | bgp [ external ebgp_dist
internal ibgp_dist local local_dist ] }
no
Removes the specified administrative distance for the specific route.
distance admin distance prefix prefix_addr [ route-access-list list_name ]
Sets the administrative distance to a specified value for routes with a specific IP prefix. If you also specify a
route access list, the IP prefix must match the rules of that access list.
admin distance: Specifies the administrative distance that you want to apply to the IP prefix. distance must
be an integer from 1 through 254.
prefix prefix_addr: Specifies the IP prefix of routes that should have the admin distance applied. prefix_addr
must be an IPv4 address in dotted-decimal notation and the number of subnet bits, representing the subnet
mask in CIDR shorthand (for example, 10.1.1.1/24).
route-access-list list_name: Defines the name of a route access list that defines for which routes the
administrative distance should be set.
distance bgp external ebgp_dist internal ibgp_dist local local_dist
Sets the administrative distance for external (eBGP), internal (iBGP) and local routes.
Command Line Interface Reference, Modes A - B, StarOS Release 19    
1875
BGP Configuration Mode Commands
distance