22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

============================<br />

policy-map type network-q<strong>os</strong> default-nq-8e-policy<br />

class type network-q<strong>os</strong> c-nq-8e<br />

match c<strong>os</strong> 0-7<br />

congestion-control tail-drop<br />

mtu 1500<br />

N7K-2#<br />

When the default policy is changed to a no-drop policy, notable changes can be observed, as<br />

shown in Example 10-6.<br />

Example 10-6. Configuring a No-Drop Systemwide network-q<strong>os</strong> Policy<br />

Click here to view code image<br />

N7K-2# config<br />

Enter configuration comm<strong>and</strong>s, one per line. End with<br />

CNTL/Z.<br />

N7K-2(config)# system q<strong>os</strong><br />

N7K-2(config-sys-q<strong>os</strong>)# service-policy type network-q<strong>os</strong><br />

default-nq-7e-policy<br />

N7K-2(config-sys-q<strong>os</strong>)# show policy-map system type<br />

network-q<strong>os</strong><br />

Type network-q<strong>os</strong> policy-maps<br />

============================<br />

policy-map type network-q<strong>os</strong> default-nq-7e-policy<br />

class type network-q<strong>os</strong> c-nq-7e-drop<br />

match c<strong>os</strong> 0-2,4-7<br />

congestion-control tail-drop<br />

mtu 1500<br />

class type network-q<strong>os</strong> c-nq-7e-ndrop-fcoe<br />

match c<strong>os</strong> 3<br />

match protocol fcoe<br />

pause<br />

mtu 2112<br />

N7K-2(config-sys-q<strong>os</strong>)#<br />

Comparing the two policies, the primary difference is the addition of a no-drop class for<br />

FCoE traffic on CoS 3. This is FCoE’s default CoS—notice the larger MTU to<br />

accommodate the bigger frame sizes. The application of this policy also shows on Ethernet<br />

interfaces, as shown in Example 10-7, where Ethernet 3/1 is a F1 module capable of<br />

supporting FCoE, <strong>and</strong> Ethernet 4/1 is an M series module that cannot support FCoE.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!