HP FlexNetwork HSR6600 Configuration Manual page 431

Comware 7 mpls
Hide thumbs Also See for FlexNetwork HSR6600:
Table of Contents

Advertisement

# Configure GigabitEthernet 1/1/1 (the interface connected to the P device), and enable LDP on
the interface.
[PE2] interface gigabitethernet 1/1/1
[PE2-GigabitEthernet1/1/1] ip address 10.2.2.1 24
[PE2-GigabitEthernet1/1/1] mpls enable
[PE2-GigabitEthernet1/1/1] mpls ldp enable
[PE2-GigabitEthernet1/1/1] quit
# Configure OSPF for LDP to create LSPs.
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 192.3.3.3 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] network 10.2.2.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# Configure the IPCP proxy IP address as the IP address of CE 1 on Serial 1/1/0 (the interface
connected to CE 2). This interface does not need an IP address.
[PE2] interface serial 1/1/0
[PE2-Serial1/1/0] link-protocol ppp
[PE2-Serial1/1/0] ppp ipcp proxy 100.1.1.1
[PE2-Serial1/1/0] quit
# Create a cross-connect group named vpna, create a cross-connect named ldp in the group,
enable interworking for the cross-connect, and bind Serial 1/1/0 to the cross-connect.
[PE2] xconnect-group vpna
[PE2-xcg-vpna] connection ldp
[PE2-xcg-vpna-ldp] interworking ipv4
[PE2-xcg-vpna-ldp] ac interface serial 1/1/0
# Create an LDP PW for the cross-connect to bind the AC to the PW.
[PE2-xcg-vpna-ldp] peer 192.2.2.2 pw-id 3
[PE2-xcg-vpna-ldp-192.2.2.2-3] quit
[PE2-xcg-vpna-ldp] quit
[PE2-xcg-vpna] quit
5.
Configure CE 2.
<CE2> system-view
[CE2] interface serial 1/1/0
[CE2-Serial1/1/0] link-protocol ppp
[CE2-Serial1/1/0] ip address 100.1.1.2 24
[CE2-Serial1/1/0] quit
Verifying the configuration
# Verify that an LDP PW has been established on PE 1.
[PE1] display l2vpn pw
Flags: M - main, B - backup, BY - bypass, H - hub link, S - spoke link, N - no split horizon
Total number of PWs: 1
1 up, 0 blocked, 0 down, 0 defect, 0 idle, 0 duplicate
Xconnect-group Name: vpna
Peer
192.3.3.3
# Verify that an LDP PW has been established on PE 2.
PW ID/Rmt Site
In/Out Label
3
1279/1279
Proto
LDP
421
Flag
Link ID
State
M
1
Up

Advertisement

Table of Contents
loading

Table of Contents