set dcb cn port-priority choice

Use this command to set, for specified priority and port, the mode that determines how the domain defense mode is selected for the specified port.

Syntax

set dcb cn port-priority port-string priority choice {admin | auto | default}

Parameters

port-string Specifies the port to which the congestion notification priority choice setting is applied. For a detailed description of possible port-string values, refer to Port String Syntax Used in the CLI in the S-, K-, and 7100 Series Configuration Guide.
priority Specifies the CNPV for this port-priority choice configuration.
admin Specifies that the default domain defense is controlled by set dcb cn priority defense and the alternate priority is controlled by set dcb cn priority alt-priority.
auto Specifies that the default domain defense and alternate priority is controlled by LLDP.
default Specifies that the default domain defense and alternate priority is the configured default value when entering the congestion notification priority value using set dcb cn priority.

Defaults

Port-priority choice defaults to default.

Mode

All command modes.

Usage

When entering any variation of the set dcb cn port-priority command, all options can be specified on a single command line. Options are: choice, alt-pri, defense, and lldp. These commands are detailed separately in this document for purposes of clarity.

Port-priority choice defaults to default. However, the default value of port-priority choice is determined by the creation option specified when creating the CNPV. If creation enable is used, the default choice for each port-priority is default. If creation disable is used, the default choice for each port-priority is admin. Upon entering the clear dcb cn port-priority choice command, the port-priority choice is set to default.

If the admin keyword is specified, the domain defense defaults to disabled, unless changed by one of the commands listed in the admin parameter table row above.

If the auto keyword is specified, the domain defense mode defaults to edge but will transition to interior-ready if the port‘s neighbor CNPV is activated and agrees with this port CNPV.

If the default keyword is specified, the domain defense depends upon whether the CNPV was created using the option:

  • Creation enable – Defense mode defaults to edge (default CNPV creation mode)
  • Creation disable – Defeinse mode defaults to disabled

Examples

This example sets the defense choice to auto for all ports:

System(rw)->set dcb cn port-priority *.*.* choice auto