User Manual

Table Of Contents
40-16
no debug bgp redistribute message
send
debug bgp redistribute route receive
no debug bgp redistribute route
receive
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 bgp 100
SwitchA(config-router-bgp)#neighbor 11.1.1.2 remote-as 200
SwitchA(config-router-bgp)#exit
The configurations of SwitchB are as following:
SwitchB(config)#router bgp 200
SwitchB(config-router-bgp)#network 11.0.0.0
SwitchB(config-router-bgp)#network 12.0.0.0
SwitchB(config-router-bgp)#network 13.0.0.0
SwitchB(config-router-bgp)#neighbor 11.1.1.1 remote-as 100
SwitchB(config-router-bgp)#neighbor 12.1.1.3 remote-as 200
SwitchB(config-router-bgp)#neighbor 13.1.1.4 remote-as 200
SwitchB(config-router-bgp)#exit
Vlan1:11.1.1.1
Vlan1:11.1.1.2
V
lan1: 12.1.1.3
V
lan2: 13.1.1.3
V
lan2: 12.1.1.2
V
lan1: 13.1.1.4
SwitchA
SwitchB
SwitchD
SwitchC
AS100
AS200