HP 10500 Series Configuration Manual page 242

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Figure 65 Network diagram
Device
PE 1
PE 2
Configuration procedure
Before you perform the following configurations, configure VLANs and add ports to VLANs on switches.
Configure CE 1:
1.
<CE1> system-view
[CE1] interface ten-gigabitethernet 1/0/1
[CE1-Ten-GigabitEthernet1/0/1] port link-type trunk
[CE1-Ten-GigabitEthernet1/0/1] port trunk permit vlan 10
[CE1-Ten-GigabitEthernet1/0/1] quit
Configure PE 1:
2.
# Configure an LSR ID.
<PE1> system-view
[PE1] interface loopback 0
[PE1-LoopBack0] ip address 192.2.2.2 32
[PE1-LoopBack0] quit
[PE1] mpls lsr-id 192.2.2.2
# Enable L2VPN.
[PE1] l2vpn enable
# Enable global LDP.
[PE1] mpls ldp
[PE1-ldp] quit
# Configure VLAN-interface 20 connected to the P device and enable LDP on the interface.
[PE1] interface vlan-interface 20
[PE1-Vlan-interface20] ip address 10.1.1.1 24
[PE1-Vlan-interface20] mpls enable
[PE1-Vlan-interface20] mpls ldp enable
[PE1-Vlan-interface20] quit
Interface
IP address
Loop0
192.2.2.2/32
Vlan-int20
10.1.1.1/24
Loop0
192.3.3.3/32
Vlan-int30
10.2.2.1/24
Device
Interface
P
Loop0
Vlan-int30
Vlan-int20
236
IP address
192.4.4.4/32
10.2.2.2/24
10.1.1.2/24

Advertisement

Table of Contents
loading

Table of Contents