Example: Shaping And Tail Drop Configuration; Example: Bandwidth And Wred Configuration - Cisco Nexus 7000 Series Configuration Manual

Nx-os quality of service configuration guide
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring Queuing and Scheduling on M-Series I/O Modules

Example: Shaping and Tail Drop Configuration

The following example shows how to configure the shaping and tail drop features:
configure terminal
class-map type queuing match-any 1p3q4t-out-pq1
match cos 5-7
class-map type queuing match-any 1p3q4t-out-q2
match cos 3-4
policy-map type queuing shape_dt
class type queue 1p3q4t-out-pq1
shape percent 50
queue-limit cos 5 percent 10
queue-limit cos 6 percent 10
class type queue 1p3q4t-out-q2
shape percent 25
queue-limit cos 4 percent 15
Note
If the priority keyword is not specified for a pq1 queue, the queue is considered as a normal queue, not a
priority queue.

Example: Bandwidth and WRED Configuration

The following example shows how to configure the bandwidth and WRED features for COS queues:
configure terminal
class-map type queuing match-any 1p3q4t-out-pq1
match cos 5-7
class-map type queuing match-any 1p3q4t-out-q2
match cos 3-4
policy-map type queuing bandwidth_wred
class type queuing 1p3q4t-out-pq1
bandwidth percent 50
random-detect cos-based
random-detect cos 5 minimum-threshold percent 10 maximum-threshold percent 30
random-detect cos 6 minimum-threshold percent 40 maximum-threshold percent 60
class type queuing 1p3q4t-out-q2
bandwidth percent 25
random-detect cos-based
random-detect cos 4 minimum-threshold percent 20 maximum-threshold percent 40
The following example shows how to configure the bandwidth and WRED features for DSCP queues:
configure terminal
class-map type queuing match-any 8q2t-in-q1
match dscp 5-6
class-map type queuing match-any 8q2t-in-q2
match dscp 0-4
policy-map type queuing dscp_wred
class type queuing 8q2t-in-q1
bandwidth percent 50
random-detect dscp-based
random-detect dscp 5 minimum-threshold percent 10 maximum-threshold percent 30
random-detect dscp 6 minimum-threshold percent 40 maximum-threshold percent 60
class type queuing 8q2t-in-q2
bandwidth percent 25
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
Example: Shaping and Tail Drop Configuration
111

Advertisement

Table of Contents
loading

Table of Contents