Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Commands
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
3.64 AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 C613-50032-01 REV D
Usage You can use this command to set the administrative distance:
for each BGP route types by specifying:
distance (BGP and BGP4+) <ebgp> <igbp> <local>
for a specific route by specifying:
distance (BGP and BGP4+) <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:
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:
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)#
distance 34 10.10.0.0/24 mylist
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
distance bgp 34 23 15
awplus#
configure terminal
awplus(config)#
router bgp 100
awplus(config-router)#
address-family ipv6
awplus(config-router-af)#
distance bgp 34 23 15