Users Guide

Table Of Contents
Apply the policy map to the ingress interface.
VTEP-1-VLT-SEC(config)# interface ethernet 1/1/25:1
VTEP-1-VLT-SEC(conf-if-eth1/1/25:1)# service-policy input type qos PMAP1
VTEP-1-VLT-SEC(conf-if-eth1/1/25:1)#
Verify the configurations.
VTEP-1-VLT-SEC# show running-configuration class-map
!
class-map type qos CMAP1
match cos 3
VTEP-1-VLT-SEC# show running-configuration policy-map
!
policy-map type qos PMAP1
!
class CMAP1
set dscp 5
VTEP-1-VLT-SEC# show running-configuration interface ethernet 1/1/25
!
interface ethernet1/1/25
no shutdown
channel-group 1 mode active
flowcontrol receive on
mtu 9216
service-policy input type qos PMAP1
VTEP-2 Network Port to Access Port - Match DSCP Set dot1p
In VTEP 2, the incoming packet at the network port will have the DSCP configured in the VTEP-1. This example shows to set a
dot1p priority for a traffic with a match dscp value.
Create a Class MAP and add a match rule to map DSCP value of 5.
VTEP-2(config)# class-map type qos CMAP1
VTEP-2(config-cmap-qos)# match ip dscp 5
Create a policy map to set dot1p value of 3 for the traffic matched by Class Map CMAP1.
VTEP-2(config)# policy-map type qos PMAP1
VTEP-2(config-pmap-qos)# class CMAP1
VTEP-2(config-pmap-c-qos)# set cos 3
VTEP-2(config-pmap-c-qos)# set qos-group 3
VTEP-2(config-pmap-c-qos)#
Apply the policy map to the network port of VTEP-2 so that it matches the incoming traffic from Spine node with the class map
CMAP1 and apply the Policy MAP PMAP1 to the matched traffic.
VTEP-2(config)# interface ethernet 1/1/1:1
VTEP-2(conf-if-eth1/1/1:1)# service-policy input type qos PMAP1
VTEP-2(conf-if-eth1/1/1:1)#
Verify the configurations.
VTEP-2# show running-configuration class-map
!
class-map type qos CMAP1
match ip dscp 5
VTEP-2# show running-configuration policy-map
!
policy-map type qos PMAP1
!
class CMAP1
set cos 3
set qos-group 3
VTEP-2# show running-configuration interface ethernet 1/1/1:1
!
1572
Quality of service