Network Ingress QoS Policy Commands

ingress

Syntax

ingress

Context

config>qos>network

Description

This command is used to enter the CLI mode that creates or edits policy entries that specify the DSCP to forwarding class mapping for all GRE or IP packets and define the MPLS EXP bits to forwarding class mapping for all labeled packets.

When pre-marked GRE, IP, or MPLS packets ingress on a network port, they get a per-hop behavior (that is, the QoS treatment through the 7705 SAR based on the mapping defined under the current node).

default-action

Syntax

default-action fc fc-name profile {in | out}

Context

config>qos>network>ingress

Description

This command defines or edits the default action to be taken for packets that have  undefined DSCP or MPLS EXP bits set. The default-action command specifies the forwarding class to which such packets are assigned.

Multiple default-action commands will overwrite each previous default-action command.

Default

n/a

Parameters

fc-name

specifies the forwarding class name. All packets with DSCP or MPLS EXP bits not defined will be placed in this forwarding class.

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

all packets that are assigned to this forwarding class will be considered in or out of profile based on this command. In case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets.

Values

in, out

Default

out

dscp

Syntax

dscp dscp-name fc fc-name profile {in | out}

no dscp

Context

config>qos>network>ingress

Description

This command creates a mapping between the DSCP of the network ingress traffic and the forwarding class for GRE or IP packets.

Ingress traffic that matches the specified DSCP is assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all 64 DSCP values with the forwarding class. For undefined code points, packets are assigned to the forwarding class specified under the default-action command.

The no form of this command removes the DSCP-to-FC association. The default-action then applies to that code point value.

Default

n/a

Parameters

dscp-name

specifies the DSCP to be associated with the forwarding class. The DSCP value is derived from the most significant six bits in the IP header ToS byte field (DSCP bits). The six DSCP bits define 64 DSCP values used to map packets to per-hop QoS behavior.

A maximum of 64 DSCP rules are allowed on a single policy. The specified name must exist as a dscp-name. Table: Valid DSCP Names lists all the valid DSCP names.

Table: Valid DSCP Names

dscp-name

be, cp1, cp2, cp3, cp4, cp5, cp6, cp7, cs1, cp9, af11, cp11, af12, cp13, af13, cp15, cs2, cp17, af21, cp19, af22, cp21, af23, cp23, cs3, cp25, af31, cp27, af32, cp29, af33, cp31, cs4, cp33, af41, cp35, af42, cp37, af43, cp39, cs5, cp41, cp42, cp43, cp44, cp45, ef, cp47, nc1, cp49, cp50, cp51, cp52, cp53, cp54, cp55, nc2, cp57, cp58, cp59, cp60, cp61, cp62, cp63

fc-name

specifies the forwarding class name with which the DSCP will be associated

Values

be, l2, af, l1, h2, ef, h1, nc

Default

be

profile {in | out}

all packets that are assigned to this forwarding class will be considered in or out of profile based on this command. In case of congestion, the in-profile packets are preferentially queued over the out-of-profile packets.

Values

in, out

Default

out

ler-use-dscp

Syntax

[no] ler-use-dscp

Context

config>qos>network>ingress

Description

This command is used to override tunnel QoS mapping on all ingress network IP interfaces that the network-policy-id is associated with. The command may be defined at any time after the network QoS policy has been created.

For IP traffic riding over MPLS or GRE tunnels that will be routed to the base router, a VRPN interface, or an IES interface at the tunnel termination point (the eLER), this command makes it possible for the 7705 SAR to ignore the EXP/DSCP bits in the tunnel header when the packets arrive at the eLER. This is useful when the mapping for the tunnel QoS marking does not completely reflect the required QoS handling for the IP routed packet. When the command is enabled on an ingress network IP interface, the IP interface will ignore the tunnel’s QoS mapping and will derive the internal forwarding class and associated profile state based on the DSCP values of the IP header ToS field. This command applies only on the eLER where the tunnel or service is terminated and the next header in the packet is IP.

The default state is to not enforce customer DSCP at the tunnel-termination point, IP-routed QoS override within the network QoS policy.

The no form of the command removes use of customer DSCP at tunnel-termination, IP-routed QoS override from the network QoS policy and all ingress network IP interfaces associated with the policy.

Default

no ler-use-dscp

lsp-exp

Syntax

lsp-exp lsp-exp-value fc fc-name profile {in | out}

no lsp-exp lsp-exp-value

Context

config>qos>network>ingress

Description

This command creates a mapping between the LSP EXP bits of the network ingress traffic and the forwarding class.

Ingress traffic that matches the specified LSP EXP bits will be assigned to the corresponding forwarding class. Multiple commands can be entered to define the association of some or all of the eight LSP EXP bit values with the forwarding class. For undefined values, packets are assigned to the forwarding class specified under the default-action command.

The no form of this command removes the association of the LSP EXP bit value with the forwarding class. The default-action then applies to that LSP EXP bit pattern.

Default

n/a

Parameters

lsp-exp-value

specifies the LSP EXP values to be associated with the forwarding class

Values

0 to 7 (decimal representation of 3-bit EXP field)

Default

n/a

fc-name

specifies the FC name that the EXP bit pattern will be associated with

Values

be, l2, af, l1, h2, ef, h1, nc

Default

n/a

profile {in | out}

indicates whether the LSP EXP value is the in-profile or out-of-profile value

Values

in, out

Default

out