HP FlexNetwork 10500 Series Configuration Manual page 363

Hide thumbs Also See for FlexNetwork 10500 Series:
Table of Contents

Advertisement

[P-Vlan-interface20] quit
# Configure VLAN-interface 30 (the interface connected to PE 2), and enable MPLS on the
interface.
[P] interface vlan-interface 30
[P-Vlan-interface30] ip address 10.2.2.2 24
[P-Vlan-interface30] mpls enable
[P-Vlan-interface30] quit
# Configure a static LSP to forward packets from PE 1 to PE 2.
[P] static-lsp transit pe1-pe2 in-label 201 nexthop 10.2.2.1 out-label 202
# Configure a static LSP to forward packets from PE 2 to PE 1.
[P] static-lsp transit pe2-pe1 in-label 102 nexthop 10.1.1.1 out-label 101
5.
Configure PE 2:
# Configure an LSR ID.
<PE2> system-view
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 192.3.3.3 32
[PE2-LoopBack0] quit
[PE2] mpls lsr-id 192.3.3.3
# Enable L2VPN.
[PE2] l2vpn enable
# Configure VLAN-interface 30 (the interface connected to the P device), and enable MPLS on
the interface.
[PE2] interface vlan-interface 30
[PE2-Vlan-interface30] ip address 10.2.2.1 24
[PE2-Vlan-interface30] mpls enable
[PE2-Vlan-interface30] quit
# Create VLAN 10 and assign GigabitEthernet 1/0/1 to the VLAN.
[PE2] vlan 10
[PE2-vlan10] port gigabitethernet 1/0/1
[PE2-vlan10] quit
# Create Ethernet service instance 10 on GigabitEthernet 1/0/1 to match packets with an outer
VLAN ID of 10.
[PE2] interface gigabitethernet 1/0/1
[PE2-GigabitEthernet1/0/1] service-instance 10
[PE2-GigabitEthernet1/0/1-srv10]encapsulation s-vid 10
[PE2-GigabitEthernet1/0/1-srv10] quit
[PE2-GigabitEthernet1/0/1] quit
# Create a cross-connect group named ccc, and create a remote CCC connection that has
incoming label 202, outgoing label 102, and next hop 10.2.2.2.
[PE2] xconnect-group ccc
[PE2-xcg-ccc] connection ccc
[PE2-xcg-ccc-ccc] ccc in-label 202 out-label 102 nexthop 10.2.2.2
# Bind Ethernet service instance 10 on GigabitEthernet 1/0/1 to the CCC connection.
[PE2-xcg-ccc-ccc] ac interface gigabitethernet 1/0/1 service-instance 10
[PE2-xcg-ccc-ccc] quit
[PE2-xcg-ccc] quit
6.
Configure CE 2.
<CE2> system-view
354

Advertisement

Table of Contents
loading

Table of Contents