HP FlexNetwork HSR6600 Configuration Manual page 444

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

Advertisement

[PE1-GigabitEthernet1/1/2] mpls ldp enable
[PE1-GigabitEthernet1/1/2] quit
# Configure OSPF for LDP to create LSPs.
[PE1] ospf
[PE1-ospf-1] area 0
[PE1-ospf-1-area-0.0.0.0] network 23.1.1.1 0.0.0.255
[PE1-ospf-1-area-0.0.0.0] network 192.1.1.1 0.0.0.0
[PE1-ospf-1-area-0.0.0.0] quit
[PE1-ospf-1] quit
# Create a cross-connect group named vpn1, create a cross-connect named ldp in the group,
and bind GigabitEthernet 1/1/1 to the cross-connect.
[PE1] xconnect-group vpn1
[PE1-xcg-vpn1] connection ldp
[PE1-xcg-vpn1-ldp] ac interface gigabitethernet 1/1/1
# Create an LDP PW for the cross-connect to bind the AC to the PW.
[PE1-xcg-vpn1-ldp] peer 192.2.2.2 pw-id 1000
[PE1-xcg-vpn1-ldp-192.2.2.2-1000] quit
[PE1-xcg-vpn1-ldp] quit
[PE1-xcg-vpn1] quit
3.
Configure ASBR 1:
# Configure an LSR ID.
<ASBR1> system-view
[ASBR1] interface loopback 0
[ASBR1-LoopBack0] ip address 192.2.2.2 32
[ASBR1-LoopBack0] quit
[ASBR1] mpls lsr-id 192.2.2.2
# Enable L2VPN.
[ASBR1] l2vpn enable
# Enable global LDP.
[ASBR1] mpls ldp
[ASBR1-ldp] quit
# Configure GigabitEthernet 1/1/2 (the interface connected to PE 1), and enable LDP on the
interface.
[ASBR1] interface gigabitethernet 1/1/2
[ASBR1-GigabitEthernet1/1/2] ip address 23.1.1.2 24
[ASBR1-GigabitEthernet1/1/2] mpls enable
[ASBR1-GigabitEthernet1/1/2] mpls ldp enable
[ASBR1-GigabitEthernet1/1/2] quit
# Configure GigabitEthernet 1/1/1 (the interface connected to ASBR 2), and enable MPLS on
the interface.
[ASBR1] interface gigabitethernet 1/1/1
[ASBR1-GigabitEthernet1/1/1] ip address 26.2.2.2 24
[ASBR1-GigabitEthernet1/1/1] mpls enable
[ASBR1-GigabitEthernet1/1/1] quit
# Configure OSPF for LDP to create LSPs.
[ASBR1] ospf
[ASBR1-ospf-1] area 0
[ASBR1-ospf-1-area-0.0.0.0] network 23.1.1.2 0.0.0.255
434

Advertisement

Table of Contents
loading

Table of Contents