HP 12500 Series Configuration Manual page 176

Mpls, routing switch series
Table of Contents

Advertisement

[PE] mpls
[PE-mpls] quit
# Enable L2VPN and MPLS L2VPN.
[PE] l2vpn
[PE-l2vpn] mpls l2vpn
[PE-l2vpn] quit
# Enable LDP globally.
[PE] mpls ldp
[PE-mpls-ldp] quit
# Configure VLAN-interface 23, the interface connecting BEB-PE, and enable LDP on the interface.
[PE] interface vlan-interface 23
[PE-Vlan-interface23] ip address 23.1.1.1 24
[PE-Vlan-interface23] mpls
[PE-Vlan-interface23] mpls ldp
[PE-Vlan-interface23] quit
# Create a remote peer.
[PE] mpls ldp remote-peer 1
[PE-mpls-ldp-remote-1] remote-ip 2.2.2.9
[PE-mpls-ldp-remote-1] quit
# Configure OSPF.
[PE] ospf
[PE-ospf-1] area 0
[PE-ospf-1-area-0.0.0.0] network 23.1.1.1 0.0.0.255
[PE-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0
[PE-ospf-1-area-0.0.0.0] quit
[PE-ospf-1] quit
# Create a VSI named aaa, use LDP as the PW signaling, set VSI ID to 500, and specify the peer
address as 2.2.2.9.
[PE] vsi aaa static
[PE-vsi-aaa] pwsignal ldp
[PE-vsi-aaa-ldp] vsi-id 500
[PE-vsi-aaa-ldp] peer 2.2.2.9
[PE-vsi-aaa-ldp] quit
[PE-vsi-aaa] quit
# Configure GigabitEthernet 3/0/1, the interface connecting CE 1, as a trunk port that allows
packets of VLAN 2 to pass.
[PE] interface GigabitEthernet 3/0/1
[PE-GigabitEthernet3/0/1] port link-type trunk
[PE-GigabitEthernet3/0/1] port trunk permit vlan 2
# Create a service instance on GigabitEthernet 3/0/1, configure the service instance to match
packets with the outer VLAN tag of 2, and bind the service instance with VSI aaa.
[PE-GigabitEthernet3/0/1] service-instance 1
[PE-GigabitEthernet3/0/1-srv1] encapsulation s-vid 2
[PE-GigabitEthernet3/0/1-srv1] xconnect vsi aaa
[PE-GigabitEthernet3/0/1-srv1] quit
[PE-GigabitEthernet3/0/1] quit
Configure BEB-PE.
2.
168

Advertisement

Table of Contents
loading

Table of Contents