Bgp Troubleshooting - Planet XGS3-42000R User Manual

4-slot layer 3 ipv6/ ipv4 routing chassis switch
Table of Contents

Advertisement

PE2(config-vrf)#exit
PE2(config)#int erface vlan 1
PE2(config-if-Vlan1)#ip vrf forwarding VRF-A
PE2(config-if-Vlan1)#ip address 192.168.102.1 255.255.255.0
PE2(config-if-Vlan1)#exit
PE2(config)#int erface vlan 2
PE2(config-if-Vlan2)#ip vrf forwarding VRF-B
PE2(config-if-Vlan2)#ip address 192.168.202.1 255.255.255.0
PE2(config-if-Vlan2)#exit
PE2(config)#int erface vlan 3
PE2(config-if-Vlan3)#ip address 202.200.2. 2 255. 255. 255. 0
PE2(config-if-Vlan3)#label-s witching
PE2(config-if-Vlan3)#exit
PE2(config)#int erface loopback 1
PE2(Config-if-Loopback1)# ip address 200.200.1.2 255.255.255.255
PE2(config-if-Vlan3)#exit
PE2(config)#rout er bgp 100
PE2(config-router)#neighbor 200.200.1. 1 remote-as 100
PE2(config-router)#address-family vpnv4 unicast
PE2(config-router-af)#neighbor 200.200.1.1 activate
PE2(config-router-af)#exit-address-family
PE2(config-router)#address-family ipv4 vrf VRF-A
PE2(config-router-af)# neighbor 192.168.102. 2 remote-as 60102
PE2(config-router-af)#exit-address-family
PE2(config-router)#address-family ipv4 vrf VRF-B
PE2(config-router-af)# neighbor 192.168.202. 2 remote-as 60202
PE2(config-router-af)#exit-address-family
The sample configurations which are listed above is the most typical one. To enable communication bet ween
VRF, the route-target should be modified. And if the BGP AS number duplicates for the ends, the "neighbor
<ip-addr> as-override" command should be configured to avoid the duplication of AS numbers.
Also, only BGP related configuration are listed above, to run LDP on the public net work region, please refer to
the LDP configuration sample.

39.4 BGP Troubleshooting

In the process of configuring and implementing BGP protocol, physical connection, configuration false
probably leads to BGP protocol doesn't work. Therefore, the customers should give their attention to points as
follow:
 First of all, to ensure correct physical connection;
 Secondly, to ensure interface and link prot ocol are UP (execute show interface instruction);
 And startup BGP protoc ol (use router bgp command), configure affiliated IB GP and EBGP neighbors
(use neighbor remote-as command).
 Notice BGP protocol itself can't detect route, needs to import other rout es to create BGP route. Only it
39-26

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents