router bgp

Enables BGP routing.

Syntax

router bgp
no router bgp

Command Default

BGP routing is not enabled.

Modes

Global configuration mode

Usage Guidelines

The no form of the command disables BGP routing.

Examples

The following example enables BGP routing.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)#

Example

The following example displays maximum paths for EBGP.
SLX(config)# router bgp
SLX(config-bgp-router)# address-family ipv4 unicast
SLX#(config-bgp-ipv4u)# maximum-paths ?
Possible completions:
 <1-128> Number of load-sharing paths, default is 1
 ebgp Number of EBGP paths for load sharing
 ibgp Number of IBGP paths for load sharing
 use-load-sharing Number of load-sharing paths: using load-sharing value
SLX#(config-bgp-ipv4u)# maximum-paths 128
SLX(config-bgp-ipv4u)# maximum-paths ebgp ?
Possible completions:
 <1-128> Number of EBGP paths, default - all
 <cr>
SLX(config-bgp-ipv4u)# maximum-paths ebgp 128
SLX(config-bgp-ipv4u)# maximum-paths ibgp ?
Possible completions:
 <1-128> Number of IBGP paths for load sharing, default - all
 <cr>
SLX(config-bgp-ipv4u)# maximum-paths ibgp 128