Memory Buffer Commands

Use these M4500 CLI commands to monitor memory buffer (MBUF) utilization and display MBUF thresholds and totals.

show mbuf

Use this command to display the memory buffer (MBUF) utilization monitoring parameters.

Format show mbuf
Mode Privileged Exec

Display Message

Fields Definition
Rising Threshold The percentage of the memory buffer resources that, when exceeded for the configured rising interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled).
Falling Threshold The percentage of memory buffer resources that, when usage falls below this level for the configured interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled).
Severity The severity level.

show mbuf total

Use this command to display the memory buffer (MBUF) information.

Format show mbuf total
Mode Privileged Exec

Display Message

Fields Definition
Mbufs Total Total number of message buffers in the system.
Mbufs Free Number of message buffers currently available.
Mbufs Rx Used Number of message buffers of class RX currently in use.
Mbufs Rx Norm Used Number of message buffers of class RX Norm currently in use.
Mbufs Rx Mid2 Used Number of message buffers of class RX Mid2 currently in use.
Mbufs Rx Mid1 Used Number of message buffers of class RX Mid1 currently in use.
Mbufs Rx Mid0 Used Number of message buffers of class RX Mid0 currently in use.
Mbufs Rx High Used Number of message buffers of class RX High currently in use.
Mbufs Tx Used Number of message buffers of class TX currently in use.
Total Rx Norm Alloc Attempts Number of times the system tried to allocate a message buffer allocation of class RX Norm.
Total Rx Mid2 Alloc Attempts Number of times the system tried to allocate a message buffer allocation of class RX Mid2.
Total Rx Mid1 Alloc Attempts Number of times the system tried to allocate a message buffer allocation of class RX Mid1.
Total Rx Mid0 Alloc Attempts Number of times the system tried to allocate a message buffer allocation of class RX Mid0.
Total Rx High Alloc Attempts Number of times the system tried to allocate a message buffer allocation of class RX High.
Total Tx Alloc Attempts Number of times the system tried to allocate a message buffer allocation of class TX.
Total Rx Norm Alloc Failures Number of message buffer allocation failures for RX Norm class of message buffer.
Total Rx Mid2 Alloc Failures Number of message buffer allocation failures for RX Mid2 class of message buffer.
Total Rx Mid1 Alloc Failures Number of message buffer allocation failures for RX Mid1 class of message buffer.
Total Rx Mid0 Alloc Failures Number of message buffer allocation failures for RX Mid0 class of message buffer.
Total Rx High Alloc Failures Number of message buffer allocation failures for RX High class of message buffer
Total Rx Tx Used Failures Number of message buffer used failures for RX and TX class of message buffer.
Total Tx Alloc Failures Number of message buffer allocation failures for TX class of message buffer.

mbuf

Use this command to configure the memory buffer (MBUF) threshold limits and generate notifications when MBUF limits have been reached.

Format mbuf {falling-threshold | rising threshold | severity}

no mbuf {falling-threshold | rising threshold | severity}

Mode Global Config
Fields Definition
Rising Threshold The percentage of the memory buffer resources that, when exceeded for the configured rising interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled)..
Falling Threshold The percentage of memory buffer resources that, when usage falls below this level for the configured interval, triggers a notification. The range is 1 to 100. The default is 0 (disabled).
Severity The severity level at which Mbuf logs messages. The range is 1 to 7. The default is 5 (L7_LOG_SEVERITY_NOTICE).