Layer 2 Switching Commands 669ExampleThe following example globally configures the mapping for IP DSCP 1 totraffic class 2. If trust mode is enabled for DSCP (classofservice trust ip-dscp), packets received on any interface marked with DSCP 1 will be assignedto internal CoS queue 2.console(config)#classofservice ip-dscp-mapping 1 2classofservice trustUse the classofservice trust command in either Global Configuration modeor Interface Configuration mode to set the class of service trust mode of aninterface. To set the interface mode to trust 802.1p markings, use the no formof this command.Syntaxclassofservice trust {dot1p | untrusted | ip-dscp}no classofservice trust• dot1p — Specifies that the mode be set to trust IEEE 802.1p packetmarkings.• untrusted — Sets the Class of Service Trust Mode to Untrusted.• ip-dscp — Specifies that the mode be set to trust IP DSCP packetmarkings.Default ConfigurationBy default, the switch trusts IEEE 802.1p markings.Command ModeGlobal Configuration mode or Interface Configuration (gigabitethernet,port-channel, tengigabitethernet, fortygigabitethernet) modeUser GuidelinesThis command has no user guidelines.