R3204P16-HP Load Balancing Module High Availability Command Reference-6PW101
12
Related commands: display vrrp statistics.
Examples
# Clear the statistics about all the VRRP groups on the router.
<Sysname> reset vrrp statistics
vrrp dot1q
Syntax
vrrp dot1q vid vlan-id [ secondary-dot1q secondary-vlan-id ]
undo vrrp dot1q
View
Interface view
Default level
2: System level
Parameters
vid vlan-id: Outer VLAN ID, ranging from 1 to 4094.
secondary-dot1q secondary-vlan-id: Inner VLAN ID. The secondary-vlan-id argument is in the range 1 to
4094.
Description
Use the vrrp dot1q command to specify a VRRP control VLAN for the subinterface configured with VLAN
termination.
Use the undo vrrp dot1q command to restore the default.
By default, no VRRP control VLAN is specified for the subinterface configured with VLAN termination, that
is, the master sends VRRP advertisements within all VLANs whose VLAN packets are configured to be
terminated by the subinterface.
If you execute the command repeatedly, the latest configuration overwrites the previous one.
Examples
# Specify the outer VLAN ID and inner VLAN ID for the VRRP control VLAN as 2 and 100 respectively.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 0/0.2
[Sysname-Ten-GigabitEthernet0/0.2] vrrp dot1q vid 2 secondary-dot1q 100
vrrp method
Syntax
vrrp method { real-mac | virtual-mac }
undo vrrp method
View
System view
Default level
2: System level