R3204P16-HP Load Balancing Module High Availability Configuration Guide-6PW101
27
• Specify a single VLAN tag—For subinterfaces configured with ambiguous Dot1q termination, this
type of control VLAN should be specified.
• Specify both inner and outer VLAN tags—For subinterfaces configured with ambiguous QinQ
termination, this type of control VLAN should be specified.
Follow these steps to specify the VRRP control VLAN:
To do… Use the command…
Remarks
Enter system view system-view —
Layer 3 Ethernet subinterface view
interface interface-type
interface-number.subnumber
—
Specify a VRRP control VLAN for
the subinterface configured with
ambiguous Dot1q termination
vrrp dot1q vid vlan-id
Required
Use either command.
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.
Specify a VRRP control VLAN for
the subinterface configured with
ambiguous QinQ termination
vrrp dot1q vid vlan-id
secondary-dot1q secondary-vlan-id
Creating VRRP group and configuring virtual IP address
You need to configure a virtual IP address for a VRRP group when creating the VRRP group on an
interface. If the interface connects to multiple sub-networks, you can configure multiple virtual IP
addresses for the VRRP group to realize router backup on different sub-networks.
A VRRP group is created automatically when you specify the first virtual IP address for the VRRP group.
If you specify another virtual IP address for the VRRP group later, the virtual IP address is added to the
virtual IP address list of the VRRP group.
Configuration prerequisites
Before creating a VRRP group and configuring a virtual IP address on an interface, you should first
configure an IP address for the interface and ensure that the virtual IP address to be configured is in the
same network segment as the IP address of the interface.
Configuration procedure
Follow these steps to create VRRP group and configure virtual IP address:
To do… Use the command…
Remarks
Enter system view system-view —
Enter the specified
interface view
interface interface-type
interface-number
—
Create VRRP group and
configure virtual IP
address of the VRRP group
vrrp vrid virtual-router-id virtual-ip
virtual-address
Required
VRRP group is not created by default.