HP 3600 v2 series Configuration Manual page 266

Hide thumbs Also See for 3600 v2 series:
Table of Contents

Advertisement

Figure 98 Network diagram
Device
Switch A
Switch B
Configuration procedure
Configure IP addresses for interfaces. (Details not shown)
1.
Configure OSPF to make sure that Switch A and Switch C are reachable to each other. (Details not
2.
shown)
Configure BGP on Switch A.
3.
# Establish two iBGP connections between Switch A and Switch C.
<SwitchA> system-view
[SwitchA] bgp 100
[SwitchA-bgp] peer 3.0.2.2 as-number 200
[SwitchA-bgp] peer 2.0.2.2 as-number 200
[SwitchA-bgp] quit
# When the two links between Switch A and Switch C are both up, Switch C adopts the link Switch
A<—>Switch B<—>Switch C to exchange packets with network 1.1.1.0/24. (Set a higher MED value for
route 1.1.1.0/24 sent to peer 2.0.2.2 on Switch A.)
Create ACL 2000 to permit 1.1.1.0/24 to pass.
[SwitchA] acl number 2000
[SwitchA-acl-basic-2000] rule permit source 1.1.1.0 24
[SwitchA-acl-basic-2000] quit
Create two route policies, apply_med_50 and apply_med_100. Policy apply_med_50 sets the
MED for route 1.1.1.0/24 to 50. Policy apply_med_100 sets that to 100.
[SwitchA] route-policy apply_med_50 permit node 10
[SwitchA-route-policy] if-match acl 2000
[SwitchA-route-policy] apply cost 50
Interface
IP address
Vlan-int100
3.0.1.1/24
Vlan-int200
2.0.1.1/24
Vlan-int100
3.0.1.2/24
Vlan-int101
3.0.2.1/24
Device
Switch C
Switch D
254
Interface
IP address
Vlan-int101
3.0.2.2/24
Vlan-int201
2.0.2.2/24
Vlan-int200
2.0.1.2/24
Vlan-int201
2.0.2.1/24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents