R3166-R3206-HP High-End Firewalls High Availability Configuration Guide-6PW101
19
To do… Use the command…
Remarks
Enter
interface
view
Layer 3
Ethernet
subinterface
view
interface interface-type
interface-number.subnumber
Required
Use either command.
Layer 3
aggregation
subinterface
view
interface route-aggregation
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 a VRRP group and configuring virtual IP address
When creating a VRRP group on an interface, configure a virtual IP address for the VRRP group. 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 automatically created 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, configure an IP
address for the interface and ensure that it is in the same network segment as the virtual IP address to be
configured.
Configuration procedure
Follow these steps to create a VRRP group and configure a virtual IP address:
To do… Use the command…
Remarks
Enter system view system-view —
Enter interface
view
Layer 3 Ethernet
subinterface
view
interface interface-type
interface-number.subnumber
Required
Use either command.
Layer 3
aggregation
subinterface
view
interface route-aggregation
interface-number.subnumber