instance [interface
interface-name [vrid
virtual-router-id]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When owner, backup defines the IP addresses that are advertised within VRRP advertisement messages.
When non-owner, backup actually creates an IP interface IP address used for routing IP packets and communicating with the system when the access commands are defined (ping-reply, telnet-reply, and ssh-reply).
|
|
|
|
The base-priority value used to derive the in-use priority of the virtual router instance as modified by any optional VRRP priority control policy.
|
|
|
|
|
|
When the VRRP instance is a non-owner and is operating as a backup and the master-int-inherit command is enabled, the master down timer is indirectly derived from the value in the advertisement interval field of the VRRP message received from the current master.
|
|
When the VRRP instance is operating as a backup and the master-int-inherit command is not enabled, the configured advertisement interval is matched against the value in the advertisement interval field of the VRRP message received from the current master. If the two values do not match then the VRRP advertisement is discarded.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*A:ALA-A# show router vrrp instance
===============================================================================
VRRP Instances
===============================================================================
Interface Name VR Id Own Adm State Base Pri Msg Int
IP Opr Pol Id InUse Pri Inh Int
-------------------------------------------------------------------------------
n2 1 No Up Master 100 1
IPv4 Up n/a 100 No
Backup Addr: 5.1.1.10
n2 10 No Up Master 100 1.0
IPv6 Up n/a 100 Yes
Backup Addr: 5::10
FE80::10
-------------------------------------------------------------------------------
Instances : 2
===============================================================================
*A:ALA-A#
*A:ALA-A# show router vrrp instance interface n2 vrid 1
===============================================================================
VRRP Instance 1 for interface "n2"
===============================================================================
Owner : No VRRP State : Master
Primary IP of Master: 5.1.1.2 (Self)
Primary IP : 5.1.1.2 Standby-Forwarding: Disabled
VRRP Backup Addr : 5.1.1.10
Admin State : Up Oper State : Up
Up Time : 09/23/2004 06:53:45 Virt MAC Addr : 00:00:5e:00:01:01
Auth Type : None
Config Mesg Intvl : 1 In-Use Mesg Intvl : 1
Master Inherit Intvl: No
Base Priority : 100 In-Use Priority : 100
Policy ID : n/a Preempt Mode : Yes
Ping Reply : No Telnet Reply : No
SSH Reply : No Traceroute Reply : No
Init Delay : 0 Init Timer Expires: 0.000 sec
Creation State : Active
-------------------------------------------------------------------------------
Master Information
-------------------------------------------------------------------------------
Primary IP of Master: 5.1.1.2 (Self)
Addr List Mismatch : No Master Priority : 100
Master Since : 09/23/2004 06:53:49
-------------------------------------------------------------------------------
Masters Seen (Last 32)
-------------------------------------------------------------------------------
Primary IP of Master Last Seen Addr List Mismatch Msg Count
-------------------------------------------------------------------------------
5.1.1.2 09/23/2004 06:53:49 No 0
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Become Master : 1 Master Changes : 1
Adv Sent : 103 Adv Received : 0
Pri Zero Pkts Sent : 0 Pri Zero Pkts Rcvd: 0
Preempt Events : 0 Preempted Events : 0
Mesg Intvl Discards : 0 Mesg Intvl Errors : 0
Addr List Discards : 0 Addr List Errors : 0
Auth Type Mismatch : 0 Auth Failures : 0
Invalid Auth Type : 0 Invalid Pkt Type : 0
IP TTL Errors : 0 Pkt Length Errors : 0
Total Discards : 0
===============================================================================
*A:ALA-A#
*A:ALA-A# show router vrrp instance interface n2 vrid 1 ipv6
===============================================================================
VRRP Instance 1 for interface "n2"
===============================================================================
No Matching Entries
===============================================================================
*A:ALA-A#
*A:ALA-A# show router vrrp instance interface n2 vrid 10 ipv6
===============================================================================
VRRP Instance 10 for interface "n2"
===============================================================================
Owner : No VRRP State : Master
Primary IP of Master: FE80::1 (Self)
Primary IP : FE80::1
Standby-Forwarding: Disabled
VRRP Backup Addr : 5::10
: FE80::10
Admin State : Up Oper State : Up
Up Time : 09/23/2004 06:55:12 Virt MAC Addr : 00:00:5e:00:02:0a
Config Mesg Intvl : 1.0 In-Use Mesg Intvl : 1.0
Master Inherit Intvl: Yes
Base Priority : 100 In-Use Priority : 100
Policy ID : n/a Preempt Mode : Yes
Ping Reply : No Telnet Reply : No
Traceroute Reply : No
Init Delay : 0 Init Timer Expires: 0.000 sec
Creation State : Active
-------------------------------------------------------------------------------
Master Information
-------------------------------------------------------------------------------
Primary IP of Master: FE80::1 (Self)
Addr List Mismatch : No Master Priority : 100
Master Since : 09/23/2004 06:55:16
=============================================================================
Masters Seen (Last 32)
===============================================================================
Primary IP of Master
Last Seen Addr List Mismatch Msg Count
-------------------------------------------------------------------------------
FE80::1
09/23/2004 06:55:16 No 0
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
Master Transitions : 1 Discontinuity Time: 09/09/2004 01:57*
Adv Sent : 23 Adv Received : 0
Pri Zero Pkts Sent : 0 Pri Zero Pkts Rcvd: 0
Preempt Events : 0 Preempted Events : 0
Mesg Intvl Discards : 0 Mesg Intvl Errors : 0
Total Discards : 0 Addr List Errors : 0
Auth Failures : 0 Invalid Pkt Type : 0
IP TTL Errors : 0 Pkt Length Errors : 0
===============================================================================
* indicates that the corresponding row element may have been truncated.
policy [vrrp-policy-id [event
event-type specific-qualifier]]
Values
|
port-down port-id lag-port-down lag-id host-unreachable host-ip-addr route-unknown route-prefix/mask mc-ipsec-non-forwarding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The priority-level value is subtracted from the associated virtual router instance’s base priority when the event is set and no explicit events are set. The sum of the priority event priority-level values on all set delta priority events are subtracted from the virtual router base priority to derive the virtual router instance in-use priority value.
If the delta priority event is cleared, the priority-level is no longer used in the in-use priority calculation.
|
|
The priority-level value is used to override the base priority of the virtual router instance if the priority event is set and no other explicit priority event is set with a lower priority-level.
The set explicit priority value with the lowest priority-level determines the actual in-use protocol value for all virtual router instances associated with the policy.
|
|
|
A:ALA-A# show vrrp policy
===============================================================================
VRRP Policies
===============================================================================
Policy Current Current Current Delta Applied
Id Priority & Effect Explicit Delta Sum Limit
-------------------------------------------------------------------------------
1 None None None 1 Yes
2 None None None 1 No
===============================================================================
A:ALA-A#
A:ALA-A# show vrrp policy 1
===============================================================================
VRRP Policy 1
===============================================================================
Description : 10.10.200.253 reachability
Current Priority: None Applied : No
Current Explicit: None Current Delta Sum : None
Delta Limit : 1
-------------------------------------------------------------------------------
Applied To VR Opr Base In-use Master Is
Interface Name Id Pri Pri Pri Master
-------------------------------------------------------------------------------
None
-------------------------------------------------------------------------------
Priority Control Events
-------------------------------------------------------------------------------
Event Type & ID Event Oper State Hold Set Priority In
Remaining &Effect Use
-------------------------------------------------------------------------------
Host Unreach 10.10.200.252 n/a Expired 20 Del No
Host Unreach 10.10.200.253 n/a Expired 10 Del No
Route Unknown 10.10.100.0/24 n/a Expired 1 Exp No
===============================================================================
A:ALA-A#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The priority-level value is subtracted from the associated virtual router instance’s base priority when the event is set and no explicit events are set. The sum of the priority event priority-level values on all set delta priority events are subtracted from the virtual router base priority to derive the virtual router instance in-use priority value.
If the delta priority event is cleared, the priority-level is no longer used in the in-use priority calculation.
|
|
The priority-level value is used to override the base priority of the virtual router instance if the priority event is set and no other explicit priority event is set with a lower priority-level.
The set explicit priority value with the lowest priority-level determines the actual in-use protocol value for all virtual router instances associated with the policy.
|
|
|
|
|
|
|
|
|
|
|
A:ALA-A#show vrrp policy 1 event port-down
===============================================================================
VRRP Policy 1, Event Port Down 1/1/1
===============================================================================
Description :
Current Priority: None Applied : Yes
Current Explicit: None Current Delta Sum : None
Delta Limit : 1
-------------------------------------------------------------------------------
Applied To VR Opr Base In-use Master Is
Interface Name Id Pri Pri Pri Master
-------------------------------------------------------------------------------
ies301backup 1 Down 100 100 0 No
-------------------------------------------------------------------------------
Priority Control Event Port Down 1/1/1
-------------------------------------------------------------------------------
Priority : 30 Priority Effect : Delta
Hold Set Config : 0 sec Hold Set Remaining: Expired
Value In Use : No Current State : Cleared
# trans to Set : 6 Previous State : Set-down
Last Transition : 04/13/2007 04:54:35
===============================================================================
A:ALA-A#
A:ALA-A# show vrrp policy 1 event host-unreachable
===============================================================================
VRRP Policy 1, Event Host Unreachable 10.10.200.252
===============================================================================
Description : 10.10.200.253 reachability
Current Priority: None Applied : No
Current Explicit: None Current Delta Sum : None
Delta Limit : 1
-------------------------------------------------------------------------------
Applied To VR Opr Base In-use Master Is
Interface Name Id Pri Pri Pri Master
-------------------------------------------------------------------------------
None
-------------------------------------------------------------------------------
Priority Control Event Host Unreachable 10.10.200.252
-------------------------------------------------------------------------------
Priority : 20 Priority Effect : Delta
Interval : 1 sec Timeout : 1 sec
Drop Count : 3
Hold Set Config : 0 sec Hold Set Remaining: Expired
Value In Use : No Current State : n/a
# trans to Set : 0 Previous State : n/a
Last Transition : 04/13/2007 23:10:24
===============================================================================
A:ALA-A#
A:ALA-A# show vrrp policy 1 event route-unknown
===============================================================================
VRRP Policy 1, Event Route Unknown 10.10.100.0/24
===============================================================================
Description : 10.10.200.253 reachability
Current Priority: None Applied : No
Current Explicit: None Current Delta Sum : None
Delta Limit : 1
-------------------------------------------------------------------------------
Applied To VR Opr Base In-use Master Is
Interface Name Id Pri Pri Pri Master
-------------------------------------------------------------------------------
None
-------------------------------------------------------------------------------
Priority Control Event Route Unknown 10.10.100.0/24
-------------------------------------------------------------------------------
Priority : 1 Priority Effect : Explicit
Less Specific : No Default Allowed : No
Next Hop(s) : None
Protocol(s) : None
Hold Set Config : 0 sec Hold Set Remaining: Expired
Value In Use : No Current State : n/a
# trans to Set : 0 Previous State : n/a
Last Transition : 04/13/2007 23:10:24
===============================================================================
A:ALA-A#
A:ALA-48# show router vrrp statistics
===============================================================================
VRRP Global Statistics
===============================================================================
VR Id Errors : 0 Version Errors : 0
Checksum Errors : 0
===============================================================================
A:ALA-48#
instance interface interface-name vr-id
virtual-router-id [ipv6
] [interval
seconds] [repeat
repeat] [absolute
| rate
]
When the absolute keyword is specified, the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
When the rate keyword is specified, the rate-per-second for each statistic is displayed instead of the delta.
*A:ALA-A# monitor router vrrp instance interface n2 vr-id 1
===============================================================================
Monitor statistics for VRRP Instance 1 on interface "n2"
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Become Master : 1 Master Changes : 1
Adv Sent : 1439 Adv Received : 0
Pri Zero Pkts Sent : 0 Pri Zero Pkts Rcvd: 0
Preempt Events : 0 Preempted Events : 0
Mesg Intvl Discards : 0 Mesg Intvl Errors : 0
Addr List Discards : 0 Addr List Errors : 0
Auth Type Mismatch : 0 Auth Failures : 0
Invalid Auth Type : 0 Invalid Pkt Type : 0
IP TTL Errors : 0 Pkt Length Errors : 0
Total Discards : 0
===============================================================================
*A:ALA-A#
*A:ALA-A# monitor router vrrp instance interface n2 vr-id 10 ipv6
===============================================================================
Monitor statistics for VRRP Instance 10 on interface "n2"
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Master Transitions : 1 Discontinuity Time: 09/09/2004 01:57*
Adv Sent : 1365 Adv Received : 0
Pri Zero Pkts Sent : 0 Pri Zero Pkts Rcvd: 0
Preempt Events : 0 Preempted Events : 0
Mesg Intvl Discards : 0 Mesg Intvl Errors : 0
Total Discards : 0 Addr List Errors : 0
Auth Failures : 0 Invalid Pkt Type : 0
IP TTL Errors : 0 Pkt Length Errors : 0
===============================================================================
*A:ALA-A#
interface ip-int-name [vrid
virtual-router-id]
interface ip-int-name vrid
virtual-router-id ipv6
The no form of the command disables debugging.
The no form of the command disables debugging.