Table 115 on page 597 lists the commands discussed in this section to configure BGP
signaling for VPLS.
Table 115: Commands to Configure BGP Signaling for VPLS
neighbor next-hop-self
address-family l2vpn
neighbor remote-as
address-family vpls
neighbor send-community
exit-address-family
neighbor update-source
ip router-id
router bgp
neighbor activate
To configure BGP signaling for VPLS on the PE router:
1.
Enable the BGP routing protocol on the PE router and specify the local AS; that is,
the AS to which this BGP speaker belongs.
host1(config)#
router bgp 100
The AS number identifies the PE router to other BGP routers.
2.
Configure the PE-to-PE BGP session by first adding an entry to the BGP neighbor
table.
host1(config-router)#
neighbor 10.4.4.4 remote-as 100
3.
Use
neighbor
commands to specify the peers to which BGP advertises routes.
This example configures only the update-source and next-hop-self attributes. The
update-source attribute allows the BGP session to use the IP address of a specific
operational interface as the update source address for TCP connections. the
next-hop-self attribute forces the BGP speaker to report itself as the next hop for
an advertised route that it learned from a neighbor.
host1(config-router)#
neighbor 10.4.4.4 update-source loopback 0
host1(config-router)#
neighbor 10.4.4.4 next-hop-self
4.
Create the L2VPN address family to configure the router to exchange layer 2 NLRI
for all VPLS instances.
host1(config-router)#
address-family l2vpn signaling
5.
Activate the PE-to-PE session in the L2VPN address family by specifying neighbors
that exchange routes from within the current address family.
host1(config-router-af)#
neighbor 10.4.4.4 activate
6.
Use
neighbor
commands to configure additional address family parameters for the
session, then exit the address family.
This example configures only the next-hop-self attribute, forcing the BGP speaker
to report itself as the next hop for an advertised route that it learned from a neighbor.
host1(config-router-af)#
neighbor 10.4.4.4 next-hop-self
host1(config-router-af)#
exit-address-family
597
Copyright © 2010, Juniper Networks, Inc.
Chapter 12: Configuring VPLS
Содержание JUNOSE 11.2.X BGP AND MPLS
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 38: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 192: ...Copyright 2010 Juniper Networks Inc 156 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 242: ...Copyright 2010 Juniper Networks Inc 206 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 244: ...Copyright 2010 Juniper Networks Inc 208 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 310: ...Copyright 2010 Juniper Networks Inc 274 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 356: ...Copyright 2010 Juniper Networks Inc 320 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 418: ...Copyright 2010 Juniper Networks Inc 382 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 524: ...Copyright 2010 Juniper Networks Inc 488 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 544: ...Copyright 2010 Juniper Networks Inc 508 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 608: ...Copyright 2010 Juniper Networks Inc 572 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 672: ...Copyright 2010 Juniper Networks Inc 636 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 674: ...Copyright 2010 Juniper Networks Inc 638 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 716: ...Copyright 2010 Juniper Networks Inc 680 JunosE 11 2 x BGP and MPLS Configuration Guide...
Страница 717: ...PART 6 Index Index on page 683 681 Copyright 2010 Juniper Networks Inc...
Страница 718: ...Copyright 2010 Juniper Networks Inc 682 JunosE 11 2 x BGP and MPLS Configuration Guide...