408
Task Command
Display L2VPN PW information.
display
l2vpn
pw
[
xconnect-group
group-name
] [
protocol
{
bgp
|
ldp
|
static
}
] [
verbose
]
Display PW class information.
display l2vpn pw-class
[
class-name
]
Display cross-connect group
information.
display
l2vpn
xconnect-group
[
name
group-name
] [
verbose
]
Display L2VPN label block
information.
display l2vpn bgp
[
peer
ip-address
|
local
] [
xconnect-group
group-name
] [
verbose
]
Display BGP L2VPN peer group
information.
display bgp
[
instance
instance-name
]
group l2vpn
[
group-name
group-name
]
Display L2VPN label block
information discovered by BGP.
display bgp
[
instance
instance-name
]
l2vpn signaling
[
peer
ip-address
{
advertised
|
received
} [
statistics
] |
route-distinguisher
route-distinguisher
[
site-id
site-id
[
label-offset
label-offset
[
advertise-info
] ] ] |
statistics
]
Display BGP L2VPN peer
information.
display bgp
[
instance
instance-name
]
peer l2vpn
[
ip-address
mask-length
|
group-name
group-name
log-info
|
ip-address
{
log-info
|
verbose
} |
verbose
]
Display BGP L2VPN update group
information.
display bgp
[
instance
instance-name
]
update-group l2vpn
[
ip-address
]
Reset BGP sessions for L2VPN.
reset bgp
[
instance
instance-name
] {
as-number
|
ip-address
[
mask-length
] |
all
|
external
|
group
group-name
|
internal
}
l2vpn
For more information about the
display bgp group l2vpn
,
display bgp peer l2vpn
,
display bgp
update-group l2vpn
, and
reset bgp l2vpn
commands, see
Layer 3—IP Routing Command
Reference
.
MPLS L2VPN configuration examples
Configuring local MPLS L2VPN connections
Network requirements
Configure local MPLS L2VPN connections between the PE and CEs to allow Layer 2 communication
between CE 1 and CE 2.
Figure 108 Network diagram
Configuration procedure
1.
Configure CE 1.
<CE1> system-view