The debugging acl command enables ACL debugging for quickly locating faults.
The undo debugging acl command disables ACL debugging.
By default, the debugging of ACL matching processing is disabled.
debugging acl match-info number numberIntf [ max-count dbg-cnt ]
debugging acl match-info number numberMpls [ max-count dbg-cnt ]
debugging acl match-info number numberLink [ max-count dbg-cnt ]
debugging acl match-info number numberAdv [ max-count dbg-cnt ]
debugging acl match-info number numberBasic [ max-count dbg-cnt ]
debugging acl match-info name acl-name [ max-count dbg-cnt ]
undo debugging acl match-info number numberIntf
undo debugging acl match-info number numberMpls
undo debugging acl match-info number numberLink
undo debugging acl match-info number numberAdv
undo debugging acl match-info number numberBasic
undo debugging acl match-info name acl-name
Parameter | Description | Value |
---|---|---|
max-count dbg-cnt |
Specifies the maximum number of debugging information outputs. |
The value is an integer ranging from 0 to 4294967295. |
match-info |
Debugs matching information about an ACL. |
- |
number numberBasic |
Debugs the ACL with the specified number. |
The value is an integer ranging from 2000 to 2999. |
number numberIntf |
Debugs the ACL with the specified number. |
The value is an integer ranging from 1000 to 1999. |
number numberAdv |
Debugs the ACL with the specified number. |
The value is an integer ranging from 3000 to 3999. |
number numberLink |
Debugs the ACL with the specified number. |
The value is an integer ranging from 4000 to 4999. |
number numberMpls |
Debugs the ACL with the specified number. |
The value is an integer ranging from 10000 to 10999. |
name acl-name |
Specifies the name of a named ACL for which debugging is to be enabled. |
The value is a string of 1 to 64 case-sensitive characters, spaces not supported. The name must start with a letter or digit, and cannot contain only digits. |
<HUAWEI> debugging acl match-info number 2000
Jun 25 2012 04:54:29.364 HUAWEI %%01ACL/7/DEBUG(d):CID=0x80782754;[LDM match info:SrcIP(a7508a0a).]
Jun 25 2012 04:54:29.364 HUAWEI %%01ACL/7/DEBUG(d):CID=0x80782754;[LDM match rule:RuleID=5, Priority=5, Status=Active, ConditionNum=2, Result=ACL_DENY.]
Jun 25 2012 04:54:29.364 HUAWEI %%01ACL/7/DEBUG(d):CID=0x80782754;[LDM match result:uiRet=ACL_DENY, ruleID=5, groupId=1, vsid=0, VpnIndex=0.]
Item | Description |
---|---|
Jun 25 2012 04:54:29 | Time when a debugging record is output. |