OcNOS-RON : Virtual Extensible LAN Guide : Virtual eXtensible Local Area Network Command Reference : VXLAN Quality of Service Commands
VXLAN Quality of Service Commands
This chapter describes the VXLAN commands for QoS (Quality of Service):
clear nvo vxlan tunnels
Use this command to clear the nvo vxlan tunnels to re-establish the tunnel after mapping/un-mapping the QoS profile to vxlan tunnel.
Command Syntax
clear nvo vxlan tunnels (|dst-ip A.B.C.D)
Parameters
dst-ip
VXLAN tunnel destination
A.B.C.D
destination IPv4 address
Command Mode
Exec mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
#clear nvo vxlan tunnels dst-ip 2.2.2.2
 
Note: clear nvo vxlan tunnels This command will clear all the VXLAN tunnels destination.
clear nvo vxlan tunnels dst-ip A.B.C.D - This command to clear individual tunnel destination( i.e A.B.C.D).
cos queue
Use this command to configure user defined mapping for cos and queue.
Use the no form of this command to remove the mapping.
Command Syntax
cos <0-7> queue <0-7>
no cos <0-7>
Parameters
<0-7>
COS and Queue ranger
Default
Default cos and queue value is one-one default mapping if it is not configured.
Command Mode
QoS config mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#qos profile cos-to-queue ac_port_ingress
(config-ingress-cos-map)#cos 1 queue 7
(config-ingress-cos-map)#no cos 1
 
dscp queue
Use this command to configure user defined mapping for DSCP to queue. This will be mapped with nvo VXLAN tunnel of remote VTEP.
Use the no form of this command to delete the mapping.
Command Syntax
dscp <0-63> queue <0-7> (color (green|yellow|red)|) (dscp <0-63>|)
no dscp <0-63>
Parameters
<0-63>
DSCP
<0-7>
Queue number
color
Color to map
green
Set mapping for green packets
red
Set mapping for red packets
yellow
Set mapping for yellow packets
<0-63>
out DSCP value
Default
Default queue and cos value is one-one default mapping if it is not configured.
Command Mode
Ingress-dscp-map mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#qos profile dscp-to-queue nw_profile
(config-ingress-dscp-map)#dscp 50 queue 1
(config-ingress-dscp-map)#no dscp 50
 
 
map qos-profile cos-to-queue
Use this command to map the cos-to-queue profile to vxlan access port on the local VTEP.
Use the no form of the command to remove the mapping.
Command Syntax
map qos-profile cos-to-queue NAME
no map qos-profile cos-to-queue NAME
Parameters
NAME
Profile name
Default
None
Command Mode
NVO access interface mode
Applicability
This command is introduced in OcNOS-OTN version 4.2.
Example
(config)#nvo vxlan access-if port-vlan xe1 10
(config-nvo-acc-if)#map qos-profile cos-to-queue ac_port_ingress
(config-nvo-acc-if)#no map qos-profile cos-to-queue ac_port_ingress
 
map qos-profile queue-color-to-cos
Use this command to map the queue-color-to-cos profile to vxlan access port on the remote VTEP.
Use the no form of the command to remove the mapping.
Command Syntax
map qos-profile queue-color-to-cos NAME
no map qos-profile queue-color-to-cos NAME
Parameters
NAME
Profile name
Default
None
Command Mode
NVO access interface mode
Applicability
This command is introduced in OcNOS-OTN version 4.2.
Example
(config)#nvo vxlan access-if port-vlan xe2 10
(config-nvo-acc-if)#map qos-profile queue-color-to-cos ac_profile
(config-nvo-acc-if)#no map qos-profile queue-color-to-cos ac_profile
 
 
 
