Tuesday, January 15, 2019

Set MTU on Nexus 5672

I'm running into a wall here, I have a Nexus 5672 that I am trying to adjust the MTU for certain Layer 2 traffic.

This switch is weird as the MTU is set per QoS class/value as opposed to per-interface.

I don't want to set the class-default traffic to MTU 9216 in the case that my Layer-3 SVI MTUs would change, I don't want OSPF to stop working because of MTU mismatch.

What I'm trying to do, best case, would be to set a specific VLAN to 9216.

I've tried setting up a vlan policy as defined here

But I think I don't have my class-map set up correctly, or I am not applying it correctly.

Here's what I've got so far: (only relevant info is included and santized)

ip access-list TEST-ACL 10 permit ip any any ! class-map type qos match-all test-class match access-group name TEST-ACL ! policy-map type qos test-mtu-policy class test-class set qos-group 1 ! hardware profile tcam feature interface-qos limit 100 ! vlan configuration 321 service-policy type qos input test-mtu-policy ! class-map type network-qos nq1 match qos-group 1 ! policy-map type network-qos nq-policy class type network-qos nq1 mtu 9216 class type network-qos class-default ! system qos service-policy type network-qos nq-policy ! 

Thanks in advance!



No comments:

Post a Comment