[c-nsp] shape withing policy map

Marko Milivojevic markom at markom.info
Tue Nov 25 00:48:43 EST 2008


You made a small configuration mistake.

> Enter configuration commands, one per line.  End with CNTL/Z.
> JID_CORE_Router(config)#policy-map CMS
> JID_CORE_Route(config-pmap-c)#shape average 1000000
> JID_CORE_Route(config-pmap-c)#
>
> It takes the command just fine.

You need to aply shape command under the class, not under the policy-map:

policy-map CMS
 class CMS
  shape average ...
!
! Note that shape uses Kb/s and not b/s.

However, you may find that this may not work on an ATM interface.

--
Marko
CCIE #18427 (SP)
My network blog: http://cisco.markom.info/


More information about the cisco-nsp mailing list