S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
31-14
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 31 Configuring QoS
Configuring QoS on Interfaces
The following example shows that the system class best-effort-drop-class is guaranteed 20 percent of the
bandwidth on interface ethernet 1/1:
switch(config)#
class-map best-effort-drop-class
switch(config-cmap)#
match cos 5
switch(config)#
policy-map policy1
switch(config-pmap)#
class best-effort-drop-class
switch(config-pmap-c)#
bandwidth percent 20
switch(config)#
interface ethernet 1/1
switch(config-if)#
service-policy input policy1
Configuring Egress Policies
An egress policy is a service policy applied to the outgoing traffic on an Ethernet interface. You can
configure an egress policy to guarantee the bandwidth for the specified traffic class or to configure the
egress queues.
To configure an egress policy, perform this task:
Step 6
switch(config-pmap-c)
priority
(Optional) Specifies that ingress traffic in this class is
mapped to a strict priority queue.
Step 7
switch(config)#
interface
{
ethernet
slot
/
port
|
port-channel
channel-number
}
Enters configuration mode for the specified interface.
Note
The service policy on a port channel applies to
all member interfaces.
Step 8
switch(config-if)#
service-policy input
policy-name
Applies the policy map to the interface.
Command
Purpose
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
class-map
class-name
Defines a class name for the egress policy.
Step 3
switch(config)#
policy-map
policy-name
Creates a policy map to specify the QoS parameters
for the egress policy.
Step 4
switch(config-pmap)#
class
class-name
Associates the egress class with this policy and enters
configuration mode for the class.
Step 5
switch(config-pmap-c)
bandwidth percent
percentage
Specifies the guaranteed percentage of bandwidth
allocated to this class.
Step 6
switch(config-pmap-c)
priority
Specifies that egress traffic in this class is mapped to
a strict priority queue.
Step 7
switch(config)#
interface
{
ethernet
slot
/
port
|
port-channel
channel-number
}
Enters configuration mode for the specified interface.
Note
The service policy on a port channel applies to
all member interfaces.
Step 8
switch(config-if)#
service-policy output
policy-name
Applies the policy map to the interface.
Содержание N5010P-N2K-BE
Страница 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 101: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 2 LAN Switching ...
Страница 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 239: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 3 Switch Security Features ...
Страница 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 311: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 4 System Management ...
Страница 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 399: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 5 Fibre Channel over Ethernet ...
Страница 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 417: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 6 Quality of Service ...
Страница 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 435: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 7 SAN Switching ...
Страница 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Страница 657: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m P A R T 8 Troubleshooting ...
Страница 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...