Command Reference VRRP Commands
4.8 vrrp ip
Use this command to enable VRRP on the interface and specify the related virtual IP address.
Use the
no
form of this command to restore the default setting.
vrrp
group
ip
ipaddress
[
secondary
]
no vrrp
group
ip
ipaddress
[
secondary
]
Parameter
Description
Parameter
Description
group
VRRP group number of the virtual device
ipaddress
IP address of the virtual device
secondary
Specifies the secondary IP address of the virtual device.
Defaults
This function is disabled by default.
Command
Mode
Interface configuration mode
Usage Guide
If the
secondary
parameter is not used, the IP address set here will become the master IP address of
the virtual device.
Configuration
Examples
The following example enables the VRRP function on Ethernet interface 0. The VRRP group number
is 1, primary IP address of the virtual device is 10.0.1.20 and secondary IP address is 10.0.2.20.
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)#ip address 10.0.2.1 255.255.255.0
secondary
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 ip 10.0.1.20
Ruijie(config-if-GigabitEthernet 0/0)#vrrp 1 ip 10.0.2.20 secondary
Related
Commands
Command
Description
show vrrp
[
brief
|
group
]
Displays the VRRP configuration.
Platform
Description
N/A
4.9 vrrp ipv6
Use this command to enable IPv6 VRRP on the interface and specify the related virtual IPv6 address.
Use the
no
form of the command to restore the default setting.
vrrp
group
ipv6
ipv6-address
no vrrp
group
ip
ipv6-address
Содержание 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...