382
BGP auto-discovery LDP PW configuration example
Network requirements
Use BGP to discover remote PEs and use LDP to create PWs among PEs so CEs in different sites of
VPN 1 can communicate with each other.
Figure 102 Network diagram
Configuration procedure
1.
Configure the IGP and public tunnels. (Details not shown.)
2.
Configure PE 1:
# Configure basic MPLS.
<PE1> system-view
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 1.1.1.9 32
[PE1-LoopBack0] quit
[PE1] mpls lsr-id 1.1.1.9
[PE1] mpls ldp
[PE1-ldp] quit
# Establish IBGP connections to PE 1 and PE 2 and use BGP to advertise VPLS PE
information.
[PE1] bgp 100
[PE1-bgp] peer 2.2.2.9 as-number 100
[PE1-bgp] peer 2.2.2.9 connect-interface loopback 0
[PE1-bgp] peer 3.3.3.9 as-number 100
[PE1-bgp] peer 3.3.3.9 connect-interface loopback 0
[PE1-bgp] address-family l2vpn
[PE1-bgp-l2vpn] peer 2.2.2.9 enable
[PE1-bgp-l2vpn] peer 3.3.3.9 enable
[PE1-bgp-l2vpn] quit
[PE1-bgp] quit
# Enable L2VPN.
[PE1] l2vpn enable
Loop0
1.1.1.9/32
GE1/0/1
GE1/0/1
CE 1
VPN 1
PE 1
PE 2
Loop0
2.2.2.9/32
CE 2
VPN 1
Loop0
3.3.3.9/32
PE 3
CE 3
VPN 1
GE1/0/1
Vlan-int20
Vlan-int20
Vlan-int30
Vlan-int30
Vlan-int40
Vlan-int40
Содержание FlexNetwork 5510 HI Series
Страница 9: ...vii Remote support 460 Documentation feedback 460 Index 462 ...
Страница 318: ...309 Request list 0 Retransmit list 0 ...
Страница 363: ...354 Verify that CE 1 and CE 2 can ping each other Details not shown ...
Страница 446: ...437 The MCE has redistributed the OSPF routes of the two VPN instances into the EBGP routing tables of PE 1 ...