Modular Quality of Service Command-Line Interface QoS
Set Actions
Set commands allow traffic to be marked such that other network devices along the forwarding path can
quickly determine the proper class of service to apply to a traffic flow.
To define a set action, complete the following procedure:
configure terminal
policy-map policy
class class
set option
Configuring Aggregate Port-Channel Interface
To configure port-channel interface, complete the following procedure:
configure terminal
platform qos port-channel-aggregate port_channel_number
interface port-channel port_channel_number
ip address ip musk
interface name
channel-group number
Attaching a Traffic Policy to an Interface
After you define a traffic policy with the policy-mapcommand, you can attach it to one or more interfaces
by using the service-policy command in interface configuration mode. Although you can assign the same
traffic policy to multiple interfaces, each interface can have only one traffic policy attached in the input
direction and only one traffic policy attached in the output direction.
To attach a traffic policy to an interface, complete the following procedure:
configure terminal
interface port-channel port_channel_number
service-policy input policy
Example: Configuring Input MQC on the Port-Channel Interfaces
The following example shows how to configure input MQC on the port-channel interfaces.
Router# configure terminal
Router(config)# class-map class1
Router(config-cmap)# match any
Router(config-cmap)# exit
Router(config)# policy-map policy1
Router(config-pmap)# class class1
Router(config-pmap-c)# set dscp af11
Router(config-pmap-c)# exit
Router(config-pmap)# exit
Router(config)# platform qos port-channel-aggregate 2 Router(config)# interface port-channel
2
Router(config-if)# ip address 192.168.0.1 255.255.255.0
Router(config-if)# no shut
Router(config-if)# interface tenGigabitEthernet 4/1/1
Router(config-if)# no ip address
Router(config-if)# no shut
Cisco cBR Series Converged Broadband Routers Quality of Services Configuration Guide for Cisco IOS XE Fuji
Configuring Aggregate Port-Channel Interface
16.7.x
27