
Example
After the configuration, run the
display vrrp
interface
vlanif
command, and you can view the
VRRP status on the VLANIF interface.
<Huawei>
display vrrp interface vlanif 1
Vlanif1 | Virtual Router 3
State : Master
Virtual IP : 100.1.1.111
Master IP : 100.1.1.1
Send VRRP packet to subvlan : all
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 100
Preempt : YES Delay Time : 0
TimerRun : 1 s
TimerConfig : 1 s
Auth Type : NONE
Virtual Mac : 0000-5e00-0103
Check TTL : YES
Config type : normal-vrrp
Create time : 2007-11-22 08:50:56
Last change time : 0000-00-00 00:00:00
2.6 Configuring VRRP Security
On a network at security risks, by configuring an authentication mode of VRRP packets, you
can protect devices against attacks.
2.6.1 Establishing the Configuration Task
Before configuring VRRP security authentication, familiarize yourself with the applicable
environment and complete pre-configuration task of configuring a VRRP backup group.
Applicable Environment
In a secure network, by default, the router considers received and sent VRRP packets real and
valid without authenticating them. In this case, you do not need to configure an authentication
key.
VRRP provides simple text authentication and MD5 authentication for networks that are
vulnerable to attacks. In simple text authentication mode, a string of 1 to 8 characters can be
configured as the authentication key. In MD5 authentication mode, a string of 1 to 8 characters
in plain text or a string of 24 characters in encrypted text can be configured as the authentication
key.
The process of simple text authentication is as follows:
l
Device that sends packets adds the authentication key into VRRP packets.
l
Device that receives packets compares the received authentication key with the local
authentication key. If they are the same, VRRP packets are valid. Otherwise, the router
discards the received VRRP packets and sends a Trap packet to the Network Management
System (NMS).
The process of MD5 authentication is as follows:
l
The router adds the authentication key to the VRRP packet.
l
The receiver generates a summary based on the locally configured authentication key and
compares the summary of the received VRRP packet with the locally generated summary.
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.
78