Chapter 9 BGP4+ Configuration
Configuration Commands
S4 configuration:
S4(config)#router bgp 2
S4(config-bgp)#neighbor 2001::1 remote-as 1
S4(config-bgp)#address-family ipv6
S4(config-bgp-af-ipv6)#neighbor 2001::1 activate
S4(config-bgp-af-ipv6)#redistribute static
S4(config-bgp-af-ipv6)#end
S1 configuration:
S1(config)#router bgp 1
S1(config-bgp)#neighbor 2003::2
remote-as 1
S1(config-bgp)#neighbor 2001::4
remote-as 2
S1(config-bgp)#address-family ipv6
S1(config-bgp-af-ipv6)#neighbor 2001::4 activate
S1(config-bgp-af-ipv6)#neighbor 2003::2 activate
S1(config-bgp-af-ipv6)#end
S2 configuration:
S2(config)#router bgp 1
S2(config-bgp)#neighbor 2003::1 remote-as 1
S2(config-bgp)#neighbor 2007::5 remote-as 3
S2(config-bgp)#neighbor 2007::5 ebgp-multihop
S2(config-bgp)#neighbor 2007::5 password hello
S2(config-bgp)#address-family ipv6
S2(config-bgp-af-ipv6)#neighbor 2003::1 activate
S2(config-bgp-af-ipv6)#neighbor 2007::5 activate
S2(config-bgp-af-ipv6)#end
S5 configuration:
ZXR10_S5(config)#router bgp 3
S5(config-bgp)#neighbor 2005::2 remote-as 1
S5(config-bgp)#neighbor 2005::2 ebgp-multihop
S5(config-bgp)#neighbor 2005::2 password hello
S5(config-bgp)#address-family ipv6
S5(config-bgp-af-ipv6)#neighbor 2005::2 activate
S5(config-bgp-af-ipv6)#end
Configuration Verification
Run the command
show bgp ipv6 unicast summary
on S1 to check the adjacency, as shown
below:
ZXR10_S1(config)#show bgp ipv6 unicast summary
Neighbor
Ver
As
MsgRcvd
MsgSend
Up/Down
State/PfxRcd
2003::2
4
1
12
12
00:25:34
0
9-11
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential