40-16
no debug /jointfilesconvert/1771035/bgp redistribute message
send
debug /jointfilesconvert/1771035/bgp redistribute route receive
no debug /jointfilesconvert/1771035/bgp redistribute route
sent by BGP for redistributing OSPF routing.
To enable or disable debugging messages
received from NSM for redistributing OSPF
routing.
40.3 Configuration Examples of BGP
40.3.1 Examples 1: configure BGP neighbor
SwitchB, SwitchC and SwitchD are in AS200, SwitchA is in AS100. SwitchA and SwitchB share the same
network segment. SwitchB and SwitchD are not connected physically.
Figure 40-1 BGP Network Topological Map
The configurations of SwitchA are as following:
SwitchA(config)#router /jointfilesconvert/1771035/bgp 100
SwitchA(config-router-/jointfilesconvert/1771035/bgp)#neighbor 11.1.1.2 remote-as 200
SwitchA(config-router-/jointfilesconvert/1771035/bgp)#exit
The configurations of SwitchB are as following:
SwitchB(config)#router /jointfilesconvert/1771035/bgp 200
SwitchB(config-router-/jointfilesconvert/1771035/bgp)#network 11.0.0.0
SwitchB(config-router-/jointfilesconvert/1771035/bgp)#network 12.0.0.0
SwitchB(config-router-bgp)#network 13.0.0.0
SwitchB(config-router-/jointfilesconvert/1771035/bgp)#neighbor 11.1.1.1 remote-as 100
SwitchB(config-router-/jointfilesconvert/1771035/bgp)#neighbor 12.1.1.3 remote-as 200
SwitchB(config-router-/jointfilesconvert/1771035/bgp)#neighbor 13.1.1.4 remote-as 200
SwitchB(config-router-/jointfilesconvert/1771035/bgp)#exit
lan1: 12.1.1.3
lan2: 13.1.1.3
lan2: 12.1.1.2
lan1: 13.1.1.4
Comments to this Manuals