show bgp memory

show bgp memory {detail | memoryType}

Description

Displays BGP specific memory usage.

Syntax Description

detail Displays detail information.
memoryType Specifies the memory type usage to display.

Default

N/A.

Usage Guidelines

To see the memory types that you can display, enter the show bgp memory command without any attributes.

Example

The following command displays detailed BGP output for a specific memory types:

Switch.16.3 # sh bgp memory   
BGP Memory Information   
------------------------------------------------------------------------------------------------------------   
Current Memory Utilization Level:      GREEN   
------------------------------------------------------------------------------------------------------------   
Type                      AN              AB   
------------------------------------------------------------------------------------------------------------   
Callbacks               1141        17039828   
Buffers                   19            8456       
Memory Utilization Statistics:   
------------------------------------------------------------------------------------------------------------   
Module Type       Module Id       MemType         Name                                       Size    AN/AB/HN/HB   
------------------------------------------------------------------------------------------------------------   
PCT_NBASE_ROOT    0x0000000000    16777219        MEM_PROCESS_ENTRY                          212    8/1696/8/1696   
PCT_NBASE_ROOT    0x0000000000    16777230        MEM_NBB_DIAGS_BLOCK                        3212   8/25696/8/25696   
PCT_NBASE_ROOT    0x0000000000    16777233        MEM_UNFORMATTED                            1508   1/1508/1/1508   
PCT_NBASE_ROOT    0x0000000000    50528257        0x0003030001                               732    1/732/1/732   
PCT_NBASE_ROOT    0x0000000000    50921473        0x0003090001                               2004   1/2004/1/2004   
PCT_NBASE_ROOT    0x0000000000    52232193        0x00031d0001                               1508   1/1508/1/1508   
PCT_NBASE_ROOT    0x0000000000    1090584577      MEM_QBRM_LOCAL                             9660   2/19320/2/19320   
PCT_NBASE_ROOT    0x0000000000    1090650113      MEM_QBNM_LOCAL                             1508   2/3016/2/3016   
PCT_NBASE_ROOT    0x0000000000    1107361793      MEM_QVB_LOCAL                              3076   1/3076/1/3076   
PCT_SCK           0x0001109000    16777220        MEM_NBB_POOL_CB                            108    9/972/9/972       

PCT_QVB           0x0001104000    1107361803      MEM_QVB_RV_REM_CB                          60     6/360/6/360   
PCT_QVB           0x0001104000    1107361806      MEM_QVB_AS_PATH_CB                         60     4/240/4/240   
PCT_QVB           0x0001104000    1107361807      MEM_QVB_RTM_CB                             516    1/516/1/516       

Flags : AN -   Number of Allocations,                     AB - Total Allocation in Bytes         
      : HN - Number of High Water Marks for Allocation,   HB - Total High Water Mark Allocations in Bytes       
t16.3 # sh bgp memory 1107361807   BGP Memory Information   
------------------------------------------------------------------------------------------------------------   
Current Memory Utilization Level:      GREEN   
------------------------------------------------------------------------------------------------------------   
Type                      AN              AB   
------------------------------------------------------------------------------------------------------------   
Callbacks               1141        17039828   
Buffers                   19            8456       

Memory Statistics for MEM_QVB_RTM_CB:   
------------------------------------------------------------------------------------------------------------   
MemId                   Size              AN              AB   
------------------------------------------------------------------------------------------------------------   
001107361807             516               1             516       

Flags : AN - Number of Allocations,                     AB - Total Allocation in Bytes         
      : HN - Number of High Water Marks for Allocation, HB - Total High Water Mark Allocations in Bytes    

History

This command was first available in ExtremeXOS 10.1.

This command required a specific license in ExtremeXOS 11.1.

This command is updated to reflect L3 VPN changes in ExtremeXOS 15.3.

Platform Availability

This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the Switch Engine v33.1.1 Licensing Guide document.