04-21-2013 01:01 AM - edited 03-07-2019 12:56 PM
hi ,
i have cisco 7604 and i have interface with many subinterface on it .
i want to limit the bw on one of the subinterfaces to 4 M upload , 4M down .
i tried the command ratelimit but it is not working it seems the speed is opened !!
i read littile and found that we can do it by class-map
i tried it , but it is not working .
here is my config below which i used :
============================================
class-map match-all rate-limit
match access-group name rate-limit
!
policy-map cisco
class rate-limit
police cir 4000000 conform-action transmit exceed-action drop
=================================
interface GigabitEthernet1/2.5
description vlan5gateway
encapsulation dot1Q 5
ip address 1x.x.x.1 255.255.255.224
service-policy input cisco
service-policy output cisco
============================
ip access-list extended rate-limit
permit ip 176.58.79.0 0.0.0.31 any
===============================
also whey i type sh ip access-list rate-limit
there is no mtaching !!
=====================
ios version :
Gateway7600#sh version
Cisco IOS Software, c7600s3223_rp Software (c7600s3223_rp-ADVENTERPRISEK9-M), Version 15.2(4)S, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Fri 20-Jul-12 18:18 by prod_rel_team
ROM: System Bootstrap, Version 12.2(17r)SX3, RELEASE SOFTWARE (fc1)
BOOTLDR: Cisco IOS Software, c7600s3223_rp Software (c7600s3223_rp-ADVENTERPRISEK9-M), Version 15.2(4)S, RELEASE SOFTWARE (fc1)
Gateway7600 uptime is 1 day, 4 hours, 36 minutes
Uptime for this control processor is 1 day, 4 hours, 36 minutes
System returned to ROM by power-on (SP by power-on)
System image file is "sup-bootdisk:c7600s3223-adventerprisek9-mz.152-4.S.bin"
Last reload type: Normal Reload
Last reload reason: Reload Command
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
cisco CISCO7604 (R7000) processor (revision 2.0) with 458752K/65536K bytes of memory.
Processor board ID FOX1509G2DK
R7000 CPU at 300MHz, Implementation 39, Rev 3.3, 256KB L2, 1024KB L3 Cache
Last reset from power-on
1 Virtual Ethernet interface
9 Gigabit Ethernet interfaces
1915K bytes of non-volatile configuration memory.
65536K bytes of Flash internal SIMM (Sector size 512K).
Configuration register is 0x2102
===============================================
04-21-2013 10:05 AM
Hello
Have you enabled mls qos ?
Conf t
mls Qos
Can you verify your acl is specifying the LAN traffic you want to police
FYI-
Usually you police inbound on lan traffic before its queued to go out onto the wan and shape outbound on the wan interface.
Regards your inbound policy,this will not police your wan traffic coming in over the wan link this need to be managed from the other side. What your policy will do police the traffic to4mb as it goes into your LAN via this sub interface
Res
Paul
Sent from Cisco Technical Support iPad App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide