C613-50100-01 REV C Command Reference for x930 Series 1224
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
BGP AND BGP4+ COMMANDS
DISTANCE
(BGP AND BGP4+)
• for each BGP route type by specifying:
awplus(config-router)# distance <ebgp> <igbp> <local>
• for a specific route by specifying:
awplus(config-router)# distance <1-255> <ip-address/m>
[<listname>]
If the administrative distance is changed, it could create inconsistency in the
routing table and obstruct routing.
Examples [BGP] For BGP IPv4, to set the administrative distance to 34 for the route 10.10.0.0/24 in
BGP 100, and use the access list “mylist” to filter the routes, use the commands:
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)# distance 34 10.10.0.0/24 mylist
For BGP IPv4, to set BGP 100’s administrative distances for eBGP routes to 34, iBGP
routes to 23, and local BGP routes to 15, use the commands:
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)# distance bgp 34 23 15
Example [BGP4+] For BGP4+ IPv6, to set BGP 100’s administrative distances for eBGP routes to 34,
iBGP routes to 23, and local BGP routes to 15, use the commands:
awplus# configure terminal
awplus(config)# router bgp 100
awplus(config-router)# address-family ipv6
awplus(config-router-af)# distance bgp 34 23 15