QoS (CAR): problem with "conform-action continue" command -

From: Khurram Khani (kkhani@nortelnetworks.com)
Date: Mon Jan 13 2003 - 00:26:12 GMT-3


Hi All,

I am having problem with 'conform-action continue' command while configuring
CAR.

This is what I want:

- 50% WWW traffic on eth0
- 25% UDP traffic on eth0
- 25% IP traffic on eth0

I am sending traffic to Ethernet0 interface using Smart Bits at rate of 300
KBits/sec. Incoming traffic
has 3 streams , WWW , UDP, IP. Equal packet size for all streams (200
bytes).

When I try to limit total traffic to 64000 using 'conform-action continue
exceed-action drop' (1st command
for rate-limiting) I dont see (50%, 25%, 25%) rate-limit anymore at my output
probes. I am using Sniffer Pro
and Etherpeek to plot the output traffic graph.

interface Ethernet0/0
 description Connected to Smarts Bit Slot 1
 ip address 1.1.1.1 255.255.255.0
 rate-limit input 64000 2000 2000 conform-action continue exceed-action drop
 rate-limit input access-group 101 32000 2000 2000 conform-action transmit
exceed-action drop
 rate-limit input access-group 102 16000 2000 2000 conform-action transmit
exceed-action drop
 rate-limit input access-group 103 16000 2000 2000 conform-action transmit
exceed-action drop

!
access-list 101 permit tcp any any eq www
access-list 101 permit tcp any eq www any
access-list 102 permit udp any any
access-list 103 permit ip any any

When I remove the conform-action continue command , 50%, 25% , 25%
distribution works.

This config works!

interface Ethernet0/0
 description Connected to Smarts Bit Slot 1
 ip address 1.1.1.1 255.255.255.0
 rate-limit input access-group 101 32000 2000 2000 conform-action transmit
exceed-action drop
 rate-limit input access-group 102 16000 2000 2000 conform-action transmit
exceed-action drop
 rate-limit input access-group 103 16000 2000 2000 conform-action transmit
exceed-action drop

This is what my topology is

TrafficGenerator --->Eth0 (Router) Se0-----> Measuring Output traffic here
(Sniffer Pro)

Can anyone plz help me what am I doing wrong in my QoS config?? Attached is
full config.

3620-QoS#r
Building configuration...

Current configuration : 2072 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 3620-QoS
!
!
!
!
!
!
ip subnet-zero
no ip domain-lookup
!
!
!
!
!
!
!
!
interface Ethernet0/0
 description Connected to Smarts Bit Slot 1
 ip address 1.1.1.1 255.255.255.0
 rate-limit input 64000 2000 2000 conform-action continue exceed-action drop
 rate-limit input access-group 101 32000 2000 2000 conform-action transmit
exceed-action drop
 rate-limit input access-group 102 16000 2000 2000 conform-action transmit
exceed-action drop
 rate-limit input access-group 103 16000 2000 2000 conform-action transmit
exceed-action drop
 no ip route-cache
 no ip mroute-cache
 no cdp enable
!
interface Serial0/0
 ip address 34.1.1.2 255.255.255.0
 no ip route-cache
 no ip mroute-cache
 clockrate 64000
!
interface Ethernet0/1
 description Connected to Smarts Bit Slot 2
 ip address 2.2.2.1 255.255.255.0
 no cdp enable
!
router eigrp 1
 network 1.0.0.0
 network 2.0.0.0
 network 34.0.0.0
 auto-summary
 no eigrp log-neighbor-changes
!
ip classless
no ip http server
!
access-list 101 permit tcp any any eq www
access-list 101 permit tcp any eq www any
access-list 102 permit udp any any
access-list 103 permit ip any any
!
!
alias exec b1 debug ip bg up
alias exec b2 debug ip bgp eve
alias exec i show ip ro
alias exec dr1 debug ip rip
alias exec dr2 debug ip rip event
alias exec b show ip ro bg
alias exec u undebug all
alias exec r show run
alias exec g show ip ro ig
alias exec c config t
alias exec cl clear ip ro *
alias exec di debug ip packet
alias exec t show ip ei to
alias exec de1 debug ip ei
alias exec de2 debug ip eigrp neighbor 1 10.10.10.3
alias exec de3 debug ip eigrp neighbor 1 134.177.211.6
alias exec cle clear ip ei ne
alias exec on show ip os ne
alias exec od show ip os database
alias exec m show ip mroute
alias exec ci clear interface
alias exec si show interface
alias exec s show int se0/0
alias exec e show int eth0/0
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
 login
!
end

3620-QoS#
3620-QoS#
.



This archive was generated by hypermail 2.1.4 : Sat Feb 01 2003 - 07:33:48 GMT-3