Specifications
show access-filter
316
show access-filter
Displays the filter conditions applied on the Ethernet interface or VLAN interface by the
access group commands (
mac access-group and ip access-group), the number of
packets that meet the filter conditions, and the number of packets discarded because they
did not match any filter conditions in the access list.
Syntax
show access-filter [{<IF#> | interface vlan <VLAN ID>}[<ACL ID>]]
show access-filter [interface {gigabitethernet <IF#> | vlan <VLAN ID> }[<ACL ID>]]
[AX2200S]
show access-filter [interface {fastethernet
<IF#>
| gigabitethernet
<IF#>
| vlan
<VLAN
ID>
}[
<ACL ID>
]] [AX1250S] [AX1240S]
Input mode
User mode and administrator mode
Parameters
{<IF#> | interface vlan <VLAN ID>}[<ACL ID>]
interface {gigabitethernet <IF#> | vlan <VLAN ID>}[<ACL ID>] [AX2200S]
interface {fastethernet <IF#> | gigabitethernet <IF#> | vlan <VLAN ID>}[<ACL
ID>
] [AX1250S][AX1240S]
<IF#>
Displays statistics for the specified Ethernet interface. For the specifiable
range of <IF#> values, see Specifiable values for parameters.
interface vlan <VLAN ID>
vlan <VLAN ID>
Displays statistics for the specified VLAN interface.
For <VLAN ID>, specify the VLAN ID set by the
interface vlan command.
<ACL ID>
<ACL ID>:Specifies the ID.
Displays statistics for the specified ID for the specified interface.
Operation when this parameter is omitted:
Displays statistics for all access lists applied to the specified interface.
Operation when all parameters are omitted:
Displays statistics for all interfaces.
Example
Figure 22-1 Result of displaying the extended MAC access list
> show access-filter 0/3 acl-mac
Date 2008/09/19 15:11:57 UTC
Using Port: interface fastethernet 0/3 in
Extended MAC access-list: acl-mac
remark "permit of mac access-list extended"
10 permit host 001b.7888.1ffa any
matched packets : 5
implicitly denied packets : 15
>