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]][,...][slot/all][all]}
access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} enable
default access-diffserv
default access-diffserv enable
default access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
default access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} enable
no access-diffserv
no access-diffserv enable
no access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}
no access-diffserv port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} 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)
a series of slots and ports (slot/port,slot/port,slot/port)
all ports on the same slot (slot/all)
all ports on the switch (all)
The default configuration is trusted (disabled).
GigabitEthernet Interface Configuration