HP 10500 SERIES Configuration Manual page 219

Hide thumbs Also See for 10500 SERIES:
Table of Contents

Advertisement

# Create a static LSP for forwarding packets from PE 1 to PE 2.
[P] static-lsp transit pe1_pe2 incoming-interface vlan-interface 30 in-label 200
nexthop 10.2.2.1 out-label 201
# Create a static LSP for forwarding packets from PE 2 to PE 1.
[P] static-lsp transit pe2_pe1 incoming-interface vlan-interface 20 in-label 101
nexthop 10.1.1.1 out-label 100
Configure PE 2:
4.
# Configure the LSR ID and enable MPLS globally.
<Sysname> system-view
[Sysname] sysname PE2
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 10.0.0.3 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 10.0.0.3
[PE2] mpls
[PE2-mpls] quit
# Enable L2VPN and MPLS L2VPN.
[PE2] l2vpn
[PE2-l2vpn] mpls l2vpn
[PE2-l2vpn] quit
# Configure interface VLAN-interface 10.
[PE2] interface vlan-interface 10
[PE2-Vlan-interface10] quit
# Configure interface VLAN-interface 20 and enable MPLS.
[PE2] interface vlan-interface 20
[PE2-Vlan-interface20] ip address 10.2.2.1 24
[PE2-Vlan-interface20] mpls
[PE2-Vlan-interface20] quit
# Create a remote connection from CE 2 to CE 1, using the interface connected to CE 2 as the
incoming interface and that connecting the P device as the outgoing interface, setting the incoming
label to 201 and the outgoing label to 101.
[PE2] ccc ce2-ce1 interface vlan-interface 10 in-label 201 out-label 101 nexthop
10.2.2.2
On CE 2, configure an IP address for VLAN-interface 10 connected to PE 2.
5.
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface vlan-interface 10
[CE2-Vlan-interface10] ip address 100.1.1.2 24
Verify your configuration:
6.
# Display CCC connection information on PE 1.
[PE1] display ccc
Total
ccc vc
Local
ccc vc
Remote ccc vc
***Name
Type
State
: 1
: 0,
0 up
: 1,
1 up
: ce1-ce2
: remote
: up
211

Advertisement

Table of Contents
loading

Table of Contents