Command Modes
Class-map configuration mode
Command History
ModificationRelease
This command was introduced.Release 4.2.0
The command was modified to add new keyword, service-name.Release 5.2.2
Usage Guidelines
Use the class-map type control subscriber command to enter class-map configuration mode.
These are the usage guidelines for match service-name:
•
It works only for service activations through CoA. For services defined in dynamic-template and activated
by action in policy-maps, the service-activate event is not enabled, and a class map with match
service-name is not useful in that case.
•
It does not work in multi-action CoA (MA-CoA) where multiple services are enabled by a single CoA
request.
•
The order of configuration must be such that, the match service-name is configured in a class-map and
then the class-map is linked in the policy-map. The class-map must ideally be placed to match during a
service-start or service-stop event, where the service being started or stopped matches to the service
names configured in the class-map. With other events, the class-map with match service-name is irrelevant.
Task ID
OperationTask ID
read, writeqos
Examples
This is an example of configuring the class-map type control subscriber command in the class-map
configuration mode:
RP/0/RSP0/CPU0:router(config)# class-map type control subscriber CL1
RP/0/RSP0/CPU0:router(config-pmap)# match authen-status authenticated
RP/0/RSP0/CPU0:router(config-pmap-e)# match domain d1 format f1
RP/0/RSP0/CPU0:router(config-cmap-c)# match protocol ppp
RP/0/RSP0/CPU0:router(config-cmap-c)# match source-address ipv4 1.3.4.5 12.334.55.2
RP/0/RSP0/CPU0:router(config-cmap-c)# match timer time1
This is an example of configuring the service-name matching in the class-map (type subscriber) configuration
mode:
RP/0/RSP0/CPU0:router(config)# class-map type control subscriber match-any match-svc
RP/0/RSP0/CPU0:router(config-cmap)# match service-name idle-to
RP/0/RSP0/CPU0:router(config-cmap)# match service-name regexp id*
RP/0/RSP0/CPU0:router(config-cmap)# match service-name regexp .*
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference,
Release 5.2.x
128
Control Policy Commands
match (class-map)