Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

bgp-policy and service-policy

Hi,

Is it possible to configure both bgp-policy and service-policy for an interface ?

The idea is to limit bandwith input traffic based on as-path destinations (bgp-policy) and IP source address (service-policy) for an interface.

Thanks,

Sergio Ramirez

2 REPLIES
Bronze

Re: bgp-policy and service-policy

I think both the policies can be configured on the interface and there prevails no issues.

New Member

Re: bgp-policy and service-policy

Hi,

Thanks for the answer.

In depth, I want to limit bandwith of traffic from

source 111.222.32.0 255.255.240.0 and for destination

for AS 5555, on the input interface Fastethernet0/0.

I don't want to change IP Precedence or IP DSCP

value of the packets.

We would like to know if the following configuration should work.

Thanks again,

Sergio Ramirez

-----------------------------------------

route map ANT permit 10

match as-path 1

set ip qos-group 22

router bgp 1797

table-map ANT

ip as-path access-list 1 permit ^5555_

class-map match-all INGENIERIA

match qos-group 22

match access-group 30

policy-map INTERNET-R

class INGENIERIA

police 8100 1500 2504 conform-action transmit exceed-action drop

access-list 30 permit ip 111.222.32.0 255.255.240.0

interface fastehernet0/0

bgp-policy destination ip-qos-map

service-policy input INTERNET-R

---------------------------------------------------

252
Views
0
Helpful
2
Replies
CreatePlease to create content