
Operation Manual – MPLS Hybrid Insertion
H3C S9500 Series Routing Switches
Chapter 1 MPLS Hybrid Insertion Configuration
1-15
# Configure the LDP remote session.
[PE1] mpls ldp remote-peer 1
[PE1-mpls-ldp-remote-1] remote-ip 2.2.2.2
# Configure the MPLS service loopback group:
[PE1] link-aggregation group 1 mode manual
[PE1] link-aggregation group 1 service-type mpls
# Add multiple ports to the MPLS service loopback group.
[PE1] interface GigabitEthernet 2/2/3
[PE1-GigabitEthernet2/2/3] stp disable
[PE1-GigabitEthernet2/2/3] port link-aggregation group 1
[PE1-GigabitEthernet2/2/3] interface GigabitEthernet 2/2/4
[PE1-GigabitEthernet2/2/4] stp disable
[PE1-GigabitEthernet2/2/4] port link-aggregation group 1
# Configure the VLAN interface.
[PE1] vlan 10
[PE1-vlan10] port Ethernet 3/1/1
[PE1-vlan10] interface vlan-interface 10
[PE1-vlan-interface10] quit
# Bind the VPNA to the VLAN interface that connects PE 1 and CE 1.
[PE1-Vlan-interface10] mpls l2vc 2.2.2.2 100
[PE1-Vlan-interface10] quit
3)
Configure the P device
# Configure the global MPLS.
[P] mpls lsr-id 3.3.3.3
[P] mpls
[P] mpls ldp
# Configure an interface and enable MPLS on the interface.
[P] interface loopback0
[P-LoopBack0] ip address 3.3.3.3 32
[P-LoopBack0] quit
[P] vlan 100
[P-vlan100] port GigabitEthernet 2/1/1
[P-vlan100] interface vlan-interface 100
[P-vlan-interface100] ip address 196.168.1.2 255.255.255.0
[P-vlan-interface100] mpls
[P-vlan-interface100] mpls ldp
[P-vlan-interface100] quit
[P] vlan 200
[P-vlan200] port GigabitEthernet 2/1/2