OcNOS-DC : Layer 2 Guide : Data Center Bridging Configuration Guide : Quantized Congestion Notification Configuration
Quantized Congestion Notification Configuration
This chapter shows how to:
Enable QCN on a bridge and interface
Enable a Congestion Notification Priority Value (CNPV) and create a Congestion Point (CP)
Topology
PFC-Enabled Bridge
Configuring a Bridge and Interface for QCN
 
#configure terminal
Enter configure mode
(config)#bridge 1 protocol ieee vlan-bridge
Create bridge 1 as an IEEE VLAN-enabled bridge
(config)#data-center-bridging enable bridge 1
Enable DCB on the bridge
(config)#qcn enable bridge 1
Enable QCN on the bridge
(config-qcn)#exit
Exit QCN mode
(config)#interface eth1
Configure interface eth1
(config-if)#switchport
Configure eth1 as a layer 2 port
(config-if)#bridge-group 1
Configure eth1 in bridge group 1
(config-if)#lldp-agent
Enter into LLDP agent mode.
(lldp-agent)#set lldp enable txrx
Configure LLDP for transmit and receive mode on eth1
(lldp-agent)#lldp tlv-select ieee-8021-org-specific
Configure LLDP to send an IEEE 802.1 organizationally specific TLV
(lldp-agent)#exit
Exit from LLDP mode.
Validation
#show qcn configuration bridge 1
 
QCN: Enable
CNM Transmit Priority: 6
Discarded Frames: 0
Errored Port List: NONE
Priority CNPV
======== ====
0 No
1 No
2 No
3 No
4 No
5 No
6 No
7 No
 
CNPV details:
 
CNPV DefModeChoice AltPriority DefenseMode
==== ============= =========== ==============
 
CNPV details per interface:
Interface CNPV DefModeChoice AltPriority DefenseMode XmitReady
============== ==== ============= =========== ============== =========
 
Congestion Point Details:
Interface CpId W SampleBase MinHdrOctet Qsp
============== ======== ==== ========== =========== ===
 
Enable a CNPV and Create a CP
 
#configure terminal
Enter configure mode
(config)#bridge 1 protocol ieee vlan-bridge
Create bridge 1 as an ieee vlan enabled bridge
(config)#data-center-bridging enable bridge 1
Enables DCB on the bridge
(config)#qcn enable bridge 1
Enables QCN on the bridge
(config-qcn)#cnpv 5
Set the CNPV value on the QCN enabled bridge
(config-qcn)#exit
Exit QCN mode
(config)#interface eth1
Configure interface eth1
(config-if)#switchport
Configure eth1 asa layer 2 port
(config-if)#bridge-group 1
Configure eth1 in bridge group 1
(config-if)#lldp-agent
Enter into LLDP agent mode.
(lldp-agent)#set lldp enable txrx
Configure LLDP for transmit and receive mode on eth1
(lldp-agent)#lldp tlv-select ieee-8021-org-specific
Configure LLDP to send an IEEE 802.1 organizationally specific TLV
(lldp-agent)#exit
Exit from LLDP mode.
(config-if)#cp enable cnpv 5 sample-base 10000 weight 2
Configure the congestion point
Validation
1. Verify the QCN configuration on the bridge.
#show qcn configuration bridge 1
 
QCN: Enable
CNM Transmit Priority: 6
Discarded Frames: 0
Errored Port List: NONE
 
Priority CNPV
======== ====
0 No
1 No
2 No
3 No
4 No
5 Yes
6 No
7 No
 
CNPV details:
 
CNPV DefModeChoice AltPriority DefenseMode
==== ============= =========== ==============
5 AUTO 0 EDGE
 
CNPV details per interface:
Interface CNPV DefModeChoice AltPriority DefenseMode XmitReady
============== ==== ============= =========== ============== =========
eth1 5 COMP 0 EDGE FALSE
Congestion Point Details:
Interface CpId W SampleBase MinHdrOctet Qsp
============== ======== ==== ========== =========== =====
eth1 00ecf4bb530b0005 2 10000 0 31200
2. Verify the CNPV value on the QCN enabled bridge.
#show qcn cnpv bridge 1
 
Priority CNPV
======== ====
0 No
1 No
2 No
3 No
4 No
5 Yes
6 No
7 No
 
CNPV details:
 
CNPV DefModeChoice AltPriority DefenseMode
==== ============= =========== ==============
5 AUTO 0 EDGE
 
CNPV details per interface:
Interface CNPV DefModeChoice AltPriority DefenseMode XmitReady
============== ==== ============= =========== ============== =========
eth1 5 COMP 0 EDGE FALSE
3. Verify the CP on the QCN bridge.
# sh qcn cp interface eth1
 
Congestion Point Details:
Interface CpId W SampleBase MinHdrOctet Qsp
============== ================ ==== ========== =========== ======
eth1 00ecf4bb530b0005 2 10000 0 31200