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.15
Configuring BGP Distance
You can configure administrative distance in BGP for a specific address family.
This example shows configuring the BGP distance for the IPv4 Address Family.
Router 1
bgp_distance
Router 1
10.10.10.10
Router 2
10.10.10.20
AS100 AS100
Router 3
172.16.10.10/24 192.168.10.20/24
AS200
10.10.10.30
10.10.10.40
awplus(config)#
configure terminal
Enter the Global Configuration mode.
awplus(config-router)#
router bgp 100
Define the BGP routing process. The number 100
specifies the AS number of Router 1.
awplus(config-router)#
network 172.16.10.10/24
Specify the network 172.16.10.10/24 to be
advertised by the BGP routing process from Router 1 to
Router 2.
awplus(config-router)#
neighbor 10.10.10.20 remote-as 100
Specify the neighbor’s IPv4 address (10.10.10.20) and
Autonomous System (AS) number (100). Router 2 is the
neighbor of Router 1.
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.20 activate
Activate the exchange of information to the peer
(neighbor) with the IPv4 address 10.10.10.20 for
Router 2. 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)#
exit-address-family
Exit IPv4 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.