R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101

14
If you specify both an interface and a VRRP group, the statistics about the specified VRRP group on the
specified interface are cleared. If you specify only the interface, the statistics about all the VRRP groups
on the interface are cleared. If you specify neither, the statistics about all the VRRP groups on the router
are cleared.
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, which ranges from 1 to 4094.
secondary-dot1q secondary-vlan-id: Inner VLAN ID. The secondary-vlan-id argument ranges from 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. In
other words, the master sends VRRP advertisements within all VLANs whose VLAN packets are
configured to be terminated by the subinterface.
If you re-execute the command, the latest configuration overwrites the previous one.
This command is supported on only Layer 3 Ethernet subinterfaces and Layer 3 aggregation
subinterfaces.
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 GigabitEthernet0/1.2
[Sysname-GigabitEthernet0/1.2] vrrp dot1q vid 2 secondary-dot1q 100
vrrp method
Syntax
vrrp method { real-mac | virtual-mac }