show bgp

show bgp

Description

Displays BGP configuration information.

Syntax Description

This command has no arguments or variables.

Default

N/A.

Usage Guidelines

None.

Example

The following command examples display various BGP configurations:

Output for show bgp for a VRF (PE-CE Protocol, RD and RT configured):

(virtual-router vrf-foo) # show bgp       
Enabled             : No                OperStatus          :        Down   
RouterId            : 3.3.3.3           AS                  : 200   
LocalPref           : 100               MED                 : None   
Always-Compare-MED  : Disabled          Aggregation         : Disabled   
Route Reflector     : No                RR ClusterId        : 0   
IGP Synchronization : Disabled          New Community Format: Disabled
Routes from EBGP    : 2                 Routes from IBGP    : 0
Routes redistributed: 1                 Out Updates queued  : 0
Fast Ext Fallover   : Disabled          MPLS LSP as Next-Hop: No   
AS Disp Format      : Asplain           Maximum ECMP Paths  : 1   
ConfedId            : 0                 Multipath-Relax     : Disabled   
Confed Peers        :   
Networks            : 2    
  ipv4-unicast 10.0.0.0/16 network-policy nwk.pol    
  ipv4-multicast 11.0.0.0/16 network-policy nwk.pol   
Aggregate Networks  : 2    
  ipv4-unicast 21.0.0.0/8 as-match advertise-policy: agg.pol    
  ipv4-multicast 22.0.0.0/8 as-set summary-only advertise-policy: agg.pol       
Route Statistics:   
Address family         EBGP   IBGP  Redist.   
--------------------------------------------   
ipv4-unicast           0      0     0   
ipv4-multicast         0      0     0           

Redistribute        :
--------------------------------------------------------------------------------
Address Family

    Route Type      Flags        Priority      Policy
--------------------------------------------------------------------------------
ipv4-unicast

    Direct          EO           2048          None

ipv6-multicast

    Direct          EO           2048          None
--------------------------------------------------------------------------------
Flags: (E) Export Enabled, (L) Export Operationally Off due to Low Memory,

       (O) Export Operationally On


  Advertise Inactive Routes:    
  ipv4-unicast   : Disabled    
  ipv4-multicast : Disabled     
  ipv6-unicast   : Disabled    
  ipv6-multicast : Disabled 
  ipv4-vxlan     : Disabled     

Output of show bgp for a VRF (PE-CE Protocol, RD and RT “not” configured):

# show bgp       
Enabled             : No                OperStatus          : Down   
RouterId            : 3.3.3.3           AS                  : 200   
LocalPref           : 100               MED                 : None   
Always-Compare-MED  : Disabled          Aggregation         : Disabled   
Route Reflector     : No                RR ClusterId        : 0   
IGP Synchronization : Disabled          New Community Format: Disabled   
Fast Ext Fallover   : Disabled          MPLS LSP as Next-Hop: No   
AS Disp Format      : Asplain           Maximum ECMP Paths  : 1   
ConfedId            : 0                 Outbound rt. filter : Enabled   
Confed Peers        :   
Networks            : 4    
  ipv4-unicast 10.0.0.0/16 network-policy nwk.pol    
  ipv4-multicast 11.0.0.0/16 network-policy nwk.pol    
  ipv6-unicast 2001::/64 network-pol nwk6.pol    
  ipv6-multicast 2001::/64 network-pol nwk6.pol   
Aggregate Networks  : 4    
  ipv4-unicast 21.0.0.0/8 as-match advertise-policy: agg.pol    
  ipv4-multicast 22.0.0.0/8 as-set summary-only advertise-policy: agg.pol    
  ipv6-unicast 2003::/64 as-match advertise-policy: agg6.pol    
  ipv6-multicast 2004::/64 as-set advertise-policy: agg6.pol       

Route Statistics:     
  Address family         EBGP   IBGP   Redist.    
  --------------------------------------------     
  ipv4-unicast           0      0      0     
  ipv4-multicast         0      0      0     
  ipv6-unicast           0      0      0     
  ipv6-multicast         0      0      0       

Redistribute:    

--------------------------------------------------------------------------------
Address Family
    Route Type      Flags        Priority      Policy
--------------------------------------------------------------------------------
ipv4-unicast
    Direct          EO           2048          None
ipv6-multicast
    Direct          EO           2048          None
--------------------------------------------------------------------------------

Flags: (E) Export Enabled, (L) Export Operationally Off due to Low Memory,

       (O) Export Operationally On 

  Advertise Inactive Routes:    
  ipv4-unicast   : Disabled    
  ipv4-multicast : Disabled     
  ipv6-unicast   : Disabled    
  ipv6-multicast : Disabled 
  ipv4-vxlan     : Disabled     

If BGP is added as a protocol inside a heavy-weight VR, normal BGP peering applies with the addition of vpnv4 address family support:

