Displaying Class-Based Quality-Of-Service Mib Configuration And Statistics - Cisco Nexus 5600 Series Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 5600 Series:
Table of Contents

Advertisement

Displaying Class-based Quality-of-Service MIB Configuration and Statistics

Step 13
Step 14
Step 15
Step 16
Step 17
Step 18
This example shows how to configure a QoS policy on a switch:
This is a generic example to configure a QoS policy.
Note
switch# configure terminal
switch(config)# snmp-server community public rw
switch(config)# snmp-server community private rw
switch(config)# class-map type qos match-any cmap1
switch(config-cmap-qos) # description class map 1
switch(config-cmap-qos) # match cos 4
switch(config-cmap-qos) # match dscp 48
switch(config-cmap-qos) # exit
switch(config) # policy-map type qos pmap1
switch(config-pmap-qos) # description policy map 1
switch(config-pmap-qos) # class cmap1
switch(config-pmap-c-qos) # set qos-group 4
switch(config-pmap-c-qos) # exit
switch(config-pmap-qos) # exit
switch(config) # interface ethernet 1/3
switch(config-if) # service-policy type qos input pmap1
Displaying Class-based Quality-of-Service MIB Configuration and Statistics
Procedure
Step 1
Cisco Nexus 5600 Series NX-OS System Management Configuration Guide, Release 7.x
326
Command or Action
switch(config-pmap-c-qos) # exit
switch(config-pmap-qos) # exit
switch(config) # interface type number
switch(config-if) # service-policy type
qos input policy-map-name
switch(config-if) # exit
switch(config) # copy running-config
startup-config
Command or Action
$ snmpwalk -v2c -c community-name
ip-address oid
Class-based Quality-of-Service MIB
Purpose
Exits the policy-map type qos class configuration
mode.
Exits the policy-map qos configuration mode.
Enters the interface configuration mode.
Applies the service policy map to packets coming
into the mentioned interface.
Exits the interface configuration mode.
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
Purpose
Displays class-map and policy-map configuration and
statistics.
Use the snmpwalk command on an
Note
SNMP-enabled server.
OL-31641-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents