HP 12500 Series Configuration Manual page 178

Mpls, routing switch series
Table of Contents

Advertisement

# Configure port GigabitEthernet 3/0/1 as the uplink port of VSI aaa, and as a trunk port that
permits packets of VLAN 20 to pass.
BEB-PE] interface GigabitEthernet 3/0/1
[BEB-PE-GigabitEthernet3/0/1] port link-type trunk
[BEB-PE-GigabitEthernet3/0/1] port trunk permit vlan 20
[BEB-PE-GigabitEthernet3/0/1] minm uplink vsi aaa
[BEB-PE-GigabitEthernet3/0/1] quit
Configure BEB.
3.
# Enable L2VPN.
<Sysname> system-view
[Sysname] sysname BEB
[BEB] l2vpn
[BEB-l2vpn] quit
# Create a VSI aaa that supports MAC-in-MAC and uses the I-SID of 100.
[BEB] vsi aaa minm i-sid 100
# Specify VLAN 20 as the B-VLAN of VSI aaa.
[BEB-vsi-aaa] minm bvlan 20
[BEB-vsi-aaa] quit
# Configure GigabitEthernet 3/0/1, the uplink port for MAC-in-MAC, as a trunk port that permits
packets of VLAN 20 to pass, and specify the port as the uplink port of VSI aaa.
[BEB] interface GigabitEthernet 3/0/1
[BEB-GigabitEthernet3/0/1] port link-type trunk
[BEB-GigabitEthernet3/0/1] port trunk permit vlan 20
[BEB-GigabitEthernet3/0/1] minm uplink vsi aaa
[BEB-GigabitEthernet3/0/1] quit
# Configure GigabitEthernet 3/0/2, the downlink port for MAC-in-MAC, as a trunk port that
permits packets of VLAN 2 to pass, create service instance 1 on the port, configure the service
instance to match packets with the outer VLAN tag of 2, and bind the service instance with VSI
aaa.
[BEB] interface GigabitEthernet 3/0/2
[BEB-GigabitEthernet 3/0/2] port link-type trunk
[BEB-GigabitEthernet 3/0/2] port trunk permit vlan 2
[BEB-GigabitEthernet 3/0/2] service-instance 1
[BEB-GigabitEthernet 3/0/2-srv2] encapsulation s-vid 2
[BEB-GigabitEthernet 3/0/2-srv2] xconnect vsi aaa
[BEB-GigabitEthernet 3/0/2-srv2] quit
[BEB-GigabitEthernet 3/0/2] quit
Verify the configuration.
4.
# Execute the display vpls connection command on BEB-PE. You can see that a PW link is set up
between BEB-PE and PE, and is in the up state.
[BEB-PE] display vpls connection vsi aaa
Total 1 connection(s),
connection(s): 1 up, 0 block, 0 down, 1 ldp, 0 bgp
VSI Name: aaa
VsiID
VsiType
500
vlan
PeerAddr
InLabel
1.1.1.9
1024
170
Signaling: ldp
OutLabel
LinkID
1024
1
VCState
up

Advertisement

Table of Contents
loading

Table of Contents