EasyManuals Logo

Cisco CRS Command Reference Guide

Cisco CRS
154 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #43 background imageLoading...
Page #43 background image
The match cos command is not supported on an output service policy attached to a Layer 3 interface (POS
interface or routed VLAN subinterface).
The match cos command is supported on egress Layer 2 interfaces, Layer 2 subinterfaces, and Layer 3
physical interfaces. Layer 3 physical interfaces are supported, because it is possible for a Layer 3 interface to
have underlying Layer 2 subinterfaces.
The match cos inner command is supported on:
Ingress and egress
Layer 2 main interfaces and subinterfaces
Layer 3 main interfaces
The match cos inner command is not supported on Layer 3 subinterfaces or on bundles.
Task ID
OperationsTask ID
read, writeqos
Examples
The following example shows how to configure the service policy called policy1 and attach service policy
policy1 to an interface. In this example, class map cos146 evaluates all packets entering Packet-over-SONET
(POS) interface 0/1/0/0 .100 for class of service values of 1, 4, or 6. If the incoming packet has been marked
with any of these CoS values, the packet is queued to the class queue with the bandwidth setting of 300 kbps.
RP/0/RP0/CPU0:router(config)# class-map cos146
RP/0/RP0/CPU0:router(config-cmap)# match cos 1 4 6
RP/0/RP0/CPU0:router(config-cmap)# exit
RP/0/RP0/CPU0:router(config)# policy-map policy1
RP/0/RP0/CPU0:router(config-pmap)# class cos146
RP/0/RP0/CPU0:router(config-pmap-c)# bandwidth 300
RP/0/RP0/CPU0:router(config-pmap-c)# exit
RP/0/RP0/CPU0:router(config-pmap)# exit
RP/0/RP0/CPU0:router(config)# interface
pos 0/1/0/0
RP/0/RP0/CPU0:router(config-if)# service-policy
input
policy1
In this example, traffic with an outer VLAN ID of 2 and an inner VLAN ID of 3 enters the QinQ attachment
circuit (AC). If traffic has a CoS value of 1, 3, or 5 based on the inner VLAN tag, it matches class ic.
RP/0/RP0/CPU0:router(config)#policy-map p2
RP/0/RP0/CPU0:router(config-pmap)#class ic
RP/0/RP0/CPU0:router(config-pmap-c)#police rate percent 30
RP/0/RP0/CPU0:router(config-pmap-c-police)#bandwidth remaining percent 40
RP/0/RP0/CPU0:router(config-pmap-c)#class class-default
RP/0/RP0/CPU0:router(config-pmap-c)#end-policy-map
RP/0/RP0/CPU0:router(config)#
RP/0/RP0/CPU0:router(config)#class-map match-any ic
RP/0/RP0/CPU0:router(config-cmap)#match cos inner 1 3 5
RP/0/RP0/CPU0:router(config-cmap)#end-class-map
RP/0/RP0/CPU0:router(config)#
RP/0/RP0/CPU0:router(config)#interface gigabitethernet 0/6/5/0.2 l2transport
Cisco IOS XR Modular Quality of Service Command Reference for the Cisco CRS Router, Release 4.0
OL-23235-03 37
Quality of Service Commands on the Cisco IOS XR Software
match cos

Other manuals for Cisco CRS

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco CRS and is the answer not in the manual?

Cisco CRS Specifications

General IconGeneral
Operating SystemCisco IOS XR
Product TypeCore Router
Form FactorModular Chassis
DimensionsVaries by chassis type
WeightVaries by chassis type
ArchitectureDistributed
Switch FabricMulti-stage
Interface SupportEthernet, SONET/SDH, OTN
Interfaces/PortsVaries by line card
Port DensityVaries by line card
Routing ProtocolBGP, IS-IS, OSPF, MPLS
ManagementCLI, SNMP
Power SupplyRedundant, hot-swappable
CoolingRedundant, Hot-swappable Fan Trays
Supported ProtocolsIPv4, IPv6, MPLS
Management InterfacesEthernet, console
Security FeaturesACLs

Related product manuals