
ZXR10 8900 Series User Manual (Basic Configuration Volume)
Configuring VRRP
To configure VRRP, perform the following steps.
Step Command
Function
1
ZXR10(config)#
interface vlan
<
vlan-number
>
This enters Later 3 VLAN
interface configuration mode
2
ZXR10(config-if)#
vrrp
<
group
>
ip
<
ip-address
>[
sec
ondary
]
This sets a VRRP virtual IP
address and runs VRRP on an
interface
3
ZXR10(config-if)#
vrrp
<
group
>
priority
<
priority
>
This configures a VRRP
priority, with 100 by default
4
ZXR10(config-if)#
vrrp
<
group
>
preempt
[
delay
<
seconds
>]
This configures whether to
enable preempt
5
ZXR10(config-if)#
vrrp
<
group
>
advertise
[
msec
]<
interval
>
This configures time
interval for sending VRRP
advertisements
6
ZXR10(config-if)#
vrrp
<
group
>
learn
This learns the time interval
from primary gateway to send
VRRP messages
7
ZXR10(config-if)#
vrrp
<
group
>
authentication
<
string
>
This configures authentication
character string
8
ZXR10(config-if)#
vrrp
<
group
>
out-interface
<
interface-name
>
This configures the out
interface of VRRP messages
Note:
A VRRP group can be configured with multiple virtual addresses.
Hosts connected to it can use any one of them as gateway for
communications.
VRRP Configuration
Examples
Basic VRRP Configuration Example
This example shows that R1 and R2 run in the VRRP protocol
between each other.
R1 interface address 10.0.0.1 is used as
the VRRP virtual address, therefore R1 is considered as a mas-
ter router. This is shown in
Figure 23
.
74
Confidential and Proprietary Information of ZTE CORPORATION