MES53xx, MES33xx, MES23xx Ethernet Switch Series
198
vrrp
vrid
version {2 | 3 |
2&3}
-/3
Specify supported version of VRRP.
-
2
- support for VRRPv2 defined in RFC3768. Received VRRPv3
messages are rejected by the router. Only VRRPv2
announcements are sent.
-
3
- support for VRRPv3 defined in RFC5798, without
compatibility with VRRPv2 (8.4, RFC5798). Received VRRPv2
messages are rejected by the router. Only VRRPv3 announces
are sent.
-
2&3
- support for VRRPv3 defined in RFC5798, with backward
compatibility with VRRPv2. Received VRRPv2 messages are
processed by the router. VRRPv2 and VRRPv3 announce are
sent.
Only VRRP version 3 is supported. Modes 2 and 2 and 3 will be
supported in future versions of the firmware.
no vrrp
vrid
version
Set the default value.
Privileged EXEC mode commands
All commands are available for privileged users only.
Command line prompt in the Privileged EXEC mode is as follows:
console#
Table 5.234. Privileged EXEC mode commands
Command
Value/Default value
Action
show vrrp [all | brief |
interface
{gigabitethernet
gi_port
|
tengigabitethernet
te_port
|
fortygigabitethernet
fo_port
|
port-channel
group
|
vlan
vlan_id
}]
gi_port: (1..8/0/1..48);
te_port: (1..8/0/1..24);
fo_port: (1..8/0/1..4);
group: (1..16);
vlan_id: (1..4094)
Show brief or detailed information for all or one configured
virtual VRRP router.
-
all
- show information about all virtual routers including
disabled ones;
-
brief
- show brief information about all virtual routers.
Examples of command usage
Set IP address 10.10.10.1 to VLAN 10, use this address as address of virtual protocol of the router.
Enable VRRP on the VLAN interface.
console(config-vlan)#
interface vlan
10
console(config-if)#
ip address
10.10.10.1 /24
console(config-if)#
vrrp 1 ip
10.10.10.1
console(config-if)#
no vrrp 1 shutdown
Show VRRP configuration:
console#
show vrrp
Interface: vlan 10
Virtual Router 1
Virtual Router name
Supported version VRRPv3
State is Initializing
Virtual IP addresses are 10.10.10.1(down)
Source IP address is 0.0.0.0(default)
Virtual MAC address is 00:00:5e:00:01:01
Advertisement interval is 1.000 sec
Preemption enabled
Priority is 255