DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
690
Parameters
vrid
- specifies the ID of the Virtual Router used.
<vrid 1-255>
- Enter the Virtual Router ID used here. This value must be between 1 and 255.
ipif
- Specifies the IP interface used for this configuration.
<ipif_name 12>
- Enter the IP interface name used here. This name can be up to 12
characters long.
state
- (Optional) Specifies the state of the virtual router function.
enable
- Specifies that the virtual router function will be enabled.
disable
- Specifies that the virtual router function will be disabled.
priority
- (Optional) specifies the priority to be used for the Virtual Router Master election process
<int 1-254>
- Enter the priority value used here. This value must be between 1 and 254.
ipaddress
- (Optional) Specifies the virtual router’s IP address used.
<ipaddr>
- Enter the virtual router's IP address used here.
advertisement_interval
- (Optional) Specifies the time interval used between sending
advertisement messages.
<int 1-255>
- Enter the advertisement interval value here. This value must be between 1 and
255 seconds.
preempt
- (Optional) Controls whether a higher priority virtual router will preempt a lower priority
master. The preempt setting must be consistent with all the routers participating within the
same VRRP group. Default is setting is true.
true
- Specifies that if the backup router’s priority is set higher than the master’s priority, it will
become the master instead of the current one.
false
- Specifies if the backup router’s priority is higher than the master’s priority, it will not
become the master until the master failed.
critical_ip
- (Optional) specifies an IP address that will provide the most direct route to the
Internet or other critical network connections from this virtual router. This IP address 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 automatically be disabled. 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.
<ipaddr>
- Enter the critical interface's IP address used here.
critical_ip_state
- (Optional) Specifies the state of checking the status (active or inactive) of a
critical IP address.
enable
- Specifies that the critical IP state checking will be enabled.
disable
- Specifies that the critical IP state checking will be disabled.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To configure VRRP:
DWS-3160-24PC:admin# config vrrp vrid 1 ipif System state enable
Command: config vrrp vrid 1 ipif System state enable
Success.
DWS-3160-24PC:admin#
79-5
config vrrp ipif
Description
This command is used to configure a virtual router authentication type on an interface.