Qos Example 2 - Cisco Nexus 5000 NX-OS Service Configuration Manual

Quality of service configuration guide, release 5.1 3 n2 1
Table of Contents

Advertisement

QoS Example 2

Procedure
Step 1
Step 2
Step 3
Step 4
QoS Example 2
This example shows how to use an access control list to apply 50% bandwidth to traffic on Ethernet interface
1/3 that matches traffic on Ethernet interface 1/1.
Cisco Nexus 5000 NX-OS Quality of Service Configuration Guide, Release 5.1(3)N2(1)
70
Command or Action
Set up the ingress classification policy
(the access control list was defined
previously).
Attach the classification policy to the
system.
Set up the system class allocation and
rewrite policy. Allocate the system
class for qos-group 4 and define the
rewrite action.
Attach the allocation and rewrite policy
to the system.
Purpose
(config)# class-map type qos cmap-qos-acl
(config-cmap-qos)# match access-group ACL-CoS
(config-cmap-qos)# exit
(config)# policy-map type qos pmap-qos-acl
(config-pmap-qos)# class cmap-qos-acl
(config-pmap-c-qos)# set qos-group 4
(config-pmap-c-qos)# exit
(config-pmap-qos)# exit
(config)# system qos
(config-sys-qos)# service-policy type qos input
pmap-qos-acl
(config-sys-qos)# exit
(config)# class-map type network-qos cmap-nq-acl
(config-cmap-nq)# match qos-group 4
(config-cmap-nq)# exit
(config)# policy-map type network-qos pmap-nq-acl
(config-pmap-nq)# class type network-qos
cmap-nq-acl
(config-pmap-c-nq)# set cos 5
(config-pmap-c-nq)# exit
(config-pmap-nq)# exit
(config)# system qos
(config-sys-qos)# service-policy type network-qos
pmap-nq-acl
(config-sys-qos)# exit
QoS Configuration Examples
OL-26657-01

Advertisement

Table of Contents
loading

Table of Contents