beautypg.com

Configuration procedure – H3C Technologies H3C S12500-X Series Switches User Manual

Page 90

background image

82

Figure 22 Network diagram

Configuration procedure

1.

Create VLANs and assign corresponding ports to them. Configure the IP address of each VLAN

interface as shown in

Figure 22

. (Details not shown.)

2.

Configure VRRP on Switch A:

system-view

[SwitchA] interface vlan-interface 2

# Create VRRP group 1, and configure the virtual IP address 192.168.0.10 for the group. Set the
priority of Switch A in VRRP group 1 to 110.

[SwitchA-Vlan-interface2] vrrp vrid 1 virtual-ip 192.168.0.10

[SwitchA-Vlan-interface2] vrrp vrid 1 priority 110

[SwitchA-Vlan-interface2] return

3.

On Switch B, configure the source address of BFD echo packets as 10.10.10.10.

system-view

[SwitchB] bfd echo-source-ip 10.10.10.10

4.

On Switch B, create track entry 1 to be associated with the BFD session to check whether Switch
A is reachable.

[SwitchB] track 1 bfd echo interface vlan-interface 2 remote ip 192.168.0.101 local

ip 192.168.0.102

5.

On Switch B, create VRRP group 1, and configure the virtual IP address 192.168.0.10 for the
group. VRRP group 1 monitors the status of track entry 1. When the status of the track entry

becomes Negative, Switch B quickly becomes the master.

[SwitchB] interface vlan-interface 2

[SwitchB-Vlan-interface2] vrrp vrid 1 virtual-ip 192.168.0.10

[SwitchB-Vlan-interface2] vrrp vrid 1 track 1 switchover

Internet

Virtual router

Virtual IP address:

192.168.0.10

Vlan-int2

192.168.0.101/24

Vlan-int2
192.168.0.102/24

Switch A

Master

Switch B

Backup

L2 switch

VRRP packets

BFD probe packets