R3303-HP HSR6800 Routers High Availability Command Reference

151
vrrp dot1q
Use vrrp dot1q to specify a VRRP control VLAN for the subinterface configured with VLAN termination.
Use undo vrrp dot1q to restore the default.
Syntax
vrrp dot1q vid vlan-id [ secondary-dot1q secondary-vlan-id ]
undo vrrp dot1q
Default
No VRRP control VLAN is specified for the subinterface configured with VLAN termination. The master
sends VRRP advertisements within all VLANs whose VLAN packets are configured to be terminated by
the subinterface.
Views
Interface view
Default command level
2: System level
Parameters
vid vlan-id: Outer VLAN ID in the range of 1 to 4094.
secondary-dot1q secondary-vlan-id: Inner VLAN ID. The value range for the secondary-vlan-id argument
is 1 to 4094.
Usage guidelines
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 gigabitethernet 1/0/1.2
[Sysname-GigabitEthernet1/0/1.2] vrrp dot1q vid 2 secondary-dot1q 100
vrrp method
Use vrrp method to specify the type of the MAC addresses mapped to the virtual IP addresses of the
VRRP groups.
Use undo vrrp method to restore the default.
Syntax
vrrp method { real-mac | virtual-mac }
undo vrrp method
Default
The virtual MAC addresses are mapped to the virtual IP addresses of the VRRP groups.