[nsp] rate limiting a switch port
Clinton Work
work@scripty.com
Thu, 1 Aug 2002 16:09:19 -0600
The 6500 only support input policing on ports.
Hybrid mode:
! Only need to enable qos once
set qos enable
! You need a policer per port otherwise the limit will apply to all mapped ports
set qos policer aggregate 2meg rate 1500 policed-dscp erate 1500 drop burst 6400
set qos acl ip customera trust-ipprec aggregate 2meg ip any any
commit qos acl 2meg
set port qos 4/1 port-based
set qos acl map 2meg 4/1
Native IOS:
!------------MQC definition-------------------------------------
!- Only need to define once unlike Hybrid mode
class-map match-all 2meg
match any
!
policy-map 2meg
class 2meg
shape average 2000000 6400 6400
!---------- Interface configuration ---------------------------
interface FastEthernet9/1
no ip address
logging event link-status
service-policy input 2meg
switchport mode access
switchport ...
On Thu, Aug 01, 2002 at 03:30:15PM -0500, Brad Bonin (bbonin) wrote:
>
> Does the 6500 have an MSFC? Are you running in native or hybrid mode?
>
> brad@cisco.com
>
> -----Original Message-----
> From: cisco-nsp-admin@puck.nether.net
> [mailto:cisco-nsp-admin@puck.nether.net] On Behalf Of matthew zeier
> Sent: Thursday, August 01, 2002 12:54 PM
> To: cisco-nsp@puck.nether.net
> Subject: [nsp] rate limiting a switch port
>
>
>
> On a 6500, what's the syntax to rate limit a port to 2Mbps? I've read
> through the docs but am having a tough time getting the syntax right.
>
> Thanks.
>
>
> --
> matthew zeier | "In mathematics you don't
> understand
> InteleNet Communications, Inc. | things. You just get used to
> them."
> (949) 784-7904 | - John von Newmann
>
>
> _______________________________________________
> cisco-nsp mailing list real_name)s@puck.nether.net
> http://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
> _______________________________________________
> cisco-nsp mailing list real_name)s@puck.nether.net
> http://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
--
=========================================================================
Clinton Work clinton@scripty.com
Calgary, Alberta