Okay, so if not VLAN, how about per-subnet? I have a dedicated subnet for my NFS traffic which I would like to get marked or placed into the Silver queue. Although I have an L3 daughter card installed, I'm not doing any routing on the N5K, so that said, let me know if the following is not possible.
Here's a partial config of what I'm trying to do. While per-VLAN QoS may not be possible, can I not use an access-list to match the appropriate subnet I'm expecting, refer to that access list in the "Silver_Traffic" class-map, then apply that class-map globally? And what exactly does that do? Surely it doesn't inspect the L3 header of each frame and match it against that ACL.
Sorry for the ambiguity, I'm still learning some of this stuff.
ip access-list MATCH_NFS_SUBNET
permit ip 192.168.2.0 0.0.0.255 any
class-map type qos class-fcoe
class-map type qos match-all Silver_Traffic
match access-group name MATCH_NFS_SUBNET
policy-map type qos Global_Classify
set qos-group 2
set qos-group 4
set qos-group 1
set qos-group 0
service-policy type qos input Global_Classify
config that you have posted does the following:
since it's aplied under "system qos" if checks traffic on all incomming interfaces and if traffic fails under conditions of certain class (ip range, cos, protocol etc...) it will be put in appropriate qos-group.
For example if traffic from range 192.168.2.0/24 enters the switch - it will be marked with qos-group 4
Then you will need to create som further policies that will influence on outgong traffic maked with this group: bandwidth etc...
But before modifying qos read QoS config guide carefuly, because it can lead to many issues in the network.
Something like this? (This would be in addition to the config shown above)
class-map type network-qos Silver_Traffic_NQ
match qos-group 4
policy-map type network-qos Setup_QOS
class type network-qos Silver_Traffic_NQ
set cos 4
service-policy type network-qos Setup_QOS
That's interesting that it can still do L3 inspection on all switchports even though I'm not doing any routing of any kind on this switch - isn't that terribly inefficient?