Configures administrative distance parameters. The distance parameter is a rating of the trustworthiness of a route. The higher the distance, lower is the trust rating. The distance can be set for each type of route indicating its trust rating.
Wireless Controllers — RFS 4000
Service Platforms — NX 95XX, NX 96XX
distance [<IP/M> <1-255> <BGP-ACL-NAME>|bgp <1-255> <1-255> <1-255>]
distance [<IP/M> <1-255> <BGP-ACL-NAME>|bgp <1-255> <1-255> <1-255>]
distance <IP/M> <1-255> <BGP-ACL-NAME> | Configures the default administrative distance,
specified by the
|
bgp <1-255> <1-255> <1-255> | Configures the default administrative distance for
different route types
|
nx9500-6C8809(config-profile testNX9000-router-bgp)#distance bgp 200 100 200
nx9500-6C8809(config-profile testNX9000-router-bgp)#show context router bgp bgp enable asn 1 aggregate-address 116.117.118.0/24 as-set summary-only distance bgp 200 100 200 bgp neighbor 192.168.13.99 remote-as 199 maximum-prefix 9999 80 restart 50 bgp-route-limit num-routes 10 nx9500-6C8809(config-profile testNX9000-router-bgp)#
no (bgp-router-config) | Removes the administrative distance related configurations |