10-20-2005 05:48 AM - edited 03-03-2019 10:46 AM
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
10-26-2005 06:47 AM
I think both the policies can be configured on the interface and there prevails no issues.
10-26-2005 11:02 AM
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
---------------------------------------------------
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide