mark

Enables the marking of the DSCP field in the IP header. Use this command to set the IP DSCP bits for QoS using an ACL. The mark action of the route maps takes precedence over the mark action of an ACL.

The DSCP field in an IP header enables packet classification. Packet filtering can be done based on traffic class, determined from the IP DSCP field. One DSCP value can be configured per route map entry.

Supported on the following devices:

Syntax

mark ip dscp <0-63>

Parameters

mark ip dscp <0-63>
ip dscp <0-63> Marks the DSCP field in the IP header
  • <0-63> – Specify a DSCP value from 0 - 63.

Examples

nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#mark ip dscp 7
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#show context
 route-map 1
  default-next-hop wwan1
  mark ip dscp 7
nx9500-6C8809(config-routing-policy-testpolicy-route-map-1)#

Related Commands

no (route-map-config-mode-command) Disables marking of IP packets