[rbak-nsp] QoS policies (metering/policing) on dot1q child circuits

Ronald Voermans R.Voermans at global-e.nl
Thu Feb 19 08:26:21 EST 2009


Hello,

I have a question regarding our SSE100 (6.1.1.4).

We've configured several on-demand dot1q tunnels. Via radius we apply different QoS-policies on these circuits. When I do a 'show qos circuit', I se that the policies are applied to the circuit:

'show qos circuit 2/3 vland-id 1950:100 pppoe 6357 detail':
Circuit: 2/3 vlan-id 1950:100 pppoe 6357
----------------------------------------------------------

Policy Name       : sub10Mbit_UP
Policy Type       : policing
Hierarchical Type : None
Rate              : 10000             Rate Source       : local
Burst             : 1875000           Excess Burst      :

Policy Name       : sub10Mbit
Policy Type       : metering
Hierarchical Type : None
Rate              : 10000             Rate Source       : local
Burst             : 1875000           Excess Burst      :

However, when I look at the counters of this circuit, I do not see any conforms or exceeds. My guess is that the policies aren't really applied to this circuit?

'show dot1q counters 2/3 vlan-id 1950:100 pppoe 6357 detail':
Circuit: 2/3 vlan-id 1950:100 pppoe 6357, Internal id: 3/2/102, Encap: ether-dot1q-tunnel-pppoe-ppp-combined
 Packets                                 Bytes
-------------------------------------------------------------------------------
 Receive         :             19852276  Receive         :           2330263580
 Receive/Second  :                 0.67  Receive/Second  :               235.90
 Transmit        :             24350719  Transmit        :          28784702132
 Xmits/Queue                             Xmits/Queue
   0             :             24350719    0             :          28784702132
   1             :                    0    1             :                    0
   2             :                    0    2             :                    0
   3             :                    0    3             :                    0
   4             :                    0    4             :                    0
   5             :                    0    5             :                    0
   6             :                    0    6             :                    0
   7             :                    0    7             :                    0
   8             :                    0    8             :                    0
 Transmit/Second :                 0.73  Transmit/Second :               464.92
 IP Multicast Rcv:                    0  IP Multicast Rcv:                    0
 IP Multicast Tx :                    0  IP Multicast Tx :                    0
 Unknown Encaps  :                    0  Unknown Encaps  :                    0
 Down Drops      :                    0  Down Drops      :                    0
 Unreach Drops   :                    0  Unreach Drops   :                    0
 Adj Drops       :                    0  Adj Drops       :                    0
 WRED Drops Total:                    0  WRED Drops Total:                    0
 WRED Drops/Queue                        WRED Drops/Queue
   0             :                    0    0             :                    0
   1             :                    0    1             :                    0
   2             :                    0    2             :                    0
   3             :                    0    3             :                    0
   4             :                    0    4             :                    0
   5             :                    0    5             :                    0
   6             :                    0    6             :                    0
   7             :                    0    7             :                    0
 Tail Drops Total:                    0  Tail Drops Total:                    0
 Tail Drops/Queue                        Tail Drops/Queue
   0             :                    0    0             :                    0
   1             :                    0    1             :                    0
   2             :                    0    2             :                    0
   3             :                    0    3             :                    0
   4             :                    0    4             :                    0
   5             :                    0    5             :                    0
   6             :                    0    6             :                    0
   7             :                    0    7             :                    0

 IP Counters
 Soft GRE MPLS   :                    0  Soft GRE MPLS   :                    0
 Not IPv4 drops  :                    0  Not IPv4 drops  :                    0
 Unhandled IP Opt:                    0
 Bad IP Length   :                    0
 Bad IP Checksum :                    0
 Broadcast Drops :                    0

 PPP Counters
 Cntrl Rcv       :               541413  Cntrl Rcv       :             22739358
 Cntrl Tx        :               541414  Cntrl Tx        :             22739446
 Cntrl Drops Rcv :                    0
 Retries Rcv     :                    0
 Termreqs Rcv    :                    0

 PPPoE Counters
 Cntrl           :                    2  Cntrl           :                  151
 Session Drops   :                    0
 PADT Sent       :                    0
 PADR Drops      :                    0
 PADI Drops      :                    0
 PADT Drops      :                    1
 Bad Code        :                    0

 ARP Counters
 Drops           :                    0  Drops           :                    0
 Unreachable     :                    0  Unreachable     :                    0
 Rate Refresh Interval : 60 seconds


