host1(config-router)#
bgp router-id 10.25.1.1
■
The new BGP identifier is used in open messages sent after you issue the
command. To use the new BGP identifier for sessions already in the established
state, you must use the
clear ip bgp
command to perform a hard clear.
■
Use the
no
version to restore the router ID as the BGP identifier.
■
See bgp router-id
Configuring Neighbors
Use the
neighbor remote-as
command to create a BGP peering session with a given
BGP peer—identified by its IP address—in a given AS. Note that the
neighbor
remote-as
command must be issued on both routers on either side of a BGP session
for the BGP session to become established.
Consider the simple network structure shown in Figure 10 on page 25. Routers LA
and SanJose are IBGP peers within AS 873. Router SanJose has an EBGP peer, router
Boston, in AS 17.
Figure 10: Configuring Neighbors
The following commands configure router Boston with router SanJose as a peer:
host1(config)#
router bgp 17
host1(config-router)#
neighbor 10.5.5.4 remote-as 873
The following commands configure router SanJose with router LA and router Boston
as peers:
host2(config)#
router bgp 873
host2(config-router)#
neighbor 10.2.2.3 remote-as 873
host2(config-router)#
neighbor 10.5.5.1 remote-as 17
The following commands configure router LA with router SanJose as a peer:
host3(config)#
router bgp 873
host3(config-router)#
neighbor 10.2.2.4 remote-as 873
neighbor remote-as
Basic Configuration
■
25
Chapter 1: Configuring BGP Routing
Summary of Contents for JUNOSE
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Page 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Page 719: ...Part 6 Index Index on page 685 Index 683...
Page 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...