
Step 2
Run:
interface vlanif
vlan-id
The VLANIF interface view is displayed.
Step 3
Run:
vrrp vrid
virtual-router-id
virtual-ip
virtual-address
A backup group is created and its virtual IP address is specified.
Step 4
Run:
vrrp vrid
virtual-router-id
priority
priority-value
The priority of the router in the backup group is configured.
----End
2.5.3 (Optional) Configuring the Mode of Sending VRRP Packets
in Super-VLAN
You can configure the mode of sending VRRP advertisement packets for a super VLAN on
VLANIF interfaces.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface vlanif
vlan-id
The VLANIF interface view is displayed.
Step 3
Run:
vrrp advertise send-mode
{
sub-vlan-id
|
all
}
The mode of sending VRRP advertising messages is configured.
----End
2.5.4 Checking the Configuration
By viewing the status of a VRRP backup group, you can check whether the configurations are
successful.
Prerequisite
The configurations of the VRRP applications in VLANIF are complete.
Procedure
Step 1
Run the
display vrrp
[
interface
interface-type interface-number
[
virtual-router-id
] ]
command to check the VRRP status.
----End
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2 VRRP Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
77