The me mip switch-l2vc between vc-type command creates a maintenance entity (ME) instance for a maintenance entity group intermediate point (MIP) and binds the ME instance to a switch node over a multi-segment PW (MS-PW).
The undo me mip switch-l2vc between vc-type command deletes an ME instance created on a MIP.
By default, no ME instance is created.
Parameter | Description | Value |
---|---|---|
peer-ip-value |
Specifies the label switching router (LSR) ID for the PE over an MS-PW. |
The value is in dotted decimal notation. |
vc-id-value |
Specifies the virtual circuit (VC) ID. |
The value is an integer ranging from 1 to 4294967295. VCs of the same type on a PE must be uniquely identified by the VC ID. |
switch-peer-ip-v |
Specifies the LSR ID for the peer PE of the switch node over an MS-PW. |
The value is in dotted decimal notation. |
switch-vc-id-v |
Specifies the VC ID. |
The value is an integer ranging from 1 to 4294967295. VCs of the same type on a PE must be uniquely identified by the VC ID. |
vc-type-value |
Specifies the VC type. |
Encapsulation types supported:
|
mip-id mip-id-value |
Specifies the ID of a MIP. |
The value is an integer ranging from 1 to 8191. |
Usage Scenario
If an MS-PW is used as a transport path, a MEG must have a single ME for this MS-PW. The MIP is the switch node over the MS-PW.
To monitor the path between the MEP and the MIP using MPLS-TP OAM, create ME instances on both the MEP and MIP. To create an ME instance on the MIP and bind the ME instance to the switch node over the MS-PW, run the me mip switch-l2vc command. MPLS-TP OAM supports only the loopback (LB) function to monitor a path from a MEP to a MIP. If a MEP sends a loopback message (LBM), a destination node MIP can be specified. After receiving the LBM, the MIP responds to the MEP with a loopback reply (LBR). This process completes the LB operation.Prerequisites
A switch node exists on the MS-PW.
Configuration Impact
After the me mip switch-l2vc command is run:
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] mpls switch-l2vc 1.1.1.1 100 between 3.3.3.3 100 encapsulation vlan [*HUAWEI] mpls-tp meg test [*HUAWEI-mpls-tp-meg-test] me mip switch-l2vc 1.1.1.1 100 between 3.3.3.3 100 vc-type vlan