H3C S5600 SERIES Operation Manual page 361

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

Network diagram
Figure 5-16
shows the network diagram.
Figure 5-16 Network diagram for BGP path selection
Device
Switch A
Switch B
Switch C
Switch D
Configuration plan
Run EBGP between AS 100 and AS 200. Inject network 1.0.0.0/8.
Run OSPF in AS 200 to realize network interconnection.
Run IBGP between Switch D and Switch B as well as between Switch D and Switch C.
Apply a routing policy on Switch A to modify the MED attribute of the route to be advertised to AS
200, making the data forwarding path from Switch D to AS 100 as Switch D – Switch C – Switch A.
Apply a routing policy on Switch C to modify the LOCAL_PREF attribute of the route to be
advertised to Switch D, making the data forwarding path from AS 200 to AS 100 as Switch D –
Switch C – Switch A.
Configuration procedure
1)
Configure Switch A.
# Configure VLAN interface IP addresses.
<SwitchA> system-view
[SwitchA] interface Vlan-interface 2
[SwitchA-Vlan-interface2] ip address 192.1.1.1 255.255.255.0
[SwitchA-Vlan-interface2] quit
[SwitchA] interface Vlan-interface 3
[SwitchA-Vlan-interface3] ip address 193.1.1.1 255.255.255.0
[SwitchA-Vlan-interface3] quit
# Enable BGP.
[SwitchA] bgp 100
# Inject network 1.0.0.0/8.
Interface
Vlan-int 101
Vlan-int 2
Vlan-int 3
Vlan-int 2
Vlan-int 4
Vlan-int 3
Vlan-int 5
Vlan-int 4
Vlan-int 5
5-34
IP address
1.1.1.1/8
192.1.1.1/24
193.1.1.1/24
192.1.1.2/24
194.1.1.2/24
193.1.1.2/24
195.1.1.2/24
194.1.1.1/24
195.1.1.1/24
AS
100
200

Advertisement

Table of Contents
loading

Table of Contents