xStack Gigabit Layer 3 Switch Command Line Interface Manual
create vrrp vrid
Master router. A false entry will disable the backup router from
becoming the Master router. This setting must be consistent with all
routers participating within the same VRRP group. The default
setting is true.
critical_ip <ipaddr>
- Enter the IP address of the physical device that
will provide the most direct route to the Internet or other critical
network connections from this virtual router. This must be a real IP
address of a real device on the network. If the connection from the
virtual router to this IP address fails, the virtual router will be disabled
automatically. A new master will be elected from the backup routers
participating in the VRRP group. Different critical IP addresses may
be assigned to different routers participating in the VRRP group, and
can therefore define multiple routes to the Internet or other critical
network connections.
critical_ip_state [enable | disable]
- This parameter is used to enable
or disable the critical IP address entered above. The default is
disable.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To create a VRRP entry:
DGS-3324SRi:4#create vrrp vrid 1 ipif Darren ipaddress 11.1.1.1 state
enable priority 200 advertisement_interval 1 preempt true critical_ip
10.53.13.224 critical_ip_state enable
Command: create vrrp vrid 1 ipif Darren ipaddress 11.1.1.1 state enable
priority 200 advertisement_interval 1 preempt true critical_ip 10.53.13.224
critical_ip_state enable
Success.
DGS-3324SRi:4#
config vrrp vrid
Purpose
To configure a VRRP router set on the Switch.
config vrrp vrid <vrid 1-255> ipif <ipif_name 12> {state [enable |
disable] | priority <int 1-254> | ipaddress <ipaddr> |
advertisement_interval <int 1-255> | preempt [true | false] |
critical_ip <ipaddr> | critical_ip_state [enable | disable]}
Description
This command is used to configure a previously created VRRP
interface on the Switch.
Parameters
vrid <vrid 1-255>
- Enter a value between 1 and 255 that uniquely
identifies the VRRP group to configure. All routers participating in
this group must be assigned the same
vrid
value. This value MUST
be different from other VRRP groups set on the Switch.
ipif <ipif_name 12>
- Enter the name of a previously configured IP
interface to configure a VRRP entry for. This IP interface must be
assigned to a VLAN on the Switch.
Syntax
268