H3C S9500E Series Configuration Manual page 136

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

Advertisement

Configure the authentication mode of the VRRP group as simple and authentication key as
hello.
[SwitchA-Vlan-interface2] vrrp vrid 1 authentication-mode simple hello
Set the interval for Master to send VRRP advertisement to five seconds.
[SwitchA-Vlan-interface2] vrrp vrid 1 timer advertise 5
Set the interface to be tracked.
[SwitchA-Vlan-interface2] vrrp vrid 1 track interface vlan-interface 3 reduced
30
Configure Switch B
2.
Configure VLAN 2.
<SwitchB> system-view
[SwitchB] vlan 2
[SwitchB-vlan2] port Gigabitethernet 3/0/5
[SwitchB-vlan2] quit
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ip address 202.38.160.2 255.255.255.0
Create a VRRP group 1 and set its virtual IP address to 202.38.160.111.
[SwitchB-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
Configure the authentication mode of the VRRP group as simple and authentication key as
hello.
[SwitchB-Vlan-interface2] vrrp vrid 1 authentication-mode simple hello
Set the interval for Master to send VRRP advertisement to five seconds.
[SwitchB-Vlan-interface2] vrrp vrid 1 timer advertise 5
Verify the configuration
3.
After the configuration, Host B can be pinged successfully on Host A. 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
IPv4 Standby Information:
Run Mode
Run Method
Total number of virtual routers : 1
Interface Vlan-interface2
VRID
Admin Status
Config Pri
Preempt Mode
Auth Type
Virtual IP
: Standard
: Virtual MAC
: 1
: Up
: 110
: Yes
: Simple
: 202.38.160.111
136
Adver Timer
: 5
State
: Master
Running Pri
: 110
Delay Time
: 0
Key
: hello

Advertisement

Table of Contents
loading

Table of Contents