HP 12500 Series Configuration Manual page 177

Mpls, routing switch series
Table of Contents

Advertisement

# Configure an IP address for interface Loopback 0.
<Sysname> system-view
[Sysname] sysname BEB-PE
[BEB-PE] interface loopback 0
[BEB-PE-LoopBack0] ip address 2.2.2.9 32
[BEB-PE-LoopBack0] quit
# Configure the LSR-ID and enable MPLS globally.
[BEB-PE] mpls lsr-id 2.2.2.9
[BEB-PE] mpls
[BEB-PE-mpls] quit
# Enable L2VPN and MPLS L2VPN.
[BEB-PE] l2vpn
[BEB-PE-l2vpn] mpls l2vpn
[BEB-PE-l2vpn] quit
# Enable LDP globally.
[BEB-PE] mpls ldp
[BEB-PE-mpls-ldp] quit
# Configure VLAN-interface 23, the interface connecting PE, and enable LDP on the interface.
[BEB-PE] interface vlan-interface 23
[BEB-PE-Vlan-interface23] ip address 23.1.1.2 24
[BEB-PE-Vlan-interface23] mpls
[BEB-PE-Vlan-interface23] mpls ldp
[BEB-PE-Vlan-interface23] quit
# Create a remote peer.
[BEB-PE] mpls ldp remote-peer 1
[BEB-PE-mpls-ldp-remote-1] remote-ip 1.1.1.9
[BEB-PE-mpls-ldp-remote-1] quit
# Configure OSPF.
[BEB-PE] ospf
[BEB-PE-ospf-1] area 0
[BEB-PE-ospf-1-area-0.0.0.0] network 23.1.1.2 0.0.0.255
[BEB-PE-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[BEB-PE-ospf-1-area-0.0.0.0] quit
[BEB-PE-ospf-1] quit
# Configure a VSI named aaa, which supports both VPLS and MAC-in-MAC and uses the static
peer discovery mechanism and the I-SID of 100.
[BEB-PE] vsi aaa static minm i-sid 100
# Configure the VSI to use LDP for PW signaling, set the VSI ID to 500, and specify the peer
address as 1.1.1.9.
[BEB-PE-vsi-aaa] pwsignal ldp
[BEB-PE-vsi-aaa-ldp] vsi-id 500
[BEB-PE-vsi-aaa-ldp] peer 1.1.1.9
[BEB-PE-vsi-aaa-ldp] quit
# Specify VLAN 20 as the B-VLAN of VSI aaa.
[BEB-PE-vsi-aaa] minm bvlan 20
[BEB-PE-vsi-aaa] quit
169

Advertisement

Table of Contents
loading

Table of Contents