profile-config

Configures the port buffer, queue buffer, port descriptor, and queue descriptor for a port.
Syntax
profile-config { port-buffers buffer-number | port-descriptors descriptor-number | port-type { 0 | 1 | 2 | 3 } | queue-buffers egress-queue-number buffer-number | queue-descriptors egress-queue-number descriptor-number }
no profile-config { port-buffers buffer-number | port-descriptors descriptor-number | port-type { 0 | 1 | 2 | 3 } | queue-buffers egress-queue-number buffer-number | queue-descriptors egress-queue-number descriptor-number }
Command Default

The default port type is set to 1 Gbps.

The default buffers and descriptors are set according to the port type.

Parameters
port-buffers buffer-number
Configures the maximum buffer limit for the port.
port-descriptors descriptor-number
Configures the maximum descriptor limit for the port.
port-type
The port type for the user-configurable buffer profile.
0
Specifies the port type as 1 Gbps, 10 Gbps, or 40 Gbps.
1
Specifies the port type as 1 Gbps.
2
Specifies the port type as 10 Gpbs.
3
Specifies the port type as 40 Gbps.
queue-buffers
Configures the maximum buffer limit for the queues.
egress-queue-number
Specifies the egress queue number (0 through 7).
buffer-number
Specifies the buffer number.
queue-descriptors
Configures the maximum descriptor limit for the queues.
descriptor-number
Specifies the descriptor number.
Modes

Buffer profile configuration mode

Usage Guidelines

To configure a user-configurable profile for 10 Gbps ports, the 10 Gbps port type must be explicitly provided by the port-type option. Modifications to buffers and descriptors of a port and its queues take effect dynamically.

When the profile type is configured as all 1 Gbps, 10 Gbps, and 40 Gbps ports, the default buffers and descriptors will be set according to the port type; that is, all 1 Gbps ports use 1 Gbps defaults and 10 Gbps ports use 10 Gbps defaults. If you configure a port and its queue with egress buffer and descriptor limits, then the configured limits are used for both 1 Gbps and 10 Gbps ports.

Port type modification resets the profile to its default value. All the port and queue buffers and descriptors will be set to either 1 Gbps or 10 Gbps defaults as per the configuration, which means all the user configurations for the port and its queues will be lost.

Note: Port type modifications on an active profile are not allowed.

The no form of the command with the port-type option sets the profile port type to 1 Gbps.

Examples

The following example sets the port type to 10 Gbps.

device(config)# qd-buffer-profile 1
device(qd-profile-1)# profile-config port-type 3

The following example configures the port buffers.

device(config)# qd-buffer-profile 1
device(qd-profile-profile1)# profile-config port-buffers 8000

The following example configures the port descriptors.

device(config)# qd-buffer-profile 1
device(qd-profile-profile1)# profile-config port-descriptors 8000

The following example configures the queue buffer.

device(config)# qd-buffer-profile 1
device(qd-profile-profile1)# profile-config queue-buffers 2 600

The following example configures the queue descriptors.

device(config)# qd-buffer-profile 1
device(qd-profile-profile1)# profile-config queue-descriptors 2 600