Whereas some circuits do have policing and metering policies applied, and they do show up in the counters:

Circuit: 2/3 vlan-id 1952:101 pppoe 13207, Internal id: 3/2/71, Encap: ether-dot1q-tunnel-pppoe-ppp-combined
 Packets                                 Bytes
-------------------------------------------------------------------------------
 Receive         :              9951654  Receive         :           2145452540
 Receive/Second  :                 0.15  Receive/Second  :                10.37
 Transmit        :              9612154  Transmit        :           2121365794
 Xmits/Queue                             Xmits/Queue
   0             :              9612154    0             :           2121365794
   1             :                    0    1             :                    0
   2             :                    0    2             :                    0
   3             :                    0    3             :                    0
   4             :                    0    4             :                    0
   5             :                    0    5             :                    0
   6             :                    0    6             :                    0
   7             :                    0    7             :                    0
   8             :                    0    8             :                    0
 Transmit/Second :                 0.13  Transmit/Second :                 8.58
 IP Multicast Rcv:                    0  IP Multicast Rcv:                    0
 IP Multicast Tx :                    0  IP Multicast Tx :                    0
 Unknown Encaps  :                    4  Unknown Encaps  :                  140
 Down Drops      :                  258  Down Drops      :                 9804
 Unreach Drops   :                    0  Unreach Drops   :                    0
 Adj Drops       :                    0  Adj Drops       :                    0
 WRED Drops Total:                    0  WRED Drops Total:                    0
 WRED Drops/Queue                        WRED Drops/Queue
   0             :                    0    0             :                    0
   1             :                    0    1             :                    0
   2             :                    0    2             :                    0
   3             :                    0    3             :                    0
   4             :                    0    4             :                    0
   5             :                    0    5             :                    0
   6             :                    0    6             :                    0
   7             :                    0    7             :                    0
 Tail Drops Total:                    0  Tail Drops Total:                    0
 Tail Drops/Queue                        Tail Drops/Queue
   0             :                    0    0             :                    0
   1             :                    0    1             :                    0
   2             :                    0    2             :                    0
   3             :                    0    3             :                    0
   4             :                    0    4             :                    0
   5             :                    0    5             :                    0
   6             :                    0    6             :                    0
   7             :                    0    7             :                    0

 Policing Counters
 Conform         :               291685  Conform         :             58774631
 Exceed          :                    0  Exceed          :                    0
 Exceed Drop     :                    0  Exceed Drop     :                    0

 Metering Counters
 Conform         :               281917  Conform         :             58861551
 Exceed          :                    0  Exceed          :                    0
 Exceed Drop     :                    0  Exceed Drop     :                    0

 IP Counters
 Soft GRE MPLS   :                    0  Soft GRE MPLS   :                    0
 Not IPv4 drops  :                    0  Not IPv4 drops  :                    0
 Unhandled IP Opt:                    0
 Bad IP Length   :                    0
 Bad IP Checksum :                    0
 Broadcast Drops :                    0

 PPP Counters
 Cntrl Rcv       :                 6538  Cntrl Rcv       :               248510
 Cntrl Tx        :               934302  Cntrl Tx        :             35508582
 Cntrl Drops Rcv :                    0
 Retries Rcv     :                    0
 Termreqs Rcv    :                    0

 PPPoE Counters
 Cntrl           :                  907  Cntrl           :                62608
 Session Drops   :                    7
 PADT Sent       :                    4
 PADR Drops      :                    0
 PADI Drops      :                    0
 PADT Drops      :                  241
 Bad Code        :                    0

 ARP Counters
 Drops           :                    0  Drops           :                    0
 Unreachable     :                    0  Unreachable     :                    0
 Rate Refresh Interval : 60 seconds


There is, as far as I can tell, absolutely no difference in both circuits. Am I doing something wrong/overlooking something, or can someone tell me why there are no counters (and thus apparently no applied policies) in most of the circuits?

Thanks in advance,

Regards,
Ronald Voermans
Global-e BV


More information about the redback-nsp mailing list