D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
736
create vrrp vrid
Purpose To create a VRRP router on the Switch.
Syntax
create vrrp vrid <vrid 1-255> ipif <ipif_name 12> ipaddress <ipaddr> {state [enable |
disable] | priority <int 1-254> | advertisement_interval <int 1-255> | preempt [true |
false] | critical_ip <ipaddr> | critical_ip_state [enable | disable]}
Description This command is used to create a VRRP interface on the Switch.
Parameters
vrid <vrid 1-255>Enter a value between 1 and 255 to uniquely identify this VRRP group on
the Switch. 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 for which to
create a VRRP entry. This IP interface must be assigned to a VLAN on the Switch.
ipaddress <ipaddr>Enter the IP address that will be assigned to the VRRP router. This IP
address is also the default gateway that will be statically assigned to end hosts and must be
set for all routers that participate in this group.
state [enable | disable]Used to enable and disable the VRRP router on the Switch.
priority <int 1-254> Enter a value between 1 and 254 to indicate the router priority. The
VRRP Priority value may determine if a higher priority VRRP router overrides a lower priority
VRRP router. A higher priority will increase the probability that this router will become the
Master router of the group. A lower priority will increase the probability that this router will
become the backup router. VRRP routers that are assigned the same priority value will elect
the highest physical IP address as the Master router. The default value is 100. (The value of
255 is reserved for the router that owns the IP address associated with the virtual router and
is therefore set automatically.)
advertisement_interval <int 1-255>Enter a time interval value, in seconds, for sending
VRRP message packets. This value must be consistent with all routers participating within
the same VRRP group. The default is 1 second.
preempt [true | false] This entry will determine the behavior of backup routers within the
VRRP group by controlling whether a higher priority backup router will preempt a lower
priority Master router. A true entry, along with having the backup router’s priority set higher
than the masters priority, will set the backup router as the 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 and Operator-level users can issue this command.
Example usage:
To create a VRRP entry:
DGS-3627:admin# create vrrp vrid 1 ipif Tiberius 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 Tiberius 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-3627:admin#