HP FlexNetwork 10500 Series Configuration Manual page 362

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

Advertisement

[CE1-Vlan-interface10] quit
3.
Configure PE 1:
# 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
# Configure VLAN-interface 20 (the interface connected to the P device), and enable MPLS 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] quit
# Create VLAN 10 and assign GigabitEthernet 1/0/1 to the VLAN.
[PE1] vlan 10
[PE1-vlan10] port gigabitethernet 1/0/1
[PE1-vlan10] quit
# Create Ethernet service instance 10 on GigabitEthernet 1/0/1 to match packets with an outer
VLAN ID of 10.
[PE1] interface gigabitethernet 1/0/1
[PE1-GigabitEthernet1/0/1] service-instance 10
[PE1-GigabitEthernet1/0/1-srv10]encapsulation s-vid 10
[PE1-GigabitEthernet1/0/1-srv10] quit
[PE1-GigabitEthernet1/0/1] quit
# Create a cross-connect group named ccc, and create a remote CCC connection that has
incoming label 101, outgoing label 201, and next hop 10.1.1.2.
[PE1] xconnect-group ccc
[PE1-xcg-ccc] connection ccc
[PE1-xcg-ccc-ccc] ccc in-label 101 out-label 201 nexthop 10.1.1.2
# Bind Ethernet service instance 10 on GigabitEthernet 1/0/1 to the CCC connection.
[PE1-xcg-ccc-ccc] ac interface gigabitethernet 1/0/1 service-instance 10
[PE1-xcg-ccc-ccc] quit
[PE1-xcg-ccc] quit
4.
Configure the P device:
# Configure an LSR ID.
<P> system-view
[P] interface loopback 0
[P-LoopBack0] ip address 192.4.4.4 32
[P-LoopBack0] quit
[P] mpls lsr-id 192.4.4.4
# Configure VLAN-interface 20 (the interface connected to PE 1), and enable MPLS on the
interface.
[P] interface vlan-interface 20
[P-Vlan-interface20] ip address 10.1.1.2 24
[P-Vlan-interface20] mpls enable
353

Advertisement

Table of Contents
loading

Table of Contents