
164
Step Command
Remarks
11.
Display information about
one or all service instances
configured on the interface.
display service-instance
interface
interface-type
interface-number
[
service-instance
instance-id
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view.
To ensure normal forwarding of VPN traffic, the Layer 2 Ethernet interface must allow the VLANs that
might appear in the VPN traffic. For more information about VLAN configuration, see
Layer 2—LAN
Switching Configuration Guide
.
Configuring Kompella MPLS L2VPN
To configure a Kompella MPLS L2VPN, perform the following configurations on PEs:
•
Configure BGP L2VPN capability. (Not needed for a local connection.)
•
Create and configure MPLS L2VPN.
•
Create a CE connection.
Configuring BGP L2VPN capability
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter BGP view.
bgp
as-number
N/A
3.
Establish the peer
relationship with the peer
PE.
peer
{
group-name
|
ip-address
}
as-number
as-number
N/A
4.
Specify the interface for the
TCP connection.
peer
{
group-name
|
ip-address
}
connect-interface
interface-type
interface-number
N/A
5.
Enter BGP L2VPN address
family view.
l2vpn-family
N/A
6.
Enable the filtering by the
route target extended
community attributes for the
received routing information.
policy vpn-target
Optional.
Enabled by default.
7.
Enable the specified peer or
peers to exchange BGP
routing information for the
BGP-L2VPN address family.
peer
{
group-name
|
ip-address
}
enable
N/A
For more information about the configuration in BGP-L2VPN address family, see "Configuring MPLS
L3VPN."
Creating and configuring an MPLS L2VPN
Step Command
Remarks
1.
Enter system view.
system-view
N/A