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.

4q-8e-in-testing<br />

Policy map name (type queuing)<br />

4q-8e-inchanged<br />

Policy map name (type queuing)<br />

> Redirect it to a file<br />

>> Redirect it to a file in<br />

append mode<br />

default-4q-8e-in-policy Default 8-ethernet input<br />

queuing policy<br />

default-4q-8e-out-policy Default 8-ethernet output<br />

queuing policy<br />

default-in-policy<br />

Policy map name (type queuing)<br />

default-out-policy Policy map name (type queuing)<br />

| Pipe comm<strong>and</strong> output to filter<br />

N7K-2# show policy-map type queuing 4q-8e-in-testing<br />

Type queuing policy-maps<br />

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

policy-map type queuing 4q-8e-in-testing<br />

class type queuing 2q4t-8e-in-q1<br />

queue-limit percent 10<br />

b<strong>and</strong>width percent 50<br />

class type queuing 2q4t-8e-in-q-default<br />

queue-limit percent 90<br />

b<strong>and</strong>width percent 50<br />

N7K-2#<br />

The second option would be to define a new policy with a unique name <strong>and</strong> apply it. There<br />

is no functional difference between the two options other than simplified use with the first<br />

option <strong>and</strong> changing an already existing policy. Advanced network administrators may want<br />

to use the second option.<br />

Using the first option after the policy has been copied, changes can be made. In Example 10-<br />

13, the copy made from the default template is modified to adjust queue depth.<br />

Example 10-13. Modifying Queue Depth on Copied Policy<br />

Click here to view code image<br />

N7K-2# show int e3/1<br />

N7K-2# config<br />

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

CNTL/Z.<br />

N7K-2(config)# policy-map type queuing 4q-8e-in-testing

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

Saved successfully!

Ooh no, something went wrong!