Configuration procedure, Configuring ipv4 vrrp packet attributes, Configuration guidelines – H3C Technologies H3C S12500-X Series Switches User Manual
Page 53: Displaying and maintaining dldp, Dldp configuration examples
45
Configuration procedure
To configure the router priority, preemptive mode, and tracking function:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure the priority of the
router in the VRRP group.
vrrp vrid virtual-router-id priority
priority-value
The default setting is 100.
4.
Enable the preemptive mode
for the router in a VRRP group
and configure the preemption
delay time.
vrrp vrid virtual-router-id
preempt-mode [ delay
delay-value ]
By default, the router in a VRRP
group operates in preemptive
mode and the preemption delay
time is 0 seconds, which means an
immediate preemption.
5.
Associate a VRRP group with
a track entry.
vrrp vrid virtual-router-id track
track-entry-number [ reduced
priority-reduced | switchover ]
By default, a VRRP group is not
associated with any track entry.
Configuring IPv4 VRRP packet attributes
Configuration guidelines
•
You can configure different authentication modes and authentication keys for VRRP groups on an
interface. However, members of the same VRRP group must use the same authentication mode and
authentication key.
•
In VRRPv2, all routers in a VRRP group must have the same VRRP advertisement interval.
•
In VRRPv3, authentication mode and authentication key settings do not take effect.
•
In VRRPv3, routers in an IPv4 VRRP group can have different intervals for sending VRRP
advertisements. The master in the VRRP group sends VRRP advertisements at specified intervals, and
carries the interval in the advertisements. After a backup receives the advertisement, it records the
interval in the advertisement. If the backup does not receive a new VRRP advertisement from the
master when the timer (3 x recorded interval + Skew_Time) expires, it regards the master as failed
and takes over as the new master.
Configuration procedure
To configure VRRP packet attributes:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Configure the authentication
mode and authentication key
for an IPv4 VRRP group to
send and receive VRRP
packets.
vrrp vrid virtual-router-id
authentication-mode { md5 |
simple } { cipher | plain } key
By default, authentication is
disabled.
- H3C S5560 Series Switches H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module H3C S9800 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C S6300 Series Switches H3C S5820V2 Series Switches H3C S5830 Series Switches H3C S5830V2 Series Switches H3C S3600V2 Series Switches