Command Reference VRRP Commands
Defaults
This function is disabled by default. Once the VRRP function is enabled, the VRRP group will work in
the preemption mode by default.
Command
Mode
Interface configuration mode
Usage Guide
If the VRRP group is working in the preemption mode, once a device finds its priority is higher than
the priority of the master, it will become the master device of the VRRP group. If the VRRP group is
not working in the preemption mode, even if a device finds its priority is higher than the master’s
priority, it will not become the master device of the VRRP group. In case the VRRP group is using the
Ethernet interface IP address, the setting of the preemption mode does not make sense, because
that VRRP group has the highest priority and thus automatically becomes the master device in the
VRRP group.
Configuration
Examples
The following example enables IPv4 VRRP on interface GigabitEthernet 0/0.When VRRP group 1
finds its priority (200) is higher than that of the current master device, it will declare its preemption of
master after a delay of 15 seconds.
Ruijie#configure terminal
Ruijie(config)#interface GigabitEthernet 0/0
Ruijie(config-if-GigabitEthernet 0/0)#no switchport //used on the switch.
Ruijie(config-if-GigabitEthernet 0/0)#ip address 10.0.1.1 255.255.255.0
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 ip 10.0.1.20
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 preempt delay 15
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 priority 200
The following example enables IPv4 VRRP on interface GigabitEthernet 0/0. When VRRP group 1
finds its priority (200) is higher than that of the current master device, it will declare its preemption of
master after a delay of 15 seconds.
Ruijie#configure terminal
Ruijie(config)#interface GigabitEthernet 0/0
Ruijie(config-if-GigabitEthernet 0/0)#no switchport //used on the switch.
Ruijie(config-if-GigabitEthernet 0/0)#ipv6 enable
Ruijie(config-if-GigabitEthernet 0/0)#ipv6 address 2001::2/64
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 ipv6 FE80::1
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 ipv6 2001::1
Ruijie(config-if-GigabitEthernet 0/0)#vrrp ipv6 1 preempt delay 15
Ruijie(config-if-GigabitEthernet 0/0)#vrrp ipv6 1 priority 200
Related
Commands
Command
Description
vrrp
group
ip
ipaddress
[
secondary
]
Enables the VRRP function and set the IP
address for the virtual device.
vrrp
group
priority
level
Sets the VRRP group priority.
Platform
N/A
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...