Configuring or Modifying a Policy Map
Command or Action
Step 8
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
Configuring or Modifying a Policy Map
You can create or modify a policy map that you can use to define actions to perform on class maps.
SUMMARY STEPS
1. configure terminal
2. policy-map type qos { [match-first] policy-map-name}
3. exit
4. policy-map type queuing {[match-first] policy-map-name}
5. exit
6. show policy-map [type qos [ policy-map-name]]
7. show policy-map [type queuing [ policy-map-name | default-out-policy]]
8. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
policy-map type qos { [match-first] policy-map-name}
Example:
switch(config)# policy-map type qos policy1
switch(config-pmap-qos)#
Step 3
exit
Example:
switch(config-pmap)# exit
switch(config)#
Step 4
policy-map type queuing {[match-first] policy-map-name}
Example:
switch(config)# policy-map type queuing
policy_queue1
switch(config-pmap-que)#
Step 5
exit
Example:
Cisco Nexus 9000 Series NX-OS Quality of Service Configuration Guide, Release 7.x
30
Purpose
(Optional) Saves the running configuration to the startup
configuration.
Purpose
Enters global configuration mode.
Creates or accesses the policy map of type qos and then
enters policy-map mode. Policy-map names can contain
alphabetic, hyphen, or underscore characters, are case
sensitive, and can be up to 40 characters.
Exits policy-map mode and enters global configuration
mode.
Configures the policy map of type queuing and then enters
policy-map mode for the policy-map name you specify.
Policy-map names can contain alphabetic, hyphen, or
underscore characters, are case sensitive, and can be up to
40 characters.
Exits policy map mode and enters global configuration
mode.
Using Modular QoS CLI