cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4388
Views
0
Helpful
3
Replies

Rate limit on the Nexus interface vlan

Mykola Sokolyk
Level 1
Level 1

Hello everyone!
How I can limit traffic speed on the interface vlan (Nexus 7000)?

 

Thanks!

3 Replies 3

Hello

I have never applied it to NXos - however  saying that here is an IOS mls qos example I have used:
 

class-map Policed_traffic
match input-inter x/x ( trunk interface orignating traffic from the vlan)


policy-map Policed_traffic_pm
police 1024000 32000 exceed-action drop


access-list 100 permit ip any any

class-map Policed_Vlan10_cm
match access-group 100


policy-map Policed_Vlan10_pm
class Policed_Vlan10_cm
service_policy Policed_traffic_pm

 

int vlan 10
service-policy input Policed_vlan10_pm

 

int xx (trunk links with vlan 10 traversing)
mls qos vlan-based

 

res

Paul

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks, Paul.

But it does not work for the NX-OS :(

 

int vlan 322

(config-if)# ?
  autostate       Enable or disable autostate for interface-vlan
  bandwidth       Set bandwidth informational parameter
  carrier-delay   Specify delay for interface transitions
  default         Undo a command
  delay           Specify interface throughput delay
  description     Interface specific description
  inherit         Inherit a port-profile
  ip              Configure IP features
  ipv6            Configure IPv6 features
  load-interval   Specify interval for load calculation for an interface
  mac-address     Manually set interface MAC address
  management      Allow in-band management access to VLAN Interface IP address
  medium          Configure Interface medium mode
  mtu             Set the interface Maximum Transmission Unit (MTU)
  no              Negate a command or set its defaults
  no              Negate a command or set its default
  ntp             NTP configuration
  shutdown        Enable/disable an interface
  site-of-origin  Site of Origin
  snmp            Modify SNMP interface parameters
  vrf             Configure VRF parameters
  end             Go to exec mode
  exit            Exit from command interpreter
  pop             Pop mode from stack or restore from name
  push            Push current mode to stack or save it under name
  where           Shows the cli context you are in

 

I have the same problem with on a Nexus 7010 6.2 . So we attach the policy directly to the VLAN with 

 

vlan configuration 233
service-policy type qos input Limite8mb
service-policy type qos output Limite8mb
 
But we have a lot of policing, so the TCAM capacity was over and we have another new problem. The cisco documentation say that is posible:
 
 
 
Review Cisco Networking products for a $25 gift card