3Com Switch 8800 Configuration Guide
Chapter 21 BGP Configuration
21-30
Using the
display bgp routing-table
command, you can view BGP routing table on
Switch B. Note: Switch B has known the existence of network 1.0.0.0.
Using the
display bgp routing-table
command ,you can view the BGP routing table on
Switch D. Note: Switch D also knows the existence of network 1.0.0.0.
21.4.3 Configuring BGP Routing
I. Network requirements
This example illustrates how the administrators manage the routing via BGP attributes.
All switches are configured with BGP, and IGP in AS 200 utilizes OSPF. Switch A is in
AS 100, and Switch B, Switch C and Switch D are in AS 200.Switch A, Switch B, and
Switch C operate EBGP. Switch B, Switch C and Switch D operate IBGP.
II. Network diagram
VLAN 4
194.1.1.2/24
VLAN 2
192.1.1.1/24
VLAN 3
193.1.1.1/24
VLAN 3
193.1.1.2/24
VLAN 5
195.1.1.2/24
VLAN 2
192.1.1.2/24
2.2.2.2
4.4.4.4
3.3.3.3
1.1.1.1
AS100
AS200
VLAN 4
194.1.1.1/24
VLAN 5
195.1.1.1/24
IBGP
IBGP
EBGP
EBGP
To network
1.0.0.0
To network
2.0.0.0
To network
4.0.0.0
To network
3.0.0.0
Switch A
Switch B
Switch C
Switch D
Figure 21-4
Networking diagram for BGP routing configuration
III. Configuration procedure
1)
Configure Switch A:
[Switch A] interface Vlan-interface 2
[Switch A-Vlan-interface2] ip address 192.1.1.1 255.255.255.0
[Switch A] interface Vlan-interface 3
[Switch A-Vlan-interface3] ip address 193.1.1.1 255.255.255.0
Enable BGP
[Switch A] bgp 100
Specify the network that BGP sends to
[Switch A-bgp] network 1.0.0.0
Configure the peers
[Switch A-bgp] group ex192 external
[Switch A-bgp] peer 192.1.1.2 group ex192 as-number 200