Vpls Configuration Examples - HP HPE FlexNetwork MSR Router Series Configuration Manual

Table of Contents

Advertisement

VPLS configuration examples

Static PW configuration example
Network requirements
Configure VPLS on each PE, and establish static PWs between the PEs to interconnect the CEs.
Figure 123 Network diagram
Configuration procedure
This task includes the following configurations:
Configure basic MPLS on each PE: configure LSR ID, enable LDP, run IGP (OSPF in this
example) to establish LSPs.
Establish static PWs: enable L2VPN, create static PWs, and specify labels.
1.
Configure PE 1:
# Configure an LSR ID.
<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
# Enable L2VPN.
[PE1] l2vpn enable
# Enable global LDP.
[PE1] mpls ldp
[PE1-ldp] quit
# Configure GigabitEthernet 2/0/2 (the interface connected to PE 2), and enable LDP on the
interface.
[PE1] interface gigabitethernet 2/0/2
[PE1-GigabitEthernet2/0/2] ip address 20.1.1.1 24
[PE1-GigabitEthernet2/0/2] mpls enable
[PE1-GigabitEthernet2/0/2] mpls ldp enable
[PE1-GigabitEthernet2/0/2] quit
470

Advertisement

Table of Contents
loading

Table of Contents