Cisco Small Business 300 1.1 Series Administration Manual page 565

Managed switch
Table of Contents

Advertisement

Quality of Service (QoS) Commands
78-20269-01 Command Line Interface Reference Guide
Command Mode
Policy-map Class Configuration mode
User Guidelines
Use this command to distinguish the QoS trust behavior for certain traffic from
others. For example, incoming traffic with certain DSCP values can be trusted. A
class map can be configured to match and trust the DSCP values in the incoming
traffic.
The type of trust is determined in
Trust values set with this command supersede trust values set on specific
interfaces with the qos trust Interface Configuration mode command.
The trust and set commands are mutually exclusive within the same policy map.
Policy maps that contain set or trust commands cannot be attached, or that have
Access Control List (ACL) classification to an egress interface by using the
service-policy Interface Configuration mode command.
If specifying trust cos, QoS maps a packet to a queue, the received or default port
CoS value, and the CoS-to-queue map.
Example
The following example creates an ACL, places it into a class map, places the class
map into a policy map and configures the trust state using the DSCP value in the
ingress packet.
console(config)# ip access-list extended ip1
console(config-mac-al)# permit ip any any
console(config-mac-al)# exit
console(config)# class-map c1
console(config-cmap)# match access-group ip1
console(config-cmap)# exit
console(config)# policy-map p1
console(config-pmap)# class c1
console(config-pmap-c)# trust
qos advanced-mode
41
trust.
567

Advertisement

Table of Contents
loading

Table of Contents