API Guide

1. Create a queuing type class-map to match the queue.
OS10(config)# class-map type queuing example-cmap-eg-buffer
OS10(config-cmap-queuing)# match queue 1
2. Create a queuing type policy-map to define the actions for queues, such as a buffer configuration and threshold.
OS10(config)# policy-map type queuing example-pmap-eg-buffer
OS10(config-pmap-queuing)# class example-cmap-eg-buffer
OS10(config-pmap-c-que)# queue-limit queue-len 200 thresh-mode dynamic 5
Deep Buffer mode
NOTE: This feature is supported only on the S4200-ON series.
OS10 provides the flexibility to configure the buffer mode based on your system requirements.
The S4200-ON series switch comes with a default deep buffer size of 4.63 GB. You can use the hardware deep-buffer-
mode command to enhance the deep buffer size to 6.24 GB. For information about how to configure deep buffer mode, see
Configure Deep Buffer mode. The following lists the total buffer availability in the different modes:
Table 124. Buffer availability in different modes
Platform Default deep buffer Enhanced deep buffer
S4200ON series 4.63 GB 6.24 GB
Deep Buffer mode takes effect only after saving it in the startup configuration and reloading the switch.
NOTE: Disabling the Deep Buffer mode configuration during runtime is not supported.
Configuration notes
1. When the switch is in Deep Buffer mode, the PFC and LLFC features are not available. The following commands are not
supported:
priority-flow-control mode onConfigure Priority Flow Control mode on an interface.
service-policy input type network-qos policy-nameApply a network service policy on an interface.
flowcontrol transmit onConfigure flow control transmit.
pfc-max-buffer-size sizeConfigure maximum buffer size for PFC.
pfc-shared-buffer-size sizeConfigure shared buffer size for PFC.
NOTE:
To view the PFC, LLFC, or service policy configured on the interfaces, use show running-configuration
command. Use interface range command to disable network QoS-related configurations before enabling Deep Buffer
mode.
2. The other QoS features such as traffic classification, policing, marking, shaping, priority queuing, and scheduling are
supported in Deep Buffer mode.
Configure Deep Buffer mode
By default, Deep Buffer mode is disabled. To configure Deep Buffer mode on a switch, enable the mode, save the configuration,
and reload the switch for the feature to take effect.
NOTE: Disable all the network QoS configurations; for example, PFC and LLFC, before configuring the Deep Buffer mode.
To configure Deep Buffer mode:
1. Enable Deep Buffer mode in CONFIGURATION mode.
hardware deep-buffer-mode
1208
Quality of service