H3C S9500 Series Operation Manual page 28

Routing switch vrrp
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Operation Manual – VRRP
H3C S9500 Series Routing Switches
# Configure the master to send VRRP packets every five seconds.
[SysnameA-Vlan-interface2] vrrp vrid 1 timer advertise 5
# Set the interface to be tracked.
[SysnameA-Vlan-interface2] vrrp vrid 1 track interface vlan-interface 3
reduced 30
[SysnameA-Vlan-interface2] return
2)
Configure Switch B
# Configure VLAN 2.
<SysnameB> system-view
[SysnameB] vlan 2
[SysnameB-vlan2] port ethernet 2/1/4
[SysnameB-vlan2] quit
[SysnameB] interface vlan-interface 2
[SysnameB-Vlan-interface2] ip address 202.38.160.2 255.255.255.0
# Create VRRP group 1 and configure its virtual IP address as 202.38.160.111.
[SysnameB-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.
[SysnameB-Vlan-interface2] vrrp vrid 1 authentication-mode simple hello
# Configure the master to send VRRP packets every five seconds.
[SysnameB-Vlan-interface2] vrrp vrid 1 timer advertise 5
[SysnameB-Vlan-interface2] return
3)
Verify the configuration
After the configuration, Host B can be pinged through 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.
<SysnameA> display vrrp verbose
IPv4 Standby Information:
Run Method
Virtual IP Ping : Enable
Total number of virtual routers: 1
Interface
VRID
Admin Status
Config Pri
Preempt Mode
Auth Type
Track IF
Virtual IP
: VIRTUAL-MAC
: Vlan-interface2
: 1
: UP
: 110
: YES
: SIMPLE TEXT
: Vlan-interface3
: 202.38.160.111
1-27
Chapter 1 VRRP Configuration
Adver. Timer
: 5
State
: Master
Run Pri
: 110
Delay Time
: 0
Key
: hello
Pri Reduced
: 30

Advertisement

Table of Contents
loading

Table of Contents