Figure 33: The Origin Attribute
Consider the sample topology shown in Figure 33 on page 118. Because routers Albany
and Boston are not directly connected, they learn the path to each other by means
of an IGP (not illustrated).
The following commands configure router Boston:
host1(config)#
ip route 172.31.125.100 255.255.255.252
host1(config)#
router bgp 100
host1(config-router)#
neighbor 10.2.25.1 remote-as 100
host1(config-router)#
neighbor 10.4.4.1 remote-as 100
host1(config-router)#
neighbor 10.3.3.1 remote-as 300
host1(config-router)#
network 172.19.0.0
host1(config-router)#
redistribute static
The following commands configure router NY:
host2(config)#
router bgp 100
host2(config-router)#
neighbor 10.4.4.1 remote-as 100
host2(config-router)#
neighbor 10.2.25.2 remote-as 100
host2(config-router)#
network 172.28.8.0 mask 255.255.248.0
The following commands configure router Albany:
host3(config)#
router bgp 100
host3(config-router)#
neighbor 10.4.4.2 remote-as 100
host3(config-router)#
neighbor 10.2.25.2 remote-as 100
host3(config-router)#
network 192.168.33.0 mask 255.255.255.0
The following commands configure router LA:
host4(config)#
router bgp 300
host4(config-router)#
neighbor 10.3.3.2 remote-as 100
host4(config-router)#
network 192.168.204.0 mask 255.255.252.0
host4(config-router)#
redistribute isis
118
■
Selecting the Best Path
JUNOSe 11.0.x BGP and MPLS Configuration Guide
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...