Enabling BGP Routing
All BGP configurations require that you enable the BGP routing process on one or more
routers.
router bgp
• Use to enable the BGP routing protocol and to specify the local AS—the AS to which
this BGP speaker belongs.
• All subsequent BGP configuration commands are placed within the context of this
router and AS; you can have only a single BGP instance per virtual router.
• Specify only one BGP AS per virtual router.
• This command takes effect immediately.
• Example
host1(config)#router bgp 100
• Use the no version to remove the BGP process.
• See router bgp.
Understanding BGP Command Scope
BGP commands can be sorted into the following categories, each of which has a different
scope; that is, each configures parameters within a different area of applicability. Individual
command descriptions in this chapter and in “Configuring BGP-MPLS Applications” on
page 383, provide more information about command behavior.
Copyright © 2010, Juniper Networks, Inc.18
JunosE 11.2.x BGP and MPLS Configuration Guide