[nsp] Class Based DWFQ Configuration Cisco 7500 RSP-2

From: Gurpreet Singh (gsingh1@telcordia.com)
Date: Fri Jan 05 2001 - 10:28:53 EST


Folks

Here is the brief description for what i am trying to do. It will be a great
help if any one can provide some input.

Objective
To test the Class Based WFQ Configuration on the Cisco Router.

I am attaching the the Configuration file for the router.

I am using the two POS interfaces of the router POS4/0/0 and POS5/0/0

Transmitting traffic to POS4/0/0 destined for equipment attached to POS5/0/0.

Two streams of traffic are being generated. One with Precedence set to 5 at data
rate 31 Mbps and second with Precedence set to 0 at data rate
 130 Mbps.

Following access-list is configured

access-list 101 permit ip any any dscp cs5

The Class1 is configured for Bandwidth 50 Mbps. and Policy1 which is
implementing class1 is configured on the POS5/0/0
Policy-map matches the access-group 101
Following are the results i get when i run the traffic through the router.

Problem 1.

The command "show access-list 101" gives the output

Extended IP access list 101
    permit ip any any dscp cs5 (231272 matches)

Which means the traffic with Precedence 5 is matched by the access-list. So the
access-list is configured properly.

Whereas the command "show policy-map interface pos5/0/0" gives

butthead#sh policy-map interface pos5/0/0
 POS5/0/0
 output : policy1
  Class class1
   Weighted Fair Queueing
       Output Queue: Conversation 265
         Bandwidth 50000 (kbps) Max Threshold 1 (packets)
         (pkts matched/bytes matched) 0/0
         (pkts discards/bytes discards/tail drops) 0/0/0
  Class class-default
   Weighted Fair Queueing
       Output Queue: Conversation 266
         Bandwidth 1000 (kbps) Max Threshold 1 (packets)
         (pkts matched/bytes matched) 0/0
         (pkts discards/bytes discards/tail drops) 0/0/0

Which means none of the packets are matched by the service-policy.

Problem 2.

       Inspite of Class1 configured for 50Mbps and traffic transmitted with
Precedence 5 is 31Mbps i see packet drop for Precedence 5 traffic at the output
of POS5/0/0

      Whereas since there is congestion on the POS5/0/0 and policy-map
configured to 50Mbps, i should not see any packet drop for the traffic with
Precedence 5 and only packets with Precedence 0 should be dropped.

I have been trying to figure out for quite a while.

Thanks a lot for your help.

Gurpreet

(See attached file: CBWFQ-confg)





This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:24 EDT