Page 1 of 1

show qos statistics on 6450-48 and no data at Matches

Posted: 01 Feb 2021 14:27
by bonus0010
I would like to config qos for voice on vlan 150 but I am not sure whether my confire is right. I used following command.

qos trust ports
policy condition vp source vlan 150 802.1p 5 inner 802.1p 5
policy action acvp 802.1p 5
policy rule ruvp condition vp action acvp
qos apply

my config on port which computer and ipphone are connected
show vlan port 1/1

Code: Select all

  vlan     type      status
--------+---------+--------------
   101    default   forwarding
   150    qtagged   forwarding
* remark
vlan 101 for data
vlan 150 for voice

but when I used "show qos statistics" command. there was no any data at Matches column

Code: Select all

QoS stats
                            Events   Matches     Drops
  L2                   :         0         0         0
  L3 Inbound           :  10796588         0         0
  L3 Outbound          :  10464464         0         0
  IGMP Join            :         0         0         0
  Fragments            : 0
  Bad Fragments        : 0
  Unknown Fragments    : 0
  Sent NI messages     : 0
  Received NI messages : 7296347
  Failed NI messages   : 0
  Load balanced flows  : 0
  Reflexive flows      : 0
  Reflexive correction : 0
  Flow lookups         : 0
  Flow hits            : 0
  Max PTree nodes      : 1
  Max PTree depth      : 1
  Spoofed Events       : 0
  NonSpoofed Events    : 0
  DropServices         : 0
  L2TP                 : 0
  L2TP Drop            : 0
  L2TP Match           : 0
please advise me

Re: show qos statistics on 6450-48 and no data at Matches

Posted: 02 Feb 2021 02:28
by silvio
you condition includes already the prio at L2. This means this 802.1p entry has to include in the incomming packets to match.
But your action is to set this entry (if the condition matches).
change your condition to: policy condition vp source vlan 150
also add in the action the L3 prio (best practice): policy action acvp 802.1p 5 dscp 46

For checking use the command "show active policy rule"
BR Silvio

Re: show qos statistics on 6450-48 and no data at Matches

Posted: 02 Feb 2021 21:30
by bonus0010
thank you silvio
I will try it like you advise me

Re: show qos statistics on 6450-48 and no data at Matches

Posted: 03 Feb 2021 16:05
by bonus0010
Now I haven't had a chance yet to change the policy on my config
but when I used command "show active policy rule" it is show at Matches like below

Code: Select all

-> show active policy rule 
             Policy               From  Prec Enab  Act Refl Log Trap Save Def Acc   Matches
 ruvp                              cli     0  Yes  Yes   No  No  Yes  Yes Yes  No   4206589
  (L2/3):                             vp -> acvp
but when I used command "show qos statistics" at Matches column show 0

Re: show qos statistics on 6450-48 and no data at Matches

Posted: 04 Feb 2021 14:07
by silvio
but you can delete the old policy rule and write down a new one.