cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
403
Views
0
Helpful
2
Replies

bgp-policy and service-policy

sramirez
Level 1
Level 1

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 2

pradeepde
Level 5
Level 5

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

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card