203
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a PW class and enter
PW class view.
pw-class
pw-class-name
Optional.
By default, no PW class is created.
3.
Specify the VC encapsulation
type.
trans-mode
{
ethernet
|
vlan
}
Optional.
VLAN by default.
4.
Specify the tunneling policy.
pw-tunnel-policy
policy-name
Optional.
If you do not specify a tunneling
policy, the default tunneling policy
is used. The default tunneling
policy selects only one tunnel in
this order: LSP tunnel, CR-LSP
tunnel.
For information about how to
configure a tunneling policy, see
."
5.
Return to system view.
quit
N/A
6.
Enter the view of the Layer 2
Ethernet interface or Layer 2
aggregate interface
connected to a CE.
•
Enter Layer 2 Ethernet interface
view:
interface
interface-type
interface-number
•
Enter Layer 2 aggregate
interface view:
interface
bridge-aggregation
interface-number
N/A
7.
Create a service instance and
enter service instance view.
service-instance
instance-id
By default, no service instance is
created.
8.
Configure a packet matching
rule for the service instance.
encapsulation
{
s-vid
{
vlan-id
|
vlan-list
} [
only-tagged
] |
port-based
|
tagged
|
untagged
}
By default, no packet matching
rule is configured for the service
instance.
9.
Create a Martini VC for the
service instance.
xconnect peer
peer-ip-address
pw-id
pw-id
[
access-mode
{
ethernet
|
vlan
} |
mtu
mtu-value
| [
pw-class
class-name
] ] *
After this command is executed,
the VLAN ID, access mode, and
MTU configured for the service
instance cannot be changed. To
modify these parameters, you must
use the
undo xconnect peer
command to delete the VC first.
The
xconnect peer
command is
available for service instances with
an ID in the range of 1 to 4094.
10.
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.
NOTE:
MPLS L2VPN does not support load sharing among tunnels.