H3C S9500E Series Configuration Manual page 143

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

Advertisement

[SwitchA-Vlan-interface2] vrrp vrid 1 priority 120
Set Switch A to work in preemptive mode. The preemption delay is five seconds.
[SwitchA-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
Configure Switch B
2.
Configure VLAN 2.
<SwitchB> system-view
[SwitchB] vlan 2
[SwitchB-vlan2] port Gigabitethernet 3/0/5
[SwitchB-vlan2] quit
Configure VRRP to work in load balancing mode.
[SwitchB] vrrp mode load-balance
Create VRRP group 1 and configure its virtual IP address as 10.1.1.1
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ip address 10.1.1.3 24
[SwitchB-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1
Set the priority of Switch B in VRRP group 1 to 110.
[SwitchB-Vlan-interface2] vrrp vrid 1 priority 110
Set Switch B to work in preemptive mode. The preemption delay is five seconds.
[SwitchB-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
Configure Switch C
3.
Configure VLAN 2.
<SwitchC> system-view
[SwitchC] vlan 2
[SwitchC-vlan2] port Gigabitethernet 3/0/5
[SwitchC-vlan2] quit
Configure VRRP to work in load balancing mode.
[SwitchC] vrrp mode load-balance
Create VRRP group 1 and configure its virtual IP address as 10.1.1.1.
[SwitchC] interface vlan-interface 2
[SwitchC-Vlan-interface2] ip address 10.1.1.4 24
[SwitchC-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1
Set Switch C to work in preemptive mode. The preemption delay is five seconds.
[SwitchC-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
Verify the configuration
4.
After the configuration, Host A can ping the external network. You can use the display vrrp
verbose command to verify the configuration.
Display detailed information of VRRP group 1 on Switch A.
[SwitchA-Vlan-interface2] display vrrp verbose
143

Advertisement

Table of Contents
loading

Table of Contents