5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1194
(Config-arp-access-list)#permit ip host 2.1.1.2 mac host 00:03:04:05:06:08
(Config-arp-access-list)#remark “test4”
(Config-arp-access-list)#remark “test5”
(Config-arp-access-list)#permit: ip host 2.1.1.3 mac host 00:03:04:05:06:01
12-71 show mac access-lists
This command displays summawy information for all Mac Access lists and ACL rule hit count of packets
matching the configured ACL rule within an ACL. This counter value rolls-over on reaching the maximum
value. There is a dedicated counter for each ACL rule. ACL counters do not interact with PBR counters.
For ACL with multiple rules, once a match occurs at any one specific rule, counters associated with this
rule only get incremented (for example, consider an ACL with three rules, after matching rule two,
counters for rule three would not be incremented).
For ACL counters, If an ACL rule is configured without RATE-LIMIT, the counter value is count of
fonlvarded/discarded packets. (For example: For a burst of 100 packets, the Counter value is 100).
If the ACL rule is configured with RATE LIMIT, the counter value is the MATCHED packet count. If the
sent traffic rate exceeds the configured limit, the counters still display matched packet count (despite
getting dropped beyond the configured limit since match criteria is met) which would equal the sent rate.
For example, if rate limit is set to 10 kbps and ‘matching’ traffic is sent at 100 kbps, counters reflect a 100
kbps value. If the sent traffic rate is less than the configured limit, counters display only the matched
packet count. Either way, only the matched packet count is reflected in the counters, irrespective of
whether they get dropped or forwarded. ACL counters do not interact with diffserv policies.
Use the access list name to display detailed information of a specific MAC ACL.
Note:
The command output varies based on the match criteria configured within the rules of an ACL.
show mac access-lists [name]
Parameters
name
(Optional) Enter access-list name up to 31 characters in length.
Default
The default is None.
Command Mode
Privileged EXEC
Example
The following shows example CLI display output for the command.
(Routing)#show mac access-lists mac1
ACL Name: mac1
Outbound Interface(s): control-plane
Sequence Number: 10
Action........................................... permit
Содержание 5000 Series
Страница 1: ...Draft 1 2 1 ...
Страница 141: ...5000 Series Layer 2 3 Managed Data Center Switch CLI Reference Guide 135 ...