Page 736 / 757 Scroll up to view Page 731 - 735
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
732
debug vrrp log state
Purpose
Used to enable or disable the VRRP debug log state.
Syntax
debug vrrp log state [enable | disable]
Description
This command is used to enable or disable the VRRP debug log state.
Parameters
state
- The state of the VRRP log. The default setting is disabled.
enable
- Enable the VRRP log state.
disable
- Disable the VRRP log state.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To enable the VRRP debug log state:
DGS-3627:admin# debug vrrp log state enable
Command: debug vrrp log state enable
Success.
DGS-3627:admin#
debug vrrp show log state
Purpose
Used to display the VRRP debug log state.
Syntax
debug vrrp show log state
Description
The command is used to display the VRRP debug log state.
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To display the VRRP debug log state:
DGS-3627:admin# debug vrrp show log state
Command: debug vrrp show log state
VRRP Debug Log State: Disabled
DGS-3627:admin#
debug vrrp state
Purpose
Used to enable or disable the VRRP debug state.
Syntax
debug vrrp state [enable | disable]
Description
The command is used to enable or disable the VRRP debug state.
Parameters
state
- The state of the VRRP debug state. The default setting is disabled.
enable
- Enable the VRRP debug state.
disable
- Disable the VRRP debug state.
Restrictions
Only Administrator level users can issue this command.
Page 737 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
733
Example usage:
To enable the VRRP debug state:
DGS-3627:admin# debug vrrp state enable
Command: debug vrrp state enable
Success.
DGS-3627:admin#
Page 738 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
734
105
VRRP COMMANDS
VRRP or Virtual Routing Redundancy Protocol is a function on the Switch that dynamically assigns responsibility for a
virtual router to one of the VRRP routers on a LAN. The VRRP router that controls the IP address associated with a
virtual router is called the Master, and will forward packets sent to this IP address. This will allow any Virtual Router IP
address on the LAN to be used as the default first hop router by end hosts. Utilizing VRRP, the administrator can achieve
a higher available default path cost without needing to configure every end host for dynamic routing or routing discovery
protocols.
Statically configured default routes on the LAN are prone to a single point of failure. VRRP is designed to eliminate these
failures by setting an election protocol that will assign a responsibility for a virtual router to one of the VRRP routers on
the LAN. When a virtual router fails, the election protocol will select a virtual router with the highest priority to be the
Master router on the LAN. This retains the link and the connection is kept alive, regardless of the point of failure.
To configure VRRP for virtual routers on the Switch, an IP interface must be present on the system and it must be a part
of a VLAN. VRRP IP interfaces may be assigned to every VLAN, and therefore IP interface, on the Switch. VRRP routers
within the same VRRP group must be consistent in configuration settings for this protocol to function optimally.
The VRRP commands in the Command Line Interface (CLI) are listed, along with the appropriate parameters, in the
following table.
Command
Parameters
enable vrrp
{ping}
disable vrrp
{ping}
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]}
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]}
config vrrp ipif
<ipif_name 12> [authtype [none | simple authdata <string 8> | ip authdata
<string 16>]]
show vrrp
{ipif <ipif_name 12> {vrid <vrid 1-255>}}
delete vrrp
{vrid <vrid 1-255> ipif <ipif_name 12>}
Each command is listed, in detail, in the following sections.
enable vrrp
Purpose
To enable the VRRP function on the Switch.
Syntax
enable vrrp {ping}
Description
This command will enable the VRRP function on the Switch.
Parameters
{ping}
– Adding this parameter to the command will allow the virtual IP address to be pinged
from other host end nodes to verify connectivity. This will only enable the ping connectivity
check function. To enable the VRRP protocol on the Switch, omit this parameter. This
command is disabled by default.
Restrictions
Only Administrator and Operator-level users can issue this command.
Page 739 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
735
Example Usage:
To enable VRRP globally on the Switch:
DGS-3627:admin# enable vrrp
Command: enable vrrp
Success.
DGS-3627:admin#
Example usage:
To enable the virtual IP address to be pinged:
DGS-3627:admin# enable vrrp ping
Command: enable vrrp ping
Success.
DGS-3627:admin#
disable vrrp
Purpose
To disable the VRRP function on the Switch.
Syntax
disable vrrp {ping}
Description
This command will disable the VRRP function on the Switch.
Parameters
{ping}
– Adding this parameter to the command will stop the virtual IP address from being
pinged from other host end nodes to verify connectivity. This will only disable the ping
connectivity check function. To disable the VRRP protocol on the Switch, omit this
parameter.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the VRRP function globally on the Switch:
DGS-3627:admin# disable vrrp
Command: disable vrrp
Success.
DGS-3627:admin#
Example usage:
To disable the virtual IP address from being pinged:
DGS-3627:admin# disable vrrp ping
Command: disable vrrp ping
Success.
DGS-3627:admin#
Page 740 / 757
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#

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top