Network ingress QoS policy commands

ingress

Syntax

ingress

Context

config>qos>network

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context creates or edits policy entries that specify the QoS bits to forwarding class mapping for all packets.

When pre-marked packets ingress on a network port or hybrid port, the QoS treatment through the 7210 SAS is based on the mapping defined on the current node.

default-action

Syntax

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

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command defines or edits the default action to be taken for packets do not match any of the configured classification entries. The default-action command specifies the forwarding class to which such packets are assigned.

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

Default

default-action fc be profile out

Parameters

fc fc-name

Specifies the forwarding class name. All packets with dot1p or dot1p bits that is not defined are placed in this forwarding class.

Values

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

profile {in | out | use-dei}

Specifies that all packets assigned to this forwarding class are considered in or out of profile based on this command.

Values

in — Any packets matching the classification rule are treated as in-profile packets.

out — Any packets matching the classification rule are treated as out-of-profile packets.

use-dei — The DEI bit received in the Ethernet VLAN tag is used to determine the profile of the packets. The packet will be considered to be in-profile it the DEI bit value is 0 and out-of-profile is the DEI value is 1.

dot1p-classification

Syntax

dot1p-classification policy-id

no dot1p-classification

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command associates a dot1p classification policy to a forwarding class and profile state based on the dot1p bits in the packet. The dot1p classification policy contains entries used to map traffic received on access-uplink ports, or traffic received in the context of a network IP interface configured on a network port or hybrid port.

The no form of this command disables the use of this policy.

Default

no dot1p-classification-policy

Parameters

policy-id

Specifies the policy on the 7210 SAS.

Values

1 to 65535

dscp-classification

Syntax

dscp-classification policy-id

no dscp-classification

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command associates an IP DSCP classification policy to a forwarding class and profile state based on the IP DSCP bits in the packet. The IP DSCP classification policy contains entries used to map traffic received on access-uplink ports, or traffic received in the context of a network IP interface configured on a network port or hybrid port.

The no form of the policy disables the use of this policy.

Default

no dscp-classification-policy

Parameters

policy-id

Specifies the policy on the 7210 SAS.

Values

1 to 65535

mpls-lsp-exp-classification

Syntax

mpls-lsp-exp-classification policy-id

no mpls-lsp-exp-classification

Context

config>qos>network>ingress

Platforms

7210 SAS-K 2F6C4T and 7210 SAS-K 3SFP+ 8C

Description

This command associates an mpls-lsp-exp classification policy to a forwarding class and profile state based on the MPLS EXP bits in the MPLS packet. The mpls-lsp-exp classification policy contains entries used to map traffic received in the context of a network IP interface configured on a network port or hybrid port.

The no form of this policy disables the use of this policy.

Default

no mpls-lsp-exp-classification

Parameters

policy-id

Specifies the policy on the 7210 SAS.

Values

1 to 65535

fc

Syntax

fc fc-name [create]

no fc fc-name

Context

config>qos>network>ingress

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command creates a class instance of the forwarding class. After the fc-name is created, classification actions can be applied and it can be used in match classification criteria.

The no form of this command removes all the explicit queue mappings for fc-name forwarding types. The queue mappings revert to the default meters for fc-name.

Default

undefined forwarding classes default to the configured parameters in the default policy policy-id 1

Parameters

fc fc-name

Specifies a case-sensitive, system-defined forwarding class name.

Values

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

create

Keyword to create the forwarding class. The create keyword requirement can be enabled or disabled in the environment>create context.

use-dei

Syntax

[no] use-dei

Context

config>qos>network>ingress>fc

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command enables DEI based classification. When enabled for packets classified to this FC, the DEI bit is used to determine the ingress profile for the packet. Packets received with DEI bit set to zero are treated as in-profile and packets with DEI bit set to one are treated as out-of-profile packets.

When DEI based classification is enabled under the FC context, it overrules the profile values specified in the classification entry used to assign the FC.

The no form of this command disables use of DEI bit for classification of packets.

Default

no use-dei