123
undo qcn enable
Default
QCN is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
To make QCN settings take effect, you must enable QCN.
Examples
# Enable QCN.
<Sysname> system-view
[Sysname] qcn enable
qcn port priority
Use qcn port priority to configure CND settings for an interface.
Use undo qcn port priority to delete the CND settings of an interface.
Syntax
qcn port priority priority { admin [ defense-mode { disabled | edge | interior | interior-ready }
alternate alternate-value ] | auto }
undo qcn port priority priority
Default
The global CND settings apply.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
priority: Assigns the interface to a CND specified by a priority value (CNPV) in the range of 0 to 7.
admin: Configures the interface to use a user-configured defense mode.
defense-mode: Configures a defense mode. By default, the disabled defense mode is used.
disabled: Specifies the disabled defense mode. This mode disables congestion notification and
performs priority mapping according to the priority mapping table.
edge: Specifies the edge defense mode. This mode maps the priority of frames with the specified
CNPV to an alternate value.
interior: Specifies the interior defense mode. This mode does not alter the priority of incoming
frames with a specific CNPV and removes CN tags before sending out the frames.
interior-ready: Specifies the interior-ready defense mode. This mode does not alter the priority of
incoming frames with a specific CNPV and retains CN tags when sending out the frames.
alternate alternate-value: Specifies an alternate value in the range of 0 to 7. The default value for the
alternate-value argument is 0. The alternate value cannot be equal to a CNPV.