profile-config
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
}
The default port type is set to 1 Gbps.
The default buffers and descriptors are set according to the port type.
Buffer profile configuration mode
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.
The
no form of the command with the
port-type option sets the profile port type to 1 Gbps.
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