home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Configure a profile map

A profile map provides the second stage of classification that directs packets with different DSCP or PCP values into different profile queues.

To configure a profile map, use one of the following commands.
Note: You can not use more than one of the following four map types together in a single profile. Each profile has one type of profile map.
  • Map DSCP: Enqueue packets with specific DSCP values and DiffServ class name onto a specific profile queue.
    user@system# set policy qos name policy-1 shaper profile profile-1 map dscp 0,1,2,16-24,cs6 to 6
    This enqueues packets with the DSCP values 0,1,2,16-24 and DiffServ service class name cs6 onto profile queue 6.
  • Map DSCP group: Enqueue packets with DSCP values defined by a specific DSCP group onto a specific profile queue.
    user@system# set policy qos name policy-1 shaper profile profile-1 map dscp-group grp-0-to-15 to 27
    This enqueues packets with the DSCP values defined by the DSCP group called grp-0-to-15 onto profile queue 27.
  • Map PCP: Enqueue packets with specific PCP values onto a specific profile queue.
    user@system# set policy qos name policy-1 shaper profile profile-1 map pcp 0-3,7 to 6
    This enqueues packets with the PCP values 0-3,7 onto profile queue 6.
  • Map designation: Enqueue packets with a specific designation to a specific profile queue.
    Note: To use this type of profile map, you must also define an ingress map. The ingress map defines the mapping from DSCP values to designation; the profile map defines the mapping from designation to profile queues. However, if you use ingress maps then across the whole system you can only use designation type profile maps.
    user@system# set policy qos name policy-1 shaper profile profile-1 map designation 5 to 5
    This enqueues packets with a designation of 5 to profile queue 5.