Figure 13: Prefixes Originating in an AS
The following commands configure router NY:
host1(config)#
router bgp 300
host1(config-router)#
neighbor 10.2.25.1 remote-as 100
host1(config-router)#
neighbor 10.4.4.1 remote-as 400
host1(config-router)#
network 192.168.33.0 mask 255.255.255.0
The following commands configure router Boston:
host2(config)#
router bgp 100
host2(config-router)#
neighbor 10.2.25.2 remote-as 300
host2(config-router)#
neighbor 10.3.3.1 remote-as 400
host2(config-router)#
network 172.19.0.0
Notice that a mask was not specified for the prefix originating with router Boston.
The
natural
mask is assumed for networks without a mask.
The following commands configure router LA:
host3(config)#
router bgp 400
host3(config-router)#
neighbor 10.3.3.2 remote-as 100
host3(config-router)#
neighbor 10.4.4.2 remote-as 300
host3(config-router)#
network 172.28.8.0 mask 255.255.248.0
network
■
Use to specify the prefixes in its AS that the BGP speaker advertises.
■
BGP advertises the specified prefix only if a non-BGP route to the prefix exists
in the IP forwarding table. If the non-BGP route does not exist when you issue
the
network
command, then BGP is notified as soon as the route becomes
available in the IP routing table or IP tunnel routing table.
■
For IPv4 addressing, specify a
network-number
and an optional
network-mask
.
For IPv6 addressing, specify the IPv6 prefix.
■
You can specify a route map to filter network routes or modify their path
attributes.
■
The default weight for network routes is 32768; use the
weight
keyword to
modify the weight in the range 0–65535.
Advertising Routes
■
51
Chapter 1: Configuring BGP Routing
Содержание JUNOSE
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 24: ...xxiv Table of Contents JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 37: ...Part 1 Border Gateway Protocol Configuring BGP Routing on page 3 Border Gateway Protocol 1...
Страница 38: ...2 Border Gateway Protocol JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 234: ...198 Monitoring BGP JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 236: ...200 Multiprotocol Layer Switching JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 298: ...262 Point to Multipoint LSPs Configuration JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 346: ...310 Example Traffic Class Configuration for Differentiated Services JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 535: ...There is no no version See undebug ip mbgp Monitoring BGP MPLS VPNs 499 Chapter 5 Configuring BGP MPLS Applications...
Страница 536: ...500 Monitoring BGP MPLS VPNs JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 538: ...502 Layer 2 Services Over MPLS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 592: ...556 Multiple ATM Virtual Circuits over a Single Pseudowire Example JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 604: ...568 Virtual Private LAN Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 618: ...582 VPLS References JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 642: ...606 VPLS Configuration Example with LDP Signaling JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 674: ...638 Virtual Private Wire Service JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 718: ...682 Monitoring MPLS Forwarding Table for VPWS JUNOSe 11 0 x BGP and MPLS Configuration Guide...
Страница 719: ...Part 6 Index Index on page 685 Index 683...
Страница 720: ...684 Index JUNOSe 11 0 x BGP and MPLS Configuration Guide...