# show bgp       
Enabled             : No                OperStatus          : Down   
RouterId            : 3.3.3.3           AS                  : 200   
LocalPref           : 100               MED                 : None   
Always-Compare-MED  : Disabled          Aggregation         : Disabled   
Route Reflector     : No                RR ClusterId        : 0   
IGP Synchronization : Disabled          New Community Format: Disabled   
Fast Ext Fallover   : Disabled          MPLS LSP as Next-Hop: No   
AS Disp Format      : Asplain           Maximum ECMP Paths  : 1   
ConfedId            : 0                 Outbound rt. filter : Enabled   
Confed Peers        :   
Networks            : 4    
  ipv4-unicast 10.0.0.0/16 network-policy nwk.pol   
  ipv4-multicast 11.0.0.0/16 network-policy nwk.pol  
  ipv6-unicast 2001::/64 network-pol nwk6.pol
  ipv6-multicast 2001::/64 network-pol
        nwk6.pol 
Aggregate Networks  : 4  
  ipv4-unicast 21.0.0.0/8 as-match advertise-policy: agg.pol  
  ipv4-multicast 22.0.0.0/8 as-set summary-only advertise-policy: agg.pol  
  ipv6-unicast 2003::/64 as-match advertise-policy: agg6.pol  
  ipv6-multicast 2004::/64 as-set advertise-policy: agg6.pol
       
Route Statistics:   
  Address family         EBGP   IBGP   Redist.    
  --------------------------------------------    
  ipv4-unicast           0      0      0   
  ipv4-multicast         0      0      0   
  vpnv4                  0      0      0   
  ipv6-unicast           0      0      0   
  ipv6-multicast         0      0      0       

Redistribute:    
  ipv4       Admin     Operational  Shutdown  Policy    
  unicast    Status    Status       Priority    
  ----------------------------------------------------    
  Direct     Disabled  Down         2048      None    
  Static     Disabled  Down         2048      None    
  RIP        Disabled  Down         2048      None    
  BlackHole  Disabled  Down         2048      None    
  OSPFIntra  Disabled  Down         2048      None    
  OSPFInter  Disabled  Down         2048      None    
  OSPFExt1   Disabled  Down         2048      None    
  OSPFExt2   Disabled  Down         2048      None    
  ISISL1     Disabled  Down         2048      None    
  ISISL2     Disabled  Down         2048      None    
  ISISL1Ext  Disabled  Down         2048      None    
  ISISL2Ext  Disabled  Down         2048      None   
     
  ipv4       Admin     Operational  Shutdown  Policy    
  multicast  Status    Status       Priority    
  ----------------------------------------------------    
  Direct     Disabled  Down         2048      None    
  Static     Disabled  Down         2048      None    
  RIP        Disabled  Down         2048      None    
  BlackHole  Disabled  Down         2048      None    
  OSPFIntra  Disabled  Down         2048      None    
  OSPFInter  Disabled  Down         2048      None    
  OSPFExt1   Disabled  Down         2048      None    
  OSPFExt2   Disabled  Down         2048      None    
  ISISL1     Disabled  Down         2048      None    
  ISISL2     Disabled  Down         2048      None    
  ISISL1Ext  Disabled  Down         2048      None    
  ISISL2Ext  Disabled  Down         2048      None         

  ipv6           Admin     Operational  Shutdown  Policy     
  unicast        Status    Status       Priority    
  -----------------------------------------------------     
  Direct         Disabled  Down         2048      None     
  Static         Disabled  Down         2048      None     
  Ripng          Disabled  Down         2048      None     
  Ospfv3-intra   Disabled  Down         2048      None     
  Ospfv3-inter   Disabled  Down         2048      None     
  Ospfv3-extern1 Disabled  Down         2048      None     
  Ospfv3-extern2 Disabled  Down         2048      None     
  ISISL1         Disabled  Down         2048      None     
  ISISL2         Disabled  Down         2048      None     
  ISISL1Ext      Disabled  Down         2048      None     
  ISISL2Ext      Disabled  Down         2048      None  
       
  ipv6           Admin     Operational  Shutdown  Policy    
  multicast      Status    Status       Priority    
  -----------------------------------------------------  
  Direct         Disabled  Down         2048      None     
  Static         Disabled  Down         2048      None   
  Ripng          Disabled  Down         2048      None   
  Ospfv3-intra   Disabled  Down         2048      None   
  Ospfv3-inter   Disabled  Down         2048      None   
  Ospfv3-extern1 Disabled  Down         2048      None   
  Ospfv3-extern2 Disabled  Down         2048      None    
  ISISL1         Disabled  Down         2048      None   
  ISISL2         Disabled  Down         2048      None    
  ISISL1Ext      Disabled  Down         2048      None   
  ISISL2Ext      Disabled  Down         2048      None  
       
  Advertise Inactive Routes:    
  ipv4-unicast   : Disabled    
  ipv4-multicast : Disabled     
  ipv6-unicast   : Disabled    
  ipv6-multicast : Disabled 
  ipv4-vxlan     : Disabled 

History

This command was first available in ExtremeXOS 10.1.

This command required a specific license in ExtremeXOS 11.1.

This command was modified in Extreme ExtremeXOS 15.3 to reflect its operation in VRs and VRFs.

Support for IPv4 VXLAN was added in ExtremeXOS 22.3.

Support for BGP multipath-relax was added in ExtremeXOS 22.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 32.6.3 Feature License Requirements document.