nvo vxlan tunnel qos-map-mode cos-dscp
Use this command to map QoS profile for network side to nvo vxlan tunnel. For outgoing/incoming traffic, you need to provide the direction with the keyword egress/ingress.
Use the no form of this command to delete the mapping.
You must give the clear nvo vxlan tunnels command to do the network port setting for QoS profile mapped.
Command Syntax
nvo vxlan tunnel qos-map-mode cos-dscp (ingress|egress) NAME
no nvo vxlan tunnel qos-map-mode cos-dscp (ingress|egress)
Parameters
NAME
Profile name
ingress
Ingress direction
egress
Egress direction
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#nvo vxlan tunnel qos-map-mode cos-dscp egress nw_profile
(config)#no nvo vxlan tunnel qos-map-mode cos-dscp egress
(config)#nvo vxlan tunnel qos-map-mode cos-dscp ingress nw_profile
(config)#no nvo vxlan tunnel qos-map-mode cos-dscp ingress
 
 
 
 
qos profile cos-to-queue
Use this command to configure cos-to-queue profile. This profile has to be mapped to VXLAN access port on the local VTEP.
Use the no form of this command to delete the qos profile.
Command Syntax
qos profile cos-to-queue (NAME|default)
no qos profile cos-to-queue NAME
Parameters
NAME
QoS profile name for cos-to-queue
default
Default name
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#qos profile cos-to-queue ac_port_ingress
(config)#no qos profile cos-to-queue ac_port_ingress
qos profile dscp-to-queue
Use this command to configure QoS profile for DSCP to Queue mapping. This profile will be mapped to nvo vxlan tunnel of remote VTEP. The created profile will support remarking of the data packets.
Use the no form of this command to delete the QoS profile
Command Syntax
qos profile dscp-to-queue (NAME|default}
no qos profile dscp-to-queue NAME
Parameters
NAME
Profile name
default
Default name
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#qos profile dscp-to-queue nw_profile
(config-ingress-dscp-map)#exit
(config)#no qos profile dscp-to-queue nw_profile
(config)#
 
 
 
qos profile queue-color-to-cos
Use this command to configure queue-color-to-cos profile. This profile has to be mapped to VXLAN access port on remote VTEP.
Use the no form of this command to delete the qos profile.
Command Syntax
qos profile queue-color-to-cos (NAME|default)
no qos profile queue-color-to-cos NAME
Parameters
NAME
Profile name
default
Default name
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#qos profile queue-color-to-cos ac_profile
(config)#no qos profile queue-color-to-cos ac_profile
 
 
qos profile queue-color-to-dscp
Use this command to create a QoS profile queue-color-to-dscp. This profile will be mapped to nvo vxlan tunnel of local VTEP. The created profile supports remarking of the data packets.
Use the no form of this command to delete the profile.
Command Syntax
qos profile queue-color-to-dscp (NAME|default)
no qos profile queue-color-to-dscp NAME
Parameters
NAME
Profile name
default
Default name
Default
None
Command Mode
Configure mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#qos profile queue-color-to-dscp nw_profile
(config-egress-dscp-map)#exit
(config)#no qos profile queue-color-to-dscp nw_profile
 
 
queue cos
Use this command to configure user defined mapping for queue and cos.
Use the no form of this command to remove the mapping.
Command Syntax
queue <0-7> (color(green|yellow|red|all)|) cos <0-7>
no queue <0-7> (color(green|yellow|red|all)|)
Parameters
<0-7>
Queue and cos range
color
Color to map
all
Set mapping for all packets
green
Set mapping for green packets
red
Set mapping for red packets
yellow
Set mapping for yellow packets
Default
Default queue and cos value is one-one default mapping if it is not configured.
Command Mode
QoS config mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#qos profile queue-color-to-cos ac_profile
(config-egress-cos-map)#queue 5 cos 2
(config-egress-cos-map)#no queue 5
queue dscp
Use this command to configure user-defined mapping for queue to DSCP. This will be mapped with nvo VXLAN tunnel of local VTEP.
Use the no form of this command to remove the queue-to-DSCP mapping.
Command Syntax
queue <0-7> (color(green|yellow|red|all)|) dscp <0-63>
no queue <0-7> (color(green|yellow|red|all)|)
Parameters
<0-7>
Queue number
<0-63>
DSCP
color
Color to map
all
Set mapping for all packets
green
Set mapping for green packets
red
Set mapping for red packets
yellow
Set mapping for yellow packets
Default
Default queue and cos value is one-one default mapping if it is not configured.
Command Mode
QoS config mode
Applicability
This command was introduced in OcNOS version 1.3.
Example
(config)#qos profile queue-color-to-dscp nw_profile
(config-egress-dscp-map)# queue 1 dscp 63
(config-egress-dscp-map)#no queue 1