409
[PE1] l2vpn enable
# Enable BFD for MPLS.
[PE1] mpls bfd enable
# Create interface VLAN-interface 10 connected to CE 1. This interface does not need an IP
address.
[PE1] interface vlan-interface 10
[PE1-Vlan-interface10] quit
# Create PW class
pwa
. In the PW class, configure BFD to verify PW connectivity and configure
the VCCV CC type as
router-alert
.
[PE1] pw-class pwa
[PE1-pw-pwa] vccv bfd
[PE1-pw-pwa] vccv cc router-alert
[PE1-pw-pwa] quit
# Create cross-connect group
vpna
and create a cross-connect named
ldp
in the
cross-connect group. Bind the cross-connect to interface VLAN-interface 10 and create the
primary and backup LDP PWs in the cross-connect. The primary PW references the PW class
pwa
.
[PE1] xconnect-group vpna
[PE1-xcg-vpna] connection ldp
[PE1-xcg-vpna-ldp] ac interface vlan-interface 10
[PE1-xcg-vpna-ldp] peer 2.2.2.2 pw-id 20 pw-class pwa
[PE1-xcg-vpna-ldp-2.2.2.2-20] backup-peer 3.3.3.3 pw-id 30
[PE1-xcg-vpna-ldp-3.3.3.3-20-backup] quit
[PE1-xcg-vpna-ldp-2.2.2.2-20] quit
[PE1-xcg-vpna-ldp] quit
[PE1-xcg-vpna] quit
[PE1] quit
3.
Configure PE 2:
# Configure an LSR ID.
<PE2> system-view
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 2.2.2.2 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 2.2.2.2
# Enable global MPLS LDP.
[PE2] mpls ldp
[PE2-ldp] quit
# Establish an LDP session with PE 1.
[PE2] interface vlan-interface 12
[PE2-Vlan-interface12] ip address 12.1.1.2 24
[PE2-Vlan-interface12] mpls enable
[PE2-Vlan-interface12] mpls ldp enable
[PE2-Vlan-interface12] quit
# Configure OSPF for LDP to create LSPs.
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 12.1.1.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] network 2.2.2.2 0.0.0.0
Содержание 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 ...