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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

delayed in the switch. The primary consideration for using the strict priority queue is to be<br />

careful about what traffic is mapped into the priority queue. Inadvertently mapping too much<br />

traffic into the priority queue can create a situation called queue starvation. In queue<br />

starvation, the strict priority queue constantly has traffic in it that needs to be serviced, <strong>and</strong><br />

the other queues on the interface do not get access to transmit their data <strong>and</strong> in essence<br />

starve.<br />

The M-series modules can support the 1P queue as a strict priority queue when the priority<br />

comm<strong>and</strong> is added to the queue; otherwise, it is a regular queue. This is default behavior as<br />

illustrated by the priority level 1 comm<strong>and</strong>. Example 10-8 illustrates the use of the priority<br />

comm<strong>and</strong> on the queue.<br />

Example 10-8. Displaying a Strict priority Queue on an M Series Module<br />

Click here to view code image<br />

N7K-2# show mod 4 | i Mod<br />

Mod Ports Module-<br />

Type Model Status<br />

4 8 10 Gbps Ethernet XL Module N7K-M108X2-<br />

12L ok<br />

N7K-2# show policy-map int e4/2 type queuing<br />

Global statistics status :<br />

enabled<br />

Ethernet4/2<br />

Service-policy (queuing) input:<br />

SNMP Policy Index: 301991185<br />

default-in-policy<br />

Class-map (queuing): in-q1 (match-any)<br />

queue-limit percent 50<br />

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

queue dropped pkts : 0<br />

Class-map (queuing): in-q-default (match-any)<br />

queue-limit percent 50<br />

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

queue dropped pkts : 0<br />

Service-policy (queuing) output:<br />

SNMP Policy Index: 301991194<br />

default-out-policy<br />

Class-map (queuing):<br />

priority level 1<br />

out-pq1 (match-any)

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

Saved successfully!

Ooh no, something went wrong!