Configuration Examples For Queuing And Scheduling; Example: Setting Ingress Port Cos Configuration; Example: Priority And Queue Limit 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

Configuration Examples for Queuing and Scheduling

Configuration Examples for Queuing and Scheduling

Example: Setting Ingress Port CoS Configuration

Note
Setting the ingress port CoS value makes the specified interfaces untrusted.
Note
Ensure that you are using the default queue for the port type that you are configuring. For information on the
default queue for the port types, see "Using Modular QoS CLI."
The following example shows how to configure ingress port CoS for 1-Gigabit Ethernet ports:
configure terminal
policy-map type queuing untrusted_port_cos
class type queuing 2q4t-in-q-default
set cos 5
interface ethernet 2/1
service-policy type queuing input untrusted_port_cos
The following example shows how to configure ingress port CoS for 10-Gigabit Ethernet ports:
configure terminal
policy-map type queuing untrusted_port_cos
class type queuing 8q2t-in-q-default
set cos 5
interface ethernet 2/1
service-policy type queuing input untrusted_port_cos

Example: Priority and Queue Limit Configuration

The following example shows how to configure the priority and queue limit 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
class-map type queuing match-any 1p3q4t-out-q3
match cos 0-2
policy-map type queuing priority_queue1
class type queue 1p3q4t-out-pq1
priority
class type queue 1p3q4t-out-q2
bandwidth remaining percent 60
queue-limit 1 mbytes
class type queue 1p3q4t-out-q3
bandwidth remaining percent 40
queue-limit 2 mbytes
Cisco Nexus 7000 Series NX-OS Quality of Service Configuration Guide
110
Configuring Queuing and Scheduling on M-Series I/O Modules

Advertisement

Table of Contents
loading

Table of Contents