beautypg.com

Displaying vrrp and vrrp-e information – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 618

background image

To change the Master priority, enter commands such as the following.

device(config)# interface ethernet 1/6

device(config-if-1/6)# ip vrrp vrid 1

device(config-if-1/6-vrid-1)# owner priority 99

Syntax: [no] owner priority num

The num variable specifies the new priority and can be a number from 1 through 254.

When the command is enabled, the software changes the priority of the Master to the specified
priority. If the new priority is lower than at least one Backup priority for the same VRID, the Backup
router takes over and becomes the new Master until the next software reload or system reset.

To verify the change, enter the following command from any level of the CLI.

device#show ip vrrp

Total number of VRRP routers defined: 1

Interface ethernet v3

auth-type simple text password

VRID 3

state backup

administrative-status enabled

version v3

mode non-owner(backup)

priority 110

current priority 110

hello-interval 1000 msec

dead-interval 0 msec

current dead-interval 3500 msec

preempt-mode true

ip-address 172.21.3.1

virtual mac address 0000-5E00-0103

advertise backup: enabled

next hello sent in 00:00:26.1

master router 172.21.3.1 expires in 00:00:02.7

track-port 4/1-4/4(up)

This example shows that even though this Layer 3 switch is the Owner of the VRID ("mode owner"),
the Layer 3 switch priority for the VRID is 110 and the state is now "backup" instead of "active". In
addition, the administrative status is "enabled".

To change the Master priority back to the default Owner priority 255, enter no followed by the
command you entered to change the priority. For example, to change the priority of a VRRP Owner
back to 255 from 110, enter the following command.

device(config-if-1/6-vrid-1)#no owner priority 110

You cannot set the priority to 255 using the owner priority command.

Displaying VRRP and VRRP-E information

You can display the following information for VRRP or VRRP-E:

• Summary configuration and status information
• Detailed configuration and status information
• VRRP and VRRP-E statistics

Syntax for IPv4 and IPv6 VRRP:

Syntax: show ip vrrp [ brief | [ stat | [ statistics ] [ vrid num ] ] [ ethernet stack/slotnum/portnum | ve
num ] ]

Displaying VRRP and VRRP-E information

618

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04