API Guide

trust dscp-map
Creates a user-defined trust map for DSCP flows.
Syntax
trust dscp-map map-name
Parameters map-name Enter the name of the DSCP trust map. A maximum of 32 characters.
Default Not configured
Command Mode CONFIGURATION
Usage
Information
If you enable trust, traffic obeys this trust map. default-dscp-trust is a reserved trust-map name.
The no version of this command returns the value to the default.
Example
OS10(config)# trust dscp-map dscp-trust1
Supported
Releases
10.3.0E or later
trust-map
Configures trust map on an interface or on a system QoS.
Syntax
trustmap {dot1p | dscp} {default | trust-map-name}
Parameters
dot1p Apply dot1p trust map.
dscp Apply dscp trust map.
default Apply default dot1p or dscp trust map.
trust-map-name Enter the name of trust map.
Default Disabled
Command Mode
INTERFACE
SYSTEM-QoS
Usage
Information
Use the show qos maps type [tc-queue | trust-map-dot1p | trust-map-dscp]
[trust-map-name] command to view the current trust mapping. You must change the trust map only
during no traffic flow. Verify the correct policy maps are applied. The no version of this command returns
the value to the default. The no version of this command removes the applied trust map from the
interface or system QoS.
Example
OS10(config)# interface ethernet 1/1/10
OS10(conf-if-eth1/1/10)# trust-map dot1p default
OS10(conf-if-eth1/1/10)# trust-map dot1p d1
OS10(config)# interface ethernet 1/1/2
OS10(conf-if-eth1/1/2)# trust-map dscp default
OS10(conf-if-eth1/1/2)# trust-map dscp d2
OS10(config)# system qos
OS10(config-sys-qos)# trust-map dot1p default
OS10(config-sys-qos)# trust-map dscp d2
Supported
Releases
10.4.1.0 or later
1272 Quality of service