clear counters
listener-policy
Clears the counters of the specified or
all configured listener-policies.
Syntax
clear counters
listener-policy
[
POLICY_NAME
|
all
]
clear
counters ip
access-list
[
ACL_NAME
|
all
]
listener-policy
[
POLICY_NAME
|
all
]
clear
counters ipv6
access-list
[
ACL_NAME
|
all
]
listener-policy
[
POLICY_NAME
|
all
]
clear
counters mac
access-list
[
ACL_NAME
|
all
]
listener-policy
[
POLICY_NAME
|
all
]
Parameters
- ACL_NAME
- Specifies the name of the access-list.
- POLICY_NAME
- Specifies the name of the listener policy.
- all
- Specifies counters information for all
access-lists or listener policies.
- ip
- Specifies the IPv4
access-list.
- ipv6
- Specifies the IPv6
access-list.
- mac
- Specifies the MAC
access-list.
Examples
The following example clears counters for listener-policies.
device# clear counters listener-policy lp1
device# clear counters listener-policy lp1 ipv6 access-list all
device# clear counters listener-policy lp1 mac access-list macAcl
device# clear counters mac access-list l2-acl listener-policy lp1