Configure a port as trusted or untrusted to determine the Layer 3 QoS actions the switch performs. A trusted (core) port honors incoming Differentiated Services Code Point (DSCP) markings. An untrusted (access) port overrides DSCP markings.
access-diffserv
access-diffserv enable
access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...]} enable
default access-diffserv
default access-diffserv enable
default access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
default access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...]} enable
no access-diffserv
no access-diffserv enable
no access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
no access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...]} enable
Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.
The default configuration is trusted (disabled).
GigabitEthernet Interface Configuration