Allied Telesis VERSION 5.4.3-2.6 Switch User Manual


 
BGP and BGP4+ Configuration
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches
C613-50032-01 REV D AlliedWare Plus
TM
Operating System - Software Version 5.4.3-2.6 2.21
Router 21
awplus(config)#
configure terminal
Enter the Global Configuration mode.
awplus(config-router)#
router bgp 200
Define the BGP routing process. The number 200
specifies the AS number of Router 2.
awplus(config-router)#
address-family ipv4 unicast
Enter the IPv4 Address Family Configuration mode from
the Global Configuration mode.
awplus(config-router-af)#
neighbor 10.10.10.10 remote-as 100
Specify the neighbor’s IPv4 address (10.10.10.10) and
Autonomous System (AS) number (100). Router 1 is a
neighbor of Router 2.
awplus(config-router-af)#
neighbor 10.10.10.10 activate
Activate the exchange of information to the peer
(neighbor) with the IPv4 address 10.10.10.10 (Router
1) in IPv4 Address Family Configuration mode.
awplus(config-router-af)#
neighbor 10.10.10.10 weight 500
Add a weight of 500 to all IPv4 routes coming from the
neighbor with IPv4 address 10.10.10.10 (Router 1).
awplus(config-router-af)#
exit-address-family
Exit IPv4 Address Family Configuration mode, and return
to the Router Configuration mode.
awplus(config-router)#
address-family ipv6 unicast
Enter the IPv6 Address Family Configuration mode from
the Router Configuration mode.
awplus(config-router-af)#
neighbor 2001:db8::116 remote-as
300
Specify the neighbor’s IPv4 address (2001:db8::116)
(and Autonomous System (AS) number (300). Router 3 is
a neighbor of Router 2.
awplus(config-router-af)#
neighbor 2001:db8::116 activate
Activate the exchange of information to the peer
(neighbor) with the IPv6 address 2001:db8::116
(Router 3) in IPv6 Address Family Configuration mode.
Note that other information apart from prefixes is sent in
updates. This command activates the exchange of
information for the peer defined.
awplus(config-router-af)#
neighbor 2001:db8::116 weight 700
Add a weight of 500 to all IPv6 routes coming from the
neighbor with IPv6 address 2001:db8::116 (Router 3).
awplus(config-router-af)#
exit-address-family
Exit IPv6 Address Family Configuration mode, and return
to the Router Configuration mode.
awplus(config-router)#
exit
Exit the Router Configuration mode, and return to the
Global Configuration mode.