16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
show mls masks
225
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
show mls masks
To display the details of the Access Control Parameters (ACPs) used for quality of service (QoS) and
security access control lists (ACLs), use the show mls masks command in privileged EXEC mode.
show mls masks [qos | security]
Syntax Description
Note
ACPs are called masks in the command-line interface (CLI) commands and output.
Command Modes
Privileged EXEC
Command History
Usage Guidelines
Use the show mls mask command without keywords to display all ACPs configured on the switch.
Use this command with the qos keyword to display the ACPs used for QoS ACLs.
Use this command with the security keyword to display the ACPs used for security ACLs.
Note
You can configure up to four ACPs (QoS and security) on a switch.
Examples
The following is sample output from the show mls masks command:
Switch#
show mls masks
Mask1
Type : qos
Fields : ip-sa(0.0.0.255), ip-da(host), dest-port
Policymap: pmap1
Interfaces: Fa0/9, Gi0/1
Policymap: pmap2
Interfaces: Fa0/1, Fa0/5, Fa0/13
In this example, Mask 1 is a QoS ACP consisting an IP source address (with wildcard bits 0.0.0.255), an
IP destination address, and Layer 4 destination port fields. This ACP is used by the QoS policy maps
pmap1 and pmap2.
qos
(Optional) Displays ACPs used for QoS ACLs.
security
(Optional) Displays ACPs used for security ACLs.
Release
Modification
12.1(6)EA2
This command was introduced.
12.2(15)ZJ
This command was implemented on the following platforms: Cisco 2600
series, Cisco 3600 series, and Cisco 3700 series routers.