Hi Matt, Arie,

Yes, the documentation is incorrect in that section, I will work to get that updated.

Arie is right, you apply qos service policies to the vlan itself, not the SVI, in NXOS. That's to decouple SVI creation and policy application for vlans.

For an L2 switchport, L3 interface, or L3 subinterface:
int x/y[.z]
 service-policy in|out foo

For an entire VLAN:
vlan x
 service-policy in|out foo

Note however that in an upcoming release (5.1) we will be changing that to be in line with the new IOS convention of putting VLAN config under the "vlan-configuration" mode, like this:

vlan configuration x
 service-policy in|out foo

That change is to decouple VLAN creation and policy application for VLANs (specifically to support VTP client, where you may want to tie a policy to a VLAN that has not been learned through VTP yet).

Hope that helps,
Tim

At 06:43 AM 9/2/2010, Arie Vayner (avayner) vociferated:

Matt,

You should be able to apply the qos policy on the "vlan" (as opposed to
"interface vlan"):
Let me know if it works for you.

This is the doc, but I think it might be wrong (for the syntax) - let me
know, and I will see internally.
<http://www.cisco.com/en/US/docs/switches/datacenter/sw/5_x/nx-os/qos/con>http://www.cisco.com/en/US/docs/switches/datacenter/sw/5_x/nx-os/qos/con
figuration/guide/cpl.html#wp1056677

Arie


-----Original Message-----
From: cisco-nsp-boun...@puck.nether.net
[<mailto:cisco-nsp-boun...@puck.nether.net>mailto:cisco-nsp-boun...@puck.nether.net] On Behalf Of Matthew
Melbourne
Sent: Thursday, September 02, 2010 14:18
To: cisco-nsp@puck.nether.net
Subject: [c-nsp] N7k: Attaching a service-policy to an SVI

Hi,

Is it possible to attach a QoS service policy (in this case a simple
ICMP policier) to a VLAN interface on the N7k platform (NX-OS
5.0(2a))? The docs suggest it is possible, but the service-policy
command doesn't appear to be available in interface configuration mode
for an SVI (the command is present under a physical interface).

Cheers,

Matt

--
Matthew Melbourne
_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
<https://puck.nether.net/mailman/listinfo/cisco-nsp>https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at <http://puck.nether.net/pipermail/cisco-nsp/>http://puck.nether.net/pipermail/cisco-nsp/

_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
<https://puck.nether.net/mailman/listinfo/cisco-nsp>https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at <http://puck.nether.net/pipermail/cisco-nsp/>http://puck.nether.net/pipermail/cisco-nsp/




Tim Stevenson, tstev...@cisco.com
Routing & Switching CCIE #5561
Distinguished Technical Marketing Engineer, Cisco Nexus 7000
Cisco - http://www.cisco.com
IP Phone: 408-526-6759
********************************************************
The contents of this message may be *Cisco Confidential*
and are intended for the specified recipients only.


_______________________________________________
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to