set dcb cn priority

Use this command to configure an 802.1p priority as a congestion notification priority value and to optionally enable or disable auto choice mode for all ports on the switch.

Note

Note

All set dcb cn priority based command options can be entered on a single command line. Command options include: creation, status, choice, alt-priority, defense, and lldp. Each option is detailed in this chapter with its own entry for purposes of clarity.

Syntax

set dcb cn priority priority [creation {enable | disable}]

Parameters

priority Specifies a CNPV to apply the specified creation state on this switch.
creation enable (Optional) Specifies the port-priority choice for this CNPV will be set to default. Default uses the default choice which is auto. The default domain defense mode for a port-priority is edge when the choice is auto.
creation disable (Optional) Specifies the port-priority choice for this CNPV will be set to admin. The default domain defense mode for a port-priority is interior when the choice is admin.

Defaults

If creation enable or disable is not specified, the created CNPV defaults to creation enable. The priority defaults to 6.

Mode

All command modes.

Usage

There are eight 802.1p values from 0 - 7. For the 7100-Series, the maximum number of CNPVs configurable on a port is seven. The maximum number of CNPVs configurable on a port depends upon the chassis. The SSA, S3, and S4 chassis support a maximum of seven CNPVs. The S6 and S10 chassis support a maximum of four CNPVs. For both the S- and 7100-Series, there must always be at least one alternate (non-CNPV) priority value per port. By default, a CNPV is created with auto creation enabled.

This command does not activate the CNPV. Use set dcb cn priority status to activate a CNPV on the switch.

Note

Note

CNPVs do not exist on S-Series hardware bonding ports.

Examples

This example creates CNPV 3 on all ports for this switch, setting the priority choice to auto, the alternate priority to 0, and the domain defense default to edge:

System(rw)->set dcb cn priority 3

This example creates CNPV 4 on all ports for this switch, setting the priority choice to admin the alternate priority to 0 and the domain defense default to interior:

System(rw)->set dcb cn priority 4 creation disable