HP 12500 Series Configuration Manual page 162

Mpls, routing switch series
Table of Contents

Advertisement

[UPE-Vlan-interface12] ip address 12.1.1.1 24
[UPE-Vlan-interface12] mpls
[UPE-Vlan-interface12] mpls ldp
[UPE-Vlan-interface12] quit
# Configure an IP address for the interface connected to NPE 2, and enable MPLS and MPLS LDP.
[UPE] interface vlan-interface 13
[UPE-Vlan-interface13] ip address 13.1.1.1 255.255.255.0
[UPE-Vlan-interface13] mpls
[UPE-Vlan-interface13] mpls ldp
[UPE-Vlan-interface13] quit
# Configure the remote LDP peer NPE 1.
[UPE] mpls ldp remote-peer 1
[UPE-mpls-remote-1] remote-ip 2.2.2.2
[UPE-mpls-remote-1] quit
# Configure the remote LDP peer NPE 2.
[UPE] mpls ldp remote-peer 2
[UPE-mpls-remote-1] remote-ip 3.3.3.3
[UPE-mpls-remote-1] quit
# Enable L2VPN and MPLS L2VPN.
[UPE] l2vpn
[UPE-l2vpn] mpls l2vpn
[UPE-l2vpn] quit
# Configure the basic attributes of VPLS instance aaa, which uses LDP.
[UPE] vsi aaa static
[UPE-vsi-aaa] pwsignal ldp
[UPE-vsi-aaa-ldp] vsi-id 500
[UPE-vsi-aaa-ldp] peer 2.2.2.2 backup-peer 3.3.3.3
[UPE-vsi-aaa-ldp] dual-npe revertive wtr-time 1
[UPE-vsi-aaa-ldp] quit
[UPE-vsi-aaa] quit
# On the interface connected to CE 1, create a service instance and bind the VSI.
[UPE] interface GigabitEthernet 3/0/1
[UPE-GigabitEthernet3/0/1] service-instance 1000
[UPE-GigabitEthernet3/0/1-srv1000] encapsulation s-vid 10
[UPE-GigabitEthernet3/0/1-srv1000] xconnect vsi aaa
[UPE-GigabitEthernet3/0/1-srv1000] quit
# On the interface connected to CE 2, create a service instance and bind the VSI.
[UPE] interface GigabitEthernet 3/0/2
[UPE-GigabitEthernet3/0/2] service-instance 1000
[UPE-GigabitEthernet3/0/2-srv1000] encapsulation s-vid 11
[UPE-GigabitEthernet3/0/2-srv1000] xconnect vsi aaa
[UPE-GigabitEthernet3/0/2-srv1000] quit
Configure NPE 1.
3.
# Configure basic MPLS.
<Sysname> system-view
[Sysname] sysname NPE1
154

Advertisement

Table of Contents
loading

Table of Contents