H3C S9500 Series Operation Manual page 25

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

Advertisement

Operation Manual – VRRP
H3C S9500 Series Routing Switches
# Configure the priority of Switch A in the VRRP group 1 as 110.
[SysnameA-Vlan-interface2] vrrp vrid 1 priority 110
# Configure Switch A to work in preemption mode and configure the preemption delay
to five seconds.
[SysnameA-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
[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 Switch B to work in preemptive mode and configure the preemption delay
to five seconds.
[SysnameB-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 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
Virtual IP
Virtual MAC
Master IP
# Display detailed information of VRRP group 1 on Switch B.
: VIRTUAL-MAC
: Vlan-interface2
: 1
: UP
: 110
: YES
: NONE
: 202.38.160.111
: 0000-5e00-0101
: 202.38.160.1
1-24
Chapter 1 VRRP Configuration
Adver. Timer
: 1
State
: Master
Run Pri
: 110
Delay Time
: 5

Advertisement

Table of Contents
loading

Table of Contents