Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Limiting network speeds on Cisco devices

Limiting network speeds on Cisco devices 8 years 6 months ago #26108

  • toddwoo
  • toddwoo's Avatar
  • Offline
  • Distinguished Member
  • Posts: 173
  • Karma: 0
I'm having trouble getting an interface on a cisco device to rate limit.

I'm trying to cut down the speed of an interface that ties one area into our service provider.

I'm not even 100% sure there is a way to do this on a layer 2 switch.

Anyone got any thoughts?
The administrator has disabled public write access.

Re: Limiting network speeds on Cisco devices 8 years 6 months ago #26118

  • skepticals
  • skepticals's Avatar
  • Offline
  • Expert Member
  • Posts: 783
  • Karma: 0
I don't think you can rate limit on a layer 2 switch. I know you can do it on layer 2 device.

How are you trying to do it?
The administrator has disabled public write access.

Re: Limiting network speeds on Cisco devices 8 years 6 months ago #26136

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
Check the "speed" and "duplex" commands. For example:

[code:1]
switch(config-if)# speed ?

10 Force 10 Mbps operation
100 Force 100 Mbps operation
auto Enable AUTO speed configuration

switch(config-if)# speed 10
[/code:1]
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.

Re: Limiting network speeds on Cisco devices 8 years 6 months ago #26138

  • toddwoo
  • toddwoo's Avatar
  • Offline
  • Distinguished Member
  • Posts: 173
  • Karma: 0
Ack... Should have included what i'm trying.

I need to rate limit more granularly than 10 or 100 so using the line speed is out.

I'm using a policy on the interface.

config:

policy-map 5mblimit
class layer2
police 5240000 163750 163750 conform-action transmit exceed-action drop
!
!

f0/1
...
...
service-policy input 5mblimit
no shut


I have a bunch of different policy-maps made 5, 10, 25, 50. But i'm not seeing the speed limited the way I would believe it should be.

Is this the right approach? Should I try something different?
The administrator has disabled public write access.

Re: Limiting network speeds on Cisco devices 8 years 6 months ago #26143

  • skepticals
  • skepticals's Avatar
  • Offline
  • Expert Member
  • Posts: 783
  • Karma: 0
Humm... I have never tried to rate-limit on a Layer 2 device.

How are you marking your traffic? What is the config for class layer2?
The administrator has disabled public write access.

Re: Limiting network speeds on Cisco devices 8 years 6 months ago #26146

  • toddwoo
  • toddwoo's Avatar
  • Offline
  • Distinguished Member
  • Posts: 173
  • Karma: 0
mac access-list extended layer2
permit any any

and

class-map match-all layer2
match access group name layer2

I'm pretty sketchy about all of this, which makes it pretty easy for me to screw things up...
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.080 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup