BGP global mode
To enable BGP4, use the
router bgp command in global configuration mode.
device(config)# router bgp
After using the
router bgp command you enter into BGP global configuration mode.
Commands entered in BGP global configuration mode apply to the IPv4 unicast address family. Where relevant, this chapter discusses and provides IPv4-unicast-specific examples. You must first configure IPv4 unicast routing for any IPv4 routing protocol to be active.
Possible completions:
address-family Enter Address Family command mode
address-filter Configure IP address filters
aggregate-address Configure BGP aggregate entries
always-compare-med Allow comparing MED from different neighbors
always-propagate Allow readvertisement of best BGP routes not in
IP forwarding table
as-path-filter Configure autonomous system path filters
as-path-ignore Ignore AS_PATH length info for best route
selection
bgp-redistribute-internal Allow redistribution of iBGP routes into IGPs
capability Set capability
clear Clear table/statistics/keys
client-to-client-reflection Configure client to client route reflection
cluster-id Configure Route-Reflector Cluster-ID
community-filter Configure community list filters
compare-routerid Compare router-id for identical BGP paths
confederation Configure AS confederation parameters
dampening Enable route-flap dampening
default-information-originate
default-local-preference Configure default local preference value
default-metric Set metric of redistributed routes
distance Define an administrative distance
enforce-first-as Enforce the first AS for EBGP routes
exit-address-family Exit Address Family command mode
fast-external-fallover Reset session if link to EBGP peer goes down
graceful-restart Enables the BGP graceful restart capability
local-as Configure local AS number
maxas-limit Impose limit on number of ASes in AS-PATH
attribute
maximum-paths Forward packets over multiple paths
med-missing-as-worst Consider routes missing MED attribute as least
desirable
multipath Enable multipath for ibgp or ebgp neighbors only
neighbor Specify a neighbor router
network Specify a network to announce via BGP
next-hop-enable-default Enable default route for BGP next-hop lookup
next-hop-recursion Perform next-hop recursive lookup for BGP route
readvertise Allow readvertisement of best BGP routes not in
IP forwarding table
redistribute Redistribute information from another routing
protocol
table-map Map external entry attributes into routing table
timers Adjust routing timers
update-time Configure igp route update interval