[c-nsp] about policy-map

Muhammad Salman Zahid gregariouspearl at gmail.com
Wed Mar 25 02:22:00 EDT 2009


ip access-list extended IP-Pool-Allowed
permit ip any 192.168.0.0 0.0.0.255
permit ip 192.168.0.0 0.0.0.255 any

ip access-list extended IP-All
permit ip any any


Class-map match-all IP-Pool-Allowed
match access-group name IP-Pool-Allowed

Class-map match-all IP-All
match access-group name IP-All

Policy-map PPPoE
class IP-All
police cir 256000 bc 16000 be 16000 conform-action set-dscp-transmit default
exceed-action drop violate-action drop
class IP-Pool-Allowed
police cir 512000 bc 16000 be 16000 conform-action set-dscp-transmit default
exceed-action drop violate-action drop

int [Name]
service-policy input PPPoE
Service-policy output PPP0E
*Note: This Policy can also be pushed via AAA Server.*
**
*MSZ*



On Wed, Mar 25, 2009 at 8:31 AM, Tseveendorj <tseveendorj at gmail.com> wrote:

> Hello,
>
> Is it possible to use policy-map if the packet goes to specific IP address.
>
> example:
>
> If packet goes to subnet 192.168.0.0/24 then router  should use policy-map
> 512Kbps.
>
> If packet goes to subnet any then router  should use policy-map 256Kbps.
>
> How to do it with PPPoE.
>
> Really appreciate for any help.
>
> Sincerely,
> Tseveen.
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>



-- 
"Death is no the greatest loss in life ....
The greatest loss is what dies inside
 you while U live...!"


More information about the cisco-nsp mailing list