27-8
Cisco ASR 1000 Series Aggregation Services Routers SIP and SPA Software Configuration Guide
OL-14127-08
Chapter 27 Classifying and Scheduling Packets for ASR 1000 Series
Information About Ingress Classification
Defining the L3 Classification Template
To classify high-priority packets such as IPv4, IPv6, or MPLS in either a SIP or SPA, the classification
template is defined using the ingress-class map index command. The classification rules are defined
inside the template, and the template is attached to an interface using the plim qos input class-map
index-id command.
SUMMARY STEPS
1. enable
2. configure terminal
3. ingress-class-map {index-id}
4. interface {POS | Serial} interface-path-id
5. plim qos input class-map index-id
DETAILED STEPS
Classifying IPv4 Packets
To configure and verify IPv4 packets as either high or low based on either the DSCP value or precedence
value, execute the following set of commands in the Configuration ingress class map mode:
Command or Action Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode. Enter your password when
prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters the global configuration mode.
Step 3
ingress-class-map index-id
Example:
Router(config)# ingress-class-map 1
Creates a classification template for L3 classification for
POS, channelized, and clear-channel SPAs.
Step 4
interface {POS | Serial} interface-path-id
Example:
Router(config)# interface POS 0/2/0
Enters the interface configuation mode and specifies the
POS or Serial interface name with the notation
slot/sub-slot/interface-id. Possible interface types for this
procedure are:
• POS
• Serial
Note The example indicates a 0 port in the POS SPA
adapter at sub-slot 2 in the SIP at slot 0.
Step 5
plim qos input class-map index-id
Example:
Router(config-if)# plim qos input class-map 1
Attaches the ingress classification class-map template with
the specified index-id to the POS or Serial interface.