cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
356
Views
0
Helpful
0
Replies
Highlighted
Beginner

Rate-limit not work

Hello,

i have a cisco WS-C6506 with  WS-SUP720-3BXL with DFC and WS-X6704-10GE with DFC. Wen i config a rate limit on first interface from the line card, then not work thies:

sh policy-map

Policy Map TEST-RATE-LIMIT

    Class test-class

     police cir 1300000000 bc 1000000 be 1000000

       conform-action transmit

       exceed-action drop

       violate-action drop

sh policy-map int ten2/1

TenGigabitEthernet2/1

  Service-policy input: TEST-RATE-LIMIT

    class-map: test-class (match-all)

      Match: any

      police :

        1300000000 bps 1000000 limit 1000000 extended limit

      Earl in slot 2 :

        4023602288 bytes

        5 minute offered rate 80681024 bps

        aggregate-forwarded 4023602288 bytes action: transmit

        exceeded 0 bytes action: drop

        aggregate-forward 165610976 bps exceed 0 bps

    Class-map: class-default (match-any)

      0 packets, 0 bytes

      5 minute offered rate 0000 bps, drop rate 0000 bps

      Match: any

        0 packets, 0 bytes

        5 minute rate 0 bps

  Service-policy output: TEST-RATE-LIMIT

    class-map: test-class (match-all)

      Match: any

      police :

        1300000000 bps 1000000 limit 1000000 extended limit

      Earl in slot 1 :

        24690724821 bytes

        5 minute offered rate 498473592 bps

        aggregate-forwarded 24690724821 bytes action: transmit

        exceeded 0 bytes action: drop

        aggregate-forward 1074759400 bps exceed 0 bps

      Earl in slot 2 :

        22065021057 bytes

        5 minute offered rate 445357728 bps

        aggregate-forwarded 22065021057 bytes action: transmit

        exceeded 0 bytes action: drop

        aggregate-forward 886455288 bps exceed 0 bps

      Earl in slot 3 :

        13225223 bytes

        5 minute offered rate 266856 bps

        aggregate-forwarded 13225223 bytes action: transmit

        exceeded 0 bytes action: drop

        aggregate-forward 476928 bps exceed 0 bps

      Earl in slot 5 :

        52054 bytes

        5 minute offered rate 1240 bps

        aggregate-forwarded 52054 bytes action: transmit

        exceeded 0 bytes action: drop

        aggregate-forward 2008 bps exceed 0 bps

    Class-map: class-default (match-any)

      0 packets, 0 bytes

      5 minute offered rate 0000 bps, drop rate 0000 bps

      Match: any

        0 packets, 0 bytes

        5 minute rate 0 bps

TenGigabitEthernet2/1 is up, line protocol is up (connected)

  Hardware is C6k 10000Mb 802.3, address is 000f.35ea.8dc0 (bia 000f.35ea.8dc0)

  Description: xxx

  Internet address is xxx

  MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec,

     reliability 255/255, txload 49/255, rxload 4/255

  Encapsulation ARPA, loopback not set

  Keepalive set (10 sec)

  Full-duplex, 10Gb/s, media type is 10Gbase-LR

  input flow-control is on, output flow-control is off

  ARP type: ARPA, ARP Timeout 04:00:00

  Last input 00:00:00, output 00:00:00, output hang never

  Last clearing of "show interface" counters 06:11:03

  Input queue: 0/1000/0/0 (size/max/drops/flushes); Total output drops: 0

  Queueing strategy: fifo

  Output queue: 0/40 (size/max)

  5 minute input rate 159705000 bits/sec, 99859 packets/sec

  5 minute output rate 1926154000 bits/sec, 198328 packets/sec

  L2 Switched: ucast: 3 pkt, 192 bytes - mcast: 4809 pkt, 375110 bytes

  L3 in Switched: ucast: 1723342714 pkt, 368043824371 bytes - mcast: 0 pkt, 0 bytes mcast

  L3 out Switched: ucast: 3467509985 pkt, 4254727913921 bytes mcast: 0 pkt, 0 bytes

     1723276354 packets input, 368002389318 bytes, 0 no buffer

     Received 5220 broadcasts (0 IP multicasts)

     0 runts, 0 giants, 0 throttles

     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

     0 watchdog, 0 multicast, 0 pause input

     0 input packets with dribble condition detected

     3466607849 packets output, 4253412448878 bytes, 0 underruns

     0 output errors, 0 collisions, 1 interface resets

     0 babbles, 0 late collision, 0 deferred

     0 lost carrier, 0 no carrier, 0 PAUSE output

     0 output buffer failures, 0 output buffers swapped out

The interface ten2/2 work the rate-limit fine.

Can i help you.

Frank

0 REPLIES 0