I am trying to enable ECN on Cisco Nexus 3132QV switch by the directions in the following document:
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus3000/sw/qos/7x/b_3k_QoS_Config_7x/b_3k_QoS_Config_7x_chapter_010.html
The document provides the following examples:
The following example shows how to configure an ECN threshold per class:
switch# configure terminal
switch(config)# class-map type queuing cque_ecn
switch(config-cmap-que)# match qos-group 1
switch(config-cmap-que)# exit
switch(config)# policy-map type queuing pque_ecn
switch(config-pmap-que)# class type queuing cque_ecn
switch(config-pmap-c-que)# random-detect minimum-threshold 20 kilobytes
maximum-threshold 60 kilobytes drop-probability 70 weight 11 cap-average
However, when I try the same, I have got the following error:
cisco3132-01# show ver
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2016, Cisco and/or its affiliates.
...
Software
BIOS: version 04.24
NXOS: version 7.0(3)I4(1)
..
Hardware
cisco Nexus 3132QV Chassis
sconqa-cisco3132-01(config)# policy-map type network-qos p_ecn
sconqa-cisco3132-01(config-pmap-nqos)# class type network-qos c_ecn
sconqa-cisco3132-01(config-pmap-nqos-c)# ?
mtu MTU for the CoS
no Negate a command or set its defaults
pause PAUSE charecteristics (CBFC)
end Go to exec mode
exit Exit from command interpreter
pop Pop mode from stack or restore from name
push Push current mode to stack or save it under name
where Shows the cli context you are in
sconqa-cisco3132-01(config-pmap-nqos-c)# mtu 9216
sconqa-cisco3132-01(config-pmap-nqos-c)#
sconqa-cisco3132-01(config-pmap-nqos-c)# end
sconqa-cisco3132-01# conf t
Enter configuration commands, one per line. End with CNTL/Z.
sconqa-cisco3132-01(config)# class-map type queuing ?
c-in-q-default Ingress default queue
c-in-q1 Ingress queue 1
c-in-q2 Ingress queue 2
c-in-q3 Ingress queue 3
c-in-q4 Ingress queue 4
c-in-q5 Ingress queue 5
c-in-q6 Ingress queue 6
c-in-q7 Ingress queue 7
c-out-8q-q-default Egress default queue
c-out-8q-q1 Egress queue 1
c-out-8q-q2 Egress queue 2
c-out-8q-q3 Egress queue 3
c-out-8q-q4 Egress queue 4
c-out-8q-q5 Egress queue 5
c-out-8q-q6 Egress queue 6
c-out-8q-q7 Egress queue 7
c-out-q-default Egress default queue
c-out-q1 Egress queue 1
c-out-q2 Egress queue 2
c-out-q3 Egress queue 3
match-any Logical-OR all match statements under this classmap
sconqa-cisco3132-01(config)# class-map type queuing c_ecn
^
% Invalid command at '^' marker.
Am I missing something?
Thanks,
Suyoung