EasyManuals Logo

Cisco NCS 5500 Series Command Reference

Cisco NCS 5500 Series
84 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 #79 background imageLoading...
Page #79 background image
service-policy (interface)
To attach a policy map to an input interface or output interface to be used as the service policy for that interface,
use the service-policy command in the appropriate configuration mode. To remove a service policy from
an input or output interface, use the no form of the command.
service-policy {input|output} policy-map
no service-policy {input|output} policy-map
Syntax Description
Attaches the specified policy map to the input interface.input
Attaches the specified policy map to the output interface.output
Name of a service policy map (created using the policy-map command) to be attached.
policy-map
Command Default
No service policy is specified.
Command Modes
Interface configuration.
Command History
ModificationRelease
This command was introduced.Release 6.0
Usage Guidelines
You can attach a single policy map to one or more interfaces to specify the service policy for those interfaces.
The class policies composing the policy map are then applied to packets that satisfy the class map match
criteria for the class. To apply a new policy to an interface, you must remove the previous policy. A new
policy cannot replace an existing policy.
Task ID
OperationsTask
ID
read,
write
qos
Examples
This example shows policy map policy2 applied to HundredGigabitEthernet 0/0/0/1.
RP/0/RP0/CPU0:router(config)# class-map class2
RP/0/RP0/CPU0:router(config)# match precedence ipv4 2
RP/0/RP0/CPU0:router(config-cmap)# exit
RP/0/RP0/CPU0:router(config)# policy-map policy2
RP/0/RP0/CPU0:router(config-pmap)# class-map class2
RP/0/RP0/CPU0:router(config-pmap-c)# set precedence 3
RP/0/RP0/CPU0:router(config-pmap)# exit
RP/0/RP0/CPU0:router(config)# HundredGigabitEthernet 0/0/0/1
RP/0/RP0/CPU0:router(config-if)# service-policy input policy2
This example shows policy map policy 1 applied to Bundle-Ether interface.
Modular QoS Command Reference for Cisco NCS 5500 Series and Cisco NCS 540 Series Routers
73
Congestion Avoidance Commands
service-policy (interface)

Other manuals for Cisco NCS 5500 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco NCS 5500 Series and is the answer not in the manual?

Cisco NCS 5500 Series Specifications

General IconGeneral
SeriesNCS 5500
CategoryNetwork Router
Operating SystemCisco IOS XR
Product TypeModular Router
Form FactorRack-mountable
PurposeHigh-performance routing for service providers and large enterprises
Interface TypesEthernet
RedundancyRedundant power supplies and fan trays
Port DensityVaries by model; high-density configurations available
Routing ProtocolsBGP, OSPF, IS-IS, MPLS
Power Supply OptionsAC and DC power supplies available
ManagementCLI, SNMP, NETCONF

Related product manuals