HP MSR2000 Configuration Manual page 411

Msr series mpls
Hide thumbs Also See for MSR2000:
Table of Contents

Advertisement

[PE1] mpls lsr-id 192.2.2.2
# Enable L2VPN.
[PE1] l2vpn enable
# Enable global LDP.
[PE1] mpls ldp
[PE1-ldp] quit
# Configure the default next hop IP address as 100.1.1.1 on GigabitEthernet 2/1/1 (the interface
connected to CE 1). This interface does not need an IP address.
[PE1] interface gigabitethernet 2/1/1
[PE1-GigabitEthernet2/1/1] default-nexthop ip 100.1.1.1
[PE1-GigabitEthernet2/1/1] quit
# Configure GigabitEthernet 2/1/2 (the interface connected to the P device), and enable LDP on
the interface.
[PE1] interface gigabitethernet 2/1/2
[PE1-GigabitEthernet2/1/2] ip address 10.1.1.1 24
[PE1-GigabitEthernet2/1/2] mpls enable
[PE1-GigabitEthernet2/1/2] mpls ldp enable
[PE1-GigabitEthernet2/1/2] quit
# Configure OSPF on PE 1 for LDP to create LSPs.
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 10.1.1.1 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] network 192.2.2.2 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Create a cross-connect group named vpna, create a cross-connect named ldp in the group,
enable interworking for the cross-connect, bind GigabitEthernet 2/1/1 to the cross-connect, and
create an LDP PW for the cross-connect to bind the AC to the PW.
[PE1] xconnect-group vpna
[PE1-xcg-vpna] connection ldp
[PE1-xcg-vpna-ldp] interworking ipv4
[PE1-xcg-vpna-ldp] ac interface gigabitethernet 2/1/1
[PE1-xcg-vpna-ldp] peer 192.3.3.3 pw-id 3
[PE1-xcg-vpna-ldp-192.3.3.3-3] quit
[PE1-xcg-vpna-ldp] quit
[PE1-xcg-vpna] quit
3.
Configure the P device:
# Configure an LSR ID.
<P> system-view
[P] interface loopback 0
[P-LoopBack0] ip address 192.4.4.4 32
[P-LoopBack0] quit
[P] mpls lsr-id 192.4.4.4
# Enable global LDP.
[P] mpls ldp
[P-ldp] quit
402

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents