H3C S9500E Series Configuration Manual page 194

Routing switches
Hide thumbs Also See for S9500E Series:
Table of Contents

Advertisement

Configuration procedure
Create VLANs, and assign IP addresses to VLAN interfaces, as shown in Figure 48. (Details
1.
not shown.)
Add ports to related VLANs. (Details not shown.)
2.
Configure BFD on Switch A.
3.
Configure the source address of BFD echo packets as 10.10.10.10.
<SwitchA> system-view
[SwitchA] bfd echo-source-ip 10.10.10.10
Create a track entry to be associated with the BFD session on Switch A.
4.
Create track entry 1 to be associated with the BFD session to check whether the uplink device
with the IP address 1.1.1.2 is reachable.
[SwitchA] track 1 bfd echo interface vlan-interface 3 remote ip 1.1.1.2 local
ip 1.1.1.1
Configure VRRP on Switch A
5.
Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10;
configure the priority of Switch A in VRRP group 1 as 110; configure VRRP group 1 to monitor
the status of track entry 1. When the status of the track entry becomes Negative, the priority of
Switch A decreases by 20.
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] vrrp vrid 1 virtual-ip 192.168.0.10
[SwitchA-Vlan-interface2] vrrp vrid 1 priority 110
[SwitchA-Vlan-interface2] vrrp vrid 1 track 1 reduced 20
[SwitchA-Vlan-interface2] return
Configure VRRP on Switch B
6.
Create VRRP group 1, and configure the virtual IP address of the group as 192.168.0.10.
<SwitchB> system-view
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] vrrp vrid 1 virtual-ip 192.168.0.10
[SwitchB-Vlan-interface2] return
Verify the configuration
7.
Display the detailed information of the VRRP group on Switch A.
<SwitchA> display vrrp verbose
IPv4 Standby Information:
Run Mode
Run Method
Total number of virtual routers : 1
Interface Vlan-interface2
VRID
Admin Status
Config Pri
: Standard
: Virtual MAC
: 1
: Up
: 110
194
Adver Timer
: 1
State
: Master
Running Pri
: 110

Advertisement

Table of Contents
loading

Table of Contents