T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
346
vrrp vrid virtual-ip
Description
This
command is used to add a virtual IP for the virtual router. Up to 5 IP
addresses can be configured to a virtual router. To delete the corresponding
virtual IP, please use
no vrrp vrid virtual-ip
command.
Syntax
vrrp vrid
vrid
virtual-ip
virtual-ip
no vrrp vrid
vrid
virtual-ip
virtual-ip
Parameter
vrid
—— The virtual router ID.
virtual-ip
—— The IP address configured to the virtual router, which must be in
the same subnet with the interface.
Command Mode
Interface Configuration Mode
Example
Add an IP address as 192.168.0.7 for vrid 4 on interface VLAN 3:
T2700G-28TQ(config)#interface vlan
3
T2700G-28TQ(config-if)#vrrp vrid
4
virtual-ip
192.168.0.7
vrrp vrid description
Description
This command is used to configure or modify the description for the virtual
router.
Syntax
vrrp vrid
vrid
description
description
Parameter
vrid
—— The virtual router ID.
description
——String to describe the virtual router, which contains 8 characters
at most, composing digits, English letters and under dashes only.