IP DSCP and dot1p classification policy commands (for 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12)

dot1p-classification

Syntax

dot1p-classification classification-id [create]

no dot1p-classification classification-id

Context

config>qos

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command defines the map from the dot1p value that is in the Ethernet header of the received frame to the FC and ingress profile.

The no form of this command removes the definition of the map. The no form of this command replaces the specified dot1p-classification with dot1p-classification 1 in the SAP ingress policy or access port.

Default

default policy 1

Parameters

classification-id

Specifies the unique identifier for the policy.

Values

1 to 65535

create

Keyword to create the dot1p classification.

default-dot1p-fc

Syntax

default-dot1p-fc fc profile {in | out | dei}

no default-dot1p-fc

Context

config>qos>dot1p-classification

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command assigns the configured FC and profile to all VLAN tagged Ethernet packets that do not match any of the explicitly configured dot1p values.

The no form of this command assigns a default FC value of be and a profile value of out.

Default

default-dot1p-fc be profile out

Parameters

fc

Specifies the forwarding class.

Values

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

profile {in | out | dei}

Specifies that all packets assigned to this forwarding class are considered in or out of profile based on this command. A value must be specified when the profile keyword is used in the command. If the profile is not assigned to a forwarding class, the packets of that FC are treated as ‟out-of-profile” packets.

Values

in — Defines the packet profile as ‟in-profile”

out — Defines the packet profile as ‟out-of-profile”

dei — Specifies that DEI is used to determine the initial profile of the packet

dot1p

Syntax

dot1p dot1p-priority fc fc-name [profile {in | out | dei}]

no dot1p dot1p-priority

Context

config>qos>dot1p-classification

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command maps the dot1p value to a forwarding class and also assign the ingress profile to the packet. This command can be repeated for each dot1p value that the user needs to map.The configured value is used to match the value in the outermost VLAN tag of the received tagged Ethernet packet and assign the configured forwarding class and profile on a exact match.

The no form of this command removes the mapping of the dot1p value to forwarding class.

A default forwarding class is not assigned on executing the no form of this command. If the VLAN tagged packet does not match the explicitly configured dot1p values, it is assigned the FC and profile value configured with the default-dot1p-fc command.

Default

default forwarding class is not assigned and must be explicitly configured

Parameters

fc

Specifies the forwarding class.

fc-name

Specifies the system-defined forwarding class name (it is case-sensitive).

profile {in | out | dei}

Specifies that all packets assigned to this forwarding class are considered in or out of profile based on this command. A value must be specified when the profile keyword is used in the command. If the profile is not assigned to a forwarding class, the packets of that FC are treated as ‟out-of-profile” packets.

Values

in — Defines the packet profile as ‟in-profile”

out — Defines the packet profile as ‟out-of-profile”

dei — Specifies that DEI is used to determine the initial profile of the packet

dot1p-priority

Specifies the dot1p priority value to match.

Values

0 to 7

dscp-classification

Syntax

dscp-classification classification-id [create]

no dscp-classification classification-id

Context

config>qos

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command creates or edits a DSCP classification policy.

The no form of this command replaces the specified DSCP classification policy with dscp-classification 1 in the respective SAP ingress policy or access port.

Default

default policy 1

Parameters

classification-id

Specifies the ID of the DSCP classification policy.

Values

1 to 65535

default-dscp-fc

Syntax

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

[no] default-dscp-fc

Context

config>qos>dscp-classification

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the default FC and profile values used to map all DSCP values that are not explicitly defined using the dscp command.

The no form of this command reverts the configured default-dscp-fc command FC and profile values to their default settings.

Default

default-dscp-fc ‟be” profile out

Parameters

fc

Specifies the forwarding class assigned as the default FC.

Values

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

Default

be

profile {in | out}

Specifies the profile state assigned as the default profile, either in-profile or out-of-profile.

Default

out

dscp

Syntax

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

no dscp dscp-name

Context

config>qos>dscp-classification

Platforms

7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description

This command maps a DSCP value to an FC and profile. The command can be repeated for each DSCP value that the user needs to map. It is used to match the IP DSCP in the received IP packets to assign the configured FC and profile value.

The no form of this command removes the mapping for the specified dscp-name. If the IP packet does not match the explicitly configured IP DSCP values, it is assigned the FC and profile value that is configured with the default-dscp-fc command.

Default

no dscp

Parameters

dscp-name

Specifies the IP DSCP value that gets mapped to the FC and profile specified in the command.

Values

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

fc-name

Specifies the name of the forwarding class assigned to the dscp-name.

Values

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

in | out

Specifies the profile state assigned to the dscp-name, either in-profile or out-of-profile.