[c-nsp] rate-limiting in Port Channels

Gordon Bezzina gordon.bezzina at bell.net.mt
Mon Nov 20 04:01:59 EST 2006


Hello,

I was to clarify something,

I am having problems using rate-limiting a port-channel sub-interface.

System is a 7513 running 12.3(16)

Following are parts of the particular config file. Names & IP have been
removed.

interface Port-channel3
 no ip address
 ip route-cache flow
 full-duplex
 standby use-bia
 hold-queue 150 in
end

interface Port-channel3.15
 encapsulation dot1Q 15
 ip vrf forwarding VF
 ip address A.B.C.D1 255.255.255.240
 rate-limit input 2048000 64000 64000 conform-action transmit exceed-action
drop
 rate-limit output 2048000 64000 64000 conform-action transmit exceed-action
drop
 no snmp trap link-status
 standby 15 ip A.B.C.D2
 standby 15 timers 5 15
 standby 15 priority 210
 standby 15 preempt
!

interface FastEthernet3/0/0
 no ip address
 ip route-cache flow
 full-duplex
 channel-group 3
end

interface FastEthernet3/1/0
 no ip address
 ip route-cache flow
 full-duplex
 channel-group 3
end



c7513#sh int Port-channel3.15 rate-limit
Port-channel3.15
  Input
    matches: all traffic
      params:  2048000 bps, 64000 limit, 64000 extended limit
      conformed 1040101 packets, 96750361 bytes; action: transmit
      exceeded 0 packets, 0 bytes; action: drop
      last packet: 2616ms ago, current burst: 0 bytes
      last cleared 4w6d ago, conformed 0 bps, exceeded 0 bps
  Output
    matches: all traffic
      params:  2048000 bps, 64000 limit, 64000 extended limit
      conformed 0 packets, 0 bytes; action: transmit
      exceeded 0 packets, 0 bytes; action: drop
      last packet: 3348487436ms ago, current burst: 0 bytes
      last cleared 4w6d ago, conformed 0 bps, exceeded 0 bps


As you can see the input queue is passing traffic but the output queue is
clearly not working because nothing is being marked. In fact I can pass more
traffic then it should allow.

Is this a known issue/feature with port channels?

By the way, the same configuration but on an fast Ethernet, instead of a
port-channel works perfectly.

Tkz/Regards
Gordon




More information about the cisco-nsp mailing list