Configuring DSCP and CoS Remarking at the Interface Level
Follow these steps to configure DSCP and CoS remarking for specific ports. DSCP and
CoS remarking are disabled by default.
- Enter global configuration mode.
- Enter interface configuration mode to set DSCP and CoS values for a specific port.
- Set the DSCP value to 4 of all IP packets on the port.
- Set the PCP value to 4 of all IP packets on the port.
- Return to privileged EXEC mode.
- Verify the configuration.
device# show running-config interface ethernet 1/1/1 interface ethernet 1/1/1 port-name ERSPAN dual-mode ip dscp-remark 4 ip pcp-remark 4 rate-limit input fixed 40000 burst 120000 mon profile 1 both priority 7 speed-duplex 1000-full broadcast limit 96 kbps multicast limit 400 kbps unknown-unicast limit 96 kbps pvst-mode port security age 2 absolute !
- Save the configuration.
DSCP and CoS Remarking Configuration Example
device# configure terminal device(config)# interface ethernet 1/1/1 device(config-if-e1000-1/1/1)# ip dscp-remark 4 device(config-if-e1000-1/1/1)# ip pcp-remark 4 device(config-if-e1000-1/1/1)# end device# show running-config interface ethernet 1/1/1 device# write memory