207
Step Command
Remarks
4.
Create a Kompella
connection.
connection
[
ce-offset
ce-id
]
interface
interface-type interface-number
[
tunnel-policy
tunnel-policy-name
]
The
ce-offset
ce-id
option
determines whether the
connection is a local
connection or a remote
connection. If the specified CE
is connected to the same PE as
the local CE, the connection is
local connection. Otherwise,
the connection is a remote
connection.
The
interface
interface-type
interface-number
option
specifies a PE-CE interface of
the PE. By specifying the
interface, you bind the AC link
of the interface to the Kompella
connection to be created.
Resetting L2VPN BGP sessions
When the configuration that affects BGP routing changes, to validate the new configuration by resetting
BGP sessions, perform the following task in user view:
Task Command
Reset L2VPN BGP sessions.
reset bgp l2vpn
{
as-number
|
ip-address
|
all
|
external
|
internal
}
Displaying and maintaining MPLS L2VPN
Task Command
Remarks
Display information about CCC
connections.
display ccc
[
ccc-name
ccc-name
|
type
{
local
|
remote
} ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about
specified L2VPN VC interfaces.
display l2vpn ccc-interface vc-type
{
all
|
bgp-vc
|
ccc
|
ldp-vc
|
static-vc
} [
up
|
down
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about static
VCs.
display mpls
static-l2vc
[
interface
interface-type interface-number
[
service-instance
instance-id
] ] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about Martini
VCs.
display mpls l2vc
[
interface
interface-type interface-number
[
service-instance
instance-id
]
|
remote-info
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view