[c-nsp] Nexus 3064 QoS

BASSAGET Cédric cedric.bassaget.ml at gmail.com
Mon Feb 26 04:25:16 EST 2018


Working on it for 2 days. Posting this message, found
https://supportforums.cisco.com/t5/lan-switching-and-routing/nexus-3000-qos-traffic-shaping/td-p/2532476
20 minutes after...

Problem seems to be solved...
Regards
Cédric

2018-02-26 10:14 GMT+01:00 BASSAGET Cédric <cedric.bassaget.ml at gmail.com>:

> Hello,
> I'm trying to make QoS work on a NX3064. I'm not able to make it work in
> the simpliest lab ever... Can anybody tell me what's wrong ?
>
> I need to prioritize DSCP EF marked trafic from host B to host A.
>
> Host B (192.168.41.2) <-> NX eth1/48 vlan 41
> Host A (192.168.41.1) <-> NX eth1/24 vlan 41
>
> Host B is 1Gb/s
> Host A is 100Mb/s
>
> show run :
>
> class-map type qos match-all qos-match-prio
>   match dscp 46
> class-map type queuing qos-queue-prio
>   match qos-group 1
>
> policy-map type qos qos-match-trafic
>   class qos-match-prio
>     set qos-group 1
>   class class-default
> policy-map type queuing qos-queue-trafic
>   class type queuing qos-queue-prio
>     priority
>   class type queuing class-default
>     shape kbps 50000
>
> interface Ethernet1/24
>   switchport mode trunk
>   switchport trunk allowed vlan 41
>   speed 100
>   duplex full
>   bandwidth 100000
>   service-policy type queuing output qos-queue-trafic
> interface Ethernet1/48
>   switchport mode trunk
>   switchport trunk allowed vlan 41
>   service-policy type qos input qos-match-trafic
>
>
> Using iperf from host B to host A (udp, bandwidth = 110Mb/s), I get 50
> mb/s of trafic on host A. Normal.
>
> Trying to ping from host B to host A : ping -Q 0xB8 192.168.41.1 : about
> 50% loss. Here's my problem.
>
> show policy-map on ingress interface show that my icmp trafic is
> classified and attached to qos-group 1 :
>
> N3K-eqx-pa3-1# show policy-map interface ethernet 1/48 type qos
>
> Global statistics status :   enabled
> Global QoS policy statistics status :   enabled
>
> Ethernet1/48
>
>   Service-policy (qos) input:   qos-match-trafic
>     SNMP Policy Index:  285213088
>
>     Class-map (qos):   qos-match-prio (match-all)
>
>      Slot 1
>         6845 packets
>      Aggregate forwarded :
>         6845 packets
>       Match: dscp 46
>       set qos-group 1
>
>     Class-map (qos):   class-default (match-any)
>
>      Slot 1
>         12776799 packets
>      Aggregate forwarded :
>         12776799 packets
>       Match: any
>         12776799 packets
>       set qos-group 0
>
>
> N3K-eqx-pa3-1# show policy-map interface ethernet 1/24 type queuing
>
> Global statistics status :   enabled
> Global QoS policy statistics status :   enabled
>
> Ethernet1/24
>
>   Service-policy (queuing) input:   default-in-policy
>     SNMP Policy Index:  301990027
>
>     Class-map (queuing):   class-default (match-any)
>       bandwidth percent 100
>       queue dropped pkts : 0
>       queue depth in bytes : 0
>
>   Service-policy (queuing) output:   qos-queue-trafic
>     SNMP Policy Index:  301990282
>
>     Class-map (queuing):   qos-queue-prio (match-any)
>       priority level 1
>       queue dropped pkts : 0
>       queue depth in bytes : 0
>
>     Class-map (queuing):   class-default (match-any)
>       bandwidth percent 100
>       shape kbps 50000  min 0
>       queue dropped pkts : 0
>       queue depth in bytes : 0
>
> I don't see any stats here ...
>
> Thanks for your help.
> Regards
>


More information about the cisco-nsp mailing list