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 an ingress map

Ingress maps allow us to configure the first part of the second stage of classification to occur at the ingress interface.

Ingress maps allow us to split packets into a maximum of eight different streams that are based upon the DSCP or PCP values of the packets.

Each stream is given a designation (a value in the range 0 to 7). The profile map uses a packets' designation to direct the packet into the correct profile queue.

Within each designation, the packets can be assigned a drop-precedence value — green, yellow or red. The drop precedence can be used when multiple WRED configurations are assigned to a profile queue.

To configure an ingress map, do these steps:

  1. The ingress map called in-map-1 states that packets that contain a DSCP value that belongs to the DSCP group called grp-0-to-15 are given a designation of 0.
    user@system# set policy ingress-map in-map-1 dscp-group grp-0-to-15 designation 0
  2. The ingress map called in-map-1 states that packets than contain a DSCP value that belongs to the DSCP group called grp-0-to-15 are given a drop precedence value of green.
    user@system# set policy ingress-map in-map-1 dscp-group grp-0-to-15 drop-precedence green
  3. The ingress map called in-map-1 states that packets than contain a DSCP value that belongs to the DSCP group called grp-16-to-63 are given a designation of 1.
    user@system# set policy ingress-map in-map-1 dscp-group grp-16-to-63 designation 1
  4. The ingress map called in-map-1 states that packets that contain a DSCP value that belongs to the DSCP group called grp-16-to-63 are given a drop-precedence of yellow .
    user@system# set policy ingress-map in-map-1 dscp-group grp-16-to-63 drop-precedence yellow
  5. The ingress map called in-map-1 is assigned to the dataplane interface called dp0xe4. Any packets arriving on this ingress port are given a designation and drop precedence as defined by this ingress map.
    For platforms that are configured in router mode:
    user@system# set interface dataplane dp0xe4 policy ingress-map in-map-1
    For platforms that are configured in switch mode:
    user@system# set interfaces dataplane dp0xe4 switch-group port-parameters policy ingress-map in-map-1
The ingress map is now configured.