xStack DES-6500 Modular Layer 3 Chassis Ethernet Switch CLI Manual

31

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-level users can issue this command.

 

 

261

Page 264
Image 264
D-Link TM DES-6500 manual Vrrp Commands, Enable vrrp ping