show ip vrrp

Last Updated : Nov 06, 2012 |

Displays VRRP information for a given VLAN. If no VLAN is specified, information for all VLANs is displayed.

Syntax

show ip vrrp [vlan [router-id vr_id]] [detail]

Parameters

Parameter

Description

Possible Values

Default Value

vlan

Filter by the specified VLAN

1-4095

router_id

Keyword specifying to filter by virtual router ID

vr_id

The virtual router ID

1-255

detail

Keyword specifying to provide detailed information

User level

read-only

Context

general

Example

To show VRRP information for all VLANs:

Gxxx-001(super)# show ip vrrp
VRRP is globally enabled
VLAN  VRID  IP Address     Pri   Timer     State     Since
----- ----- -------------  ----  -------  ---------  -----------
1     1    192.168.66.23  255     1       MASTER     00:00:00
1     2    192.168.66.24  100     1       BACKUP     00:00:00

To show detailed VRRP information for all VLANs:

Gxxx-001(super)# show ip vrrp detail
VRRP is globally enabled
Virtual Router on VLAN:       1
Router-id:       1
State:       MASTER
Priority:                        255
Advertisement Interval:          1
Last State Change:               00:00:00
Override Address Ownership Rule: No
Authentication Type:             None
Authentication Key:       
Master IP Address                192.168.66.23
Has 1 IP addresses
IP addresses:
192.168.66.23
Primary IP Address:              192.168.66.23
Primary IP Address was chosen by default
Preemption Mode:          enabled
# of times Master:                                     2
# of received Advertisements:                          0
# of transmitted Advertisements:                       20
# of received Advertisements with Security Violations: 0
Virtual Router on VLAN:       1
Router-id:                2
State:                    BACKUP
Priority:                 100
Advertisement Interval:   1
Last State Change:        00:00:00
Override Address Ownership Rule: No
Authentication Type:      None
Authentication Key:       
Master IP Address         0.0.0.0
Has 1 IP addresses
IP addresses:
192.168.66.24
Primary IP Address:       192.168.66.23
Primary IP Address was chosen by default
Preemption Mode:          enabled
# of times Master:                                     1
# of received Advertisements:                          0
# of transmitted Advertisements:                       13
# of received Advertisements with Security Violations: 0