The debugging vrrp command enables all debugging functions of VRRP and outputs debugging information.
The undo debugging vrrp command disables all debugging functions of VRRP.
By default, VRRP debugging functions are disabled.
debugging vrrp event
debugging vrrp packet [ interface { interfaceName | ifType ifNum } [ vrid vrid-Value ] ]
debugging vrrp state [ interface { interfaceName | ifType ifNum } [ vrid vrid-Value ] ]
debugging vrrp timer [ interface { interfaceName | ifType ifNum } [ vrid vrid-Value ] ]
debugging vrrp trace [ interface { interfaceName | ifType ifNum } [ vrid vrid-Value ] ]
undo debugging vrrp event
undo debugging vrrp packet [ interface { interfaceName | ifType ifNum } [ vrid vrid-Value ] ]
undo debugging vrrp state [ interface { interfaceName | ifType ifNum } [ vrid vrid-Value ] ]
undo debugging vrrp timer [ interface { interfaceName | ifType ifNum } [ vrid vrid-Value ] ]
undo debugging vrrp all
undo debugging vrrp trace [ interface { interfaceName | ifType ifNum } [ vrid vrid-Value ] ]
Parameter | Description | Value |
---|---|---|
packet |
Enables the VRRP packet debugging function. |
- |
interface ifType ifNum |
Specifies the type and number of an interface on which a VRRP group is configured. |
- |
interface interfaceName |
Specifies an interface on which a VRRP group is configured. |
- |
vrid vrid-Value |
Specifies the ID of a VRRP group. |
The value is an integer ranging from 1 to 255. |
state |
Enables the VRRP status debugging function. |
- |
timer |
Enables the VRRP timer debugging function. |
- |
trace |
Enables the VRRP trace debugging function. |
- |
event |
Enables debugging of information about interaction between the VRRP module and external modules. |
- |
all |
Disables all VRRP debugging functions. |
- |
Usage Scenario
<HUAWEI> debugging vrrp event
Apr 10 2015 04:12:05.924+02:00 DST HUAWEI %%01VRRP/7/VRRP_DEBUG_ID_NOTIFY(d):CID=0x80b00419; VRRP(ifIndex:7, vrId:1, Ip:1.1.1.11) Notify ARP to send gratuitous arp packets due to LBRG-MEMBER VRRP delete event. OccurTime: 2015-04-10 04:12:05.924.
<HUAWEI> debugging vrrp packet
May 15 2014 06:20:19.226 VRPV8 %%01vrrp/7/VRRP_DEBUG_ID_PACKET(d):VR=0-CID=2149918550; IfIndex: 5 | Virtual Router 1 : sending from 1.1.1.1, version = 2, priority = 100, timer = 1000, auth type is no. OccurTime: May 15 2014 06:20:19.226.