08-05-2012 05:47 PM - edited 03-07-2019 08:09 AM
Hi,
I am trying to limit the incoming and outgoing traffic on a l2 port to 8mbps for a ip subnet within the nexus 7000. The port is connected to my ISP router which has a bandwidth of 20mbps.
I read thru a few articles and it seems there is no way to do that. Policing won't work on a l2 Port and shaping cannot be applied on a port level. Am I right?
https://supportforums.cisco.com/thread/2045274
Any approach how I can do it? In
I have been reading thru the qos guide for nexus release v6 and have problems understanding the different queues.
Thanks.
08-05-2012 07:48 PM
Any approach how I can do it?
Who provides the router?
08-05-2012 08:05 PM
did you try match access-group under the calss map and then use this class map in your policy map with plicing
hope this help
08-05-2012 10:01 PM
Hi Guys,
Thanks for the reply.
My Nexus 7K is doing BGP peering with the ISP router.
I did the following
---------------------------------------------------------------------------------------
ip access-list Test_ACL
permit ip 10.0.0.1/27 any
policy_map Test_8mbps
class Test_ACL
police cir 8000000 pir 8000000 violate drop
int eth 4/2
service-policy output Test_8mbps
---------------------------------------------------------------------------------------
and i got the following error
---------------------------------------------------------------------------------------
N7K(config-if)# service-policy output Test_8mbps
ERROR: Unable to perform the action due to incompatiblity: Module 1, 2, 4 returned status "Egress policy on an L2 interface is not supported"
---------------------------------------------------------------------------------------
I tried using queuing
---------------------------------------------------------------------------------------
Policy-map type queuing Test-2Mbps-in
class type queuing 2q4t-in-q-default
bandwidth 2 mpbs
int eth 4/2
service-policy type queuing input Test-2Mbps-in
---------------------------------------------------------------------------------------
Doesn't seem to work.
It is still showing more than 2mbps when i do a show interface int eht 4/2. Should i be using "show policy-map interface ethernet 4/2" to confirm?
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