- Preface
- Using the WAAS Command-Line Interface
- Cisco WAAS Software Command Summary
- CLI Commands
- EXEC Mode Commands
- Global Configuration Mode Commands
- Interface Configuration Mode Commands
- Standard ACL Configuration Mode Commands
- Extended ACL Configuration Mode Commands
- PKI Certificate Authority Configuration Mode Commands
- PKI Global Settings Configuration Mode Commands
- SSL Accelerated Service Configuration Mode Commands
- SSL Cipher List Configuration Mode Commands
- SSL Global Service Configuration Mode Commands
- SSL Host Peering Service Configuration Mode Commands
- SSL Management Service Configuration Mode Commands
- WCCP Configuration Mode Commands
- Class Map Configuration Mode Commands
- Policy Map Configuration Mode Commands
- Policy Map Class Configuration Mode Commands
- Acronyms and Abbreviations
- Command Summary by Mode
Class Map Configuration Mode Commands
To configure an optimization class map, use the class-map global configuration command. To unconfigure settings, use the no form of this command.
class-map type { waas } [ match-all | match-any ] classmap-name [ rename new-name ]
no class-map type { waas } [ match-all | match-any ] classmap-name
Syntax Description
Command Modes
Device Modes
Usage Guidelines
Use the class-map command to add or modify class maps and match conditions to identify specific types of traffic for use in policies. This command invokes the Class Map configuration mode, which is indicated by a different prompt (config-cmap). To return to global configuration mode, enter the exit command.
You can delete a class map by using the no form of this command. You cannot delete a class map if any policies are using it.
When creating a new class map, you must add at least one condition. If any of the conditions specified match an already existing condition in the class-map, no action is taken.
Note You cannot have more than 512 different class maps and 1024 total match conditions.
The WAAS software comes with many class maps and policy rules that help your WAAS system classify and optimize some of the most common traffic on your network. Before you create a new class map or policy rule, we recommend that you review the default class map and policy rules and modify them as appropriate. It is usually easier to modify an existing class map or policy rule than to create a new one. For a list of the default applications, class maps, and policy rules, see the Cisco Wide Area Application Services Configuration Guide.
Note We strongly recommend that you use the WAAS Central Manager GUI to centrally configure class maps for your WAAS devices. For more information, see the Cisco Wide Area Application Services Configuration Guide.
Examples
The following example shows how to configure a WAAS optimization class map:
Related Commands
(config-cmap) description
To configure the class map description, use the description class map configuration command. To unconfigure the description, use the no form of this command.
Syntax Description
Specifies a description of the class map with up to 200 alphanumeric and space characters. |
Defaults
Command Modes
Device Modes
Examples
The following example shows how to configure a class map description:
Related Commands
(config-cmap) match protocol
To configure a match condition based on layer 7 protocol for the class map, use the match protocol class map configuration command. To unconfigure a match condition, use the no form of this command. The options for this command differ depending on what type of class map you are configuring.
For a WAAS optimization class map:
match protocol { epm-uuid uuid | mapi | ms-ad-rep | ms-exch-nspi | ms-frs | ms-frs-api | ms-rfr | ms-sql | msn-messenger | netlogon } [ tcp source [ ip ip_address [ wildcard_mask ]] [ port begin [ end ]]
no match protocol { epm-uuid uuid | mapi | ms-ad-rep | ms-exch-nspi | ms-frs | ms-frs-api | ms-rfr | ms-sql | msn-messenger | netlogon } [ tcp source [ ip ip_address [ wildcard_mask ]] [ port begin [ end ]]
Syntax Description
Defaults
Command Modes
Device Modes
Examples
The following example shows how to configure a protocol match condition for a class map:
Related Commands
(config-cmap) match tcp
To configure a match condition based on source and/or destination IP address and port for the class map, use the match tcp class map configuration command. To unconfigure a match condition, use the no form of this command. The options for this command differ depending on what type of class map you are configuring.
For a WAAS optimization class map:
match tcp { any |
destination [ ip ip_address [ wildcard_mask ]] [ port begin [ end ]] [ source ip ip_address [ wildcard_mask ] [ port begin [ end ]] |
source [ ip ip_address [ wildcard_mask ]] [ port begin [ end ]] [ destination ip ip_address [ wildcard_mask ] [ port begin [ end ]] [ protocol { epm-uuid uuid | mapi | ms-ad-rep | ms-exch-nspi | ms-frs | ms-frs-api | ms-rfr | ms-sql | msn-messenger | netlogon }]}
no match tcp { any |
destination [ ip ip_address [ wildcard_mask ]] [ port begin [ end ]] [ source ip ip_address [ wildcard_mask ] [ port begin [ end ]] |
source [ ip ip_address [ wildcard_mask ]] [ port begin [ end ]] [ destination ip ip_address [ wildcard_mask ] [ port begin [ end ]] [ protocol { epm-uuid uuid | mapi | ms-ad-rep | ms-exch-nspi | ms-frs | ms-frs-api | ms-rfr | ms-sql | msn-messenger | netlogon }]}
Syntax Description
Defaults
Command Modes
Device Modes
Examples
The following example shows how to configure a TCP match condition for a class map: