Function
The cfm mep command is used to create a maintenance end
point (MEP). An MEP is an end point of the maintenance telecommunications
channel. Ethernet operation, administration, and maintenance (OAM) relies on
MEPs at the two ends of a channel to detect the connectivity of the channel. So,
the MEP must be created.After this command is successfully executed, the created
MEP is used to detect the connectivity of channels within a subnet (MA).
The undo cfm mep command is used to delete an MEP. To delete an MEP that is not needed, run this command. After an MEP is deleted, the MEP is not available.
The undo cfm mep command is used to delete an MEP. To delete an MEP that is not needed, run this command. After an MEP is deleted, the MEP is not available.
Format
cfm mep mdindex/maindex/mepid
direction { up | down } {
link-aggregation | protect-group |
port } frameid/slotid/portid [
gemportid gemportid ] { [ vlantag1
vlantag1-value [ vlantag2 vlantag2-value ] ]
| [ priority priority-value ] | [
trigger if-notify ] | [
lowest-alarm-pri lowest-alarm-pri-value ] } *
cfm mep mdindex/maindex/mepid direction down l2vpn [ priority priority-value | lowest-alarm-pri lowest-alarm-pri-value ] *
cfm mep mdindex/maindex/mepid direction { up | down } port frameid/slotid/portid vpi vpi vci vci { [ vlantag1 vlantag1-value [ vlantag2 vlantag2-value ] ] | [ priority priority-value ] | [ lowest-alarm-pri lowest-alarm-pri-value ] } *
cfm mep mdindex/maindex/mepid direction { up | down } { port | link-aggregation | protect-group } frameid/slotid/portid { { [ vlantag1 vlantag1-value [ vlantag2 vlantag2-value ] ] } | [ priority priority-value ] | [ trigger { if-notify | if-down [ trigger-pri ] } ] | [ lowest-alarm-pri lowest-alarm-pri-value ] }*
undo cfm mep mdindex/maindex/mepid
cfm mep mdindex/maindex/mepid direction down l2vpn [ priority priority-value | lowest-alarm-pri lowest-alarm-pri-value ] *
cfm mep mdindex/maindex/mepid direction { up | down } port frameid/slotid/portid vpi vpi vci vci { [ vlantag1 vlantag1-value [ vlantag2 vlantag2-value ] ] | [ priority priority-value ] | [ lowest-alarm-pri lowest-alarm-pri-value ] } *
cfm mep mdindex/maindex/mepid direction { up | down } { port | link-aggregation | protect-group } frameid/slotid/portid { { [ vlantag1 vlantag1-value [ vlantag2 vlantag2-value ] ] } | [ priority priority-value ] | [ trigger { if-notify | if-down [ trigger-pri ] } ] | [ lowest-alarm-pri lowest-alarm-pri-value ] }*
undo cfm mep mdindex/maindex/mepid
Parameters
Parameter | Description | Value |
---|---|---|
mdindex/maindex/mepid |
Indicates the index value of an MEP.
|
Character string type. Range:
|
direction |
Indicates the administrative direction of an MEP. Two directions
are supported: up and down.
For example, after the GIU upstream port on the MA5680T/MA5683T/MA5608T is defined as an MEP, it is a DOWN
MEP if it can transmit packets to only the upstream direction (convergence
layer) according to the definition; it is an UP MEP if it can transmit packets
to only the downstream direction (to hardware and logic) according to the
definition.
|
- |
up | Indicates that the administrative direction of an MEP is up. | - |
down | Indicates that the administrative direction of an MEP is down. | - |
link-aggregation frameid/slotid/portid | Indicates the subrack ID, slot ID, and link-aggregation port ID. Enter a slash (/) between the subrack, slot, and port IDs. | Please see Differences Between Shelves. |
protect-group frameid/slotid/portid | Indicates the subrack ID, slot ID, and protection group master port ID. Enter a slash (/) between the subrack, slot, and port IDs. | Please see Differences Between Shelves. |
port frameid/slotid/portid | Indicates the subrack ID, slot ID, and port ID. Enter a slash (/) between the subrack, slot, and port IDs. | Please see Differences Between Shelves. |
l2vpn | Indicates the MPLS Layer 2 virtual channel. | - |
priority priority | Indicates the priorities of continuity check messages (CCMs) and link trace messages (LTMs). The larger the value, the higher the priority. |
Numeral type. Range: 0-7. Default: 7. |
gemportid gemportid | Indicates the GEM port ID. To create the MEP for a GEM port, use this parameter. | Numeral type. Range: 128-3999. |
vpi vpi | Indicates the VPI value to be entered. It is used to identify a user when used with the VCI. |
Numeral type. Range:
|
vci vci | Indicates the VCI value to be entered. It is used to identify a user when used with the VPI. |
|
vlantag1 vlantag1-value | Indicates VLAN tag 1, representing an outer VLAN receiving or sending packets. | Numeral type. Range: 1-4095. |
vlantag2 vlantag2-value | Indicates VLAN tag 2, representing an inner VLAN receiving or sending packets. | Numeral type. Range: 1-4095. |
trigger if-notify |
Indicates whether the associated protection switching of the MEP is enabled.
When it is enabled, the system performs a protection switching when a line
fails. By default, the associated protection switching is disabled. |
- |
trigger if-down |
Indicates that the MEP CC alarm status is associated with the status of the
port on which the MEP is configured. When the association is enabled, the system
determines whether to activate/deactivate the port based on the current MEP
alarm status. By default, the association is disabled. |
- |
trigger-pri | Indicates the lowest CC alarm priority at which the "trigger if-down" association is triggered. When the alarm priority of the MEP is equal to or higher than the preset association level, the system deactivates the MEP port; otherwise, the system activates the MEP port. |
Numeral type. Range: 2-5. Default value: 2. |
lowest-alarm-pri lowest-alarm-pri-value | Indicates the lowest alarm priority of the MEP. When the alarm priority of the MEP is lower than the preset lowest alarm priority, no alarm will be reported. Otherwise, an alarm is reported. |
Numeral type. Range: 1-6. Default value: 2. |
Usage Guidelines
- Currently, an MA supports only 1 local MEP and 8 remote MEPs.
- Currently, the ports on the MA5600T/MA5603T/MA5608T can serve as either MEPs or MIPs.
- An MEP of a non-existing MD or MA cannot be created.
- An existing MEP cannot be created.
- For the ETHA, ETHB, or OPGD board, creating an MEP on an inter-board aggregation group is not supported.
- To delete an MEP, you need to specify the index of the MEP to be deleted.
- There is only one MEP of management of up direction in the same VLAN.
- Only one associated protection switching can be enabled for the MEPs on one port or in one VLAN.
- Currently, the associated protection function is not supported.
- You can run the cfm mep lowest-alarm-pri command to change the lowest alarm priority of the MEP.
- When a MEP in the UP direction exists on the service port, the Ethernet OAM service can be in the normal state only when the VLAN configured on the MEP is the same as the user-side VLAN of the traffic stream.
- When an LB or LT is being tested under an MEP, the MEP cannot be deleted.
- You can run the cfm ma
cc-interval command to set the interval for sending CCM packets and
run the display cfm ma
command to query the interval for sending CCM packets. The number of MEPs
supported by the MA5680T/MA5683T/MA5608T is related
to the interval for sending CCM packets. Their relationship is as follows.
Interval for Sending CCM Packets Number of Supported Local MEPs Number of Supported Remote MEPs Shorter than 1s (including 3.3ms, 10ms, and 100ms) 512 512 1s 16 16 10s 128 128 1 minute 512 512 10 minutes 4096 4096 NOTE:When the intervals for sending CCM packets of several MAs on the MA5680T/MA5683T/MA5608T are different, the minimum number of supported MEPs prevails.
Example
To create an MEP with the following attributes on port 0/19/0, do as follows:
- Index: 0/0/1
- Direction: up
- Port: link-aggregation
- VLAN tag 1: 10
- VLAN tag 2: 100
- Priority: 5
- Lowest alarm priority: 3
huawei(config)#cfm mep
{ mdindex/maindex/mepid<S><Length 5-11> }:0/0/1
{ ais<K>|cc<K>|direction<K>|disable<K>|enable<K>|fng-alarm-time<K>|fng-reset-tim
e<K>|lowest-alarm-pri<K>|priority<K>|trigger<K> }:direction
{ down<K>|up<K> }:up
{ link-aggregation<K>|port<K>|protect-group<K> }:link-aggregation
{ frameid/slotid/portid<S><Length 5-18> }:0/19/0
{ <cr>|gemportid<K>|lowest-alarm-pri<K>|priority<K>|trigger<K>|vlantag1<K> }:vlantag
1
{ vlantag1<U><1,4095> }:10
{ <cr>|lowest-alarm-pri<K>|priority<K>|trigger<K>|vlantag2<K> }:vlantag2
{ vlantag2<U><1,4095> }:100
{ <cr>|lowest-alarm-pri<K>|priority<K>|trigger<K> }:priority
{ priority<U><0,7> }:5
{ <cr>|lowest-alarm-pri<K>|trigger<K> }:lowest-alarm-pri
{ lowest-alarm-pri-value<U><1,6> }:3
{ <cr>|trigger<K> }:
Command:
cfm mep 0/0/1 direction up link-aggregation 0/19/0 vlantag1 10 vlantag2
100 priority 5 lowest-alarm-pri 3
To delete the MEP with the index of 0/0/1, do as follows:huawei(config)#undo cfm mep { mdindex/maindex/mepid<S><Length 5-11> }:0/0/1 { <cr>|trigger<K> }: Command: undo cfm mep 0/0/1
No comments:
Post a Comment