< Home

ping mac multicast

Function

The ping mac multicast command configures multicast MAC ping in the current MA.

Format

ping mac multicast mep mep-id [ -c count | -p priority-value | -t timeout ] *

Parameters

Parameter Description Value
mep mep-id Specifies the ID of a MEP. The value is an integer ranging from 1 to 8191.
-c count Specifies the number of multicast Loopback Messages (LBMs) to be sent. The value is an integer ranging from 1 to 4294967295. The default value is 3.
-p priority-value Specifies the priority of the multicast LBM. The value is an integer ranging from 0 to 7. The default value is the same as the 802.1p priority of the 802.1ag packets which is specified in MA view (packet-priority).
-t timeout Specifies the timeout period for waiting for a Loopback Reply (LBR). The value is an integer that ranges from 1 to 65535, in milliseconds. By default, the value is 5000 milliseconds.

Views

MA view

Default Level

0: Visit level

Usage Guidelines

Usage Scenario

The destination MAC address of multicast MAC ping is a multicast MAC address. Multicast MAC ping provides two functions, that is, acknowledging faults and discovering RMEPs.
  • Acknowledging faults: Multicast MAC ping provides the fault acknowledgement function similar to that provided by 802.1ag MAC ping. In a multicast MAC ping test, test packets are sent to test whether the path from the local device to the destination device is reachable. Multicast MAC ping can acknowledge the faults of links between multiple MEPs once.

  • Discovering RMEPs: All RMEPs in the MA can be discovered.

    For example, there are three MEPs in an MA: MEP1, MEP2, and MEP3. After multicast MAC ping is configured on MEP1, MEP1 sends multicast LBMs. After MEP2 and MEP3 receive the LBM, they reply with an LBR. The LBR carries the MAC address of MEP2 or MEP3, MEP ID, and delay. Before configuring the remote-mep command on MEP1, you can configure multicast MAC ping to detect all RMEPs in an MA.

Prerequisites

A MEP has been created using the mep mep-id command.

Precautions

IEEE 802.1ag has two versions: IEEE 802.1ag Draft 7 and IEEE Standard 802.1ag-2007. This command can be used only on the device running IEEE Standard 802.1ag-2007. Before using the ping mac multicast command, you must use the cfm version command to set the Ethernet CFM version to IEEE Standard 802.1ag-2007.

Example

# Create an MD named md1, create an MA named ma1 in the MD, and configure multicast MAC ping in ma1.

<HUAWEI> system-view
[HUAWEI] cfm md md1
[HUAWEI-md-md1] ma ma1
[HUAWEI-md-md1-ma-ma1] mep mep-id 1 interface gigabitethernet 0/0/1 inward
[HUAWEI-md-md1-ma-ma1] ping mac multicast mep 1 -p 6 –c 1 –t 3
Reply from 0001-0300-0204 mep id 10: time = 9ms
Reply from 0001-0300-0269 mep id 11: time = 11ms
Packets: Sent = 1, Received = 2
Minimum = 9ms, Maximum = 11ms, Average = 10ms
Table 1 Description of the ping mac multicast command output

Item

Description

Reply from

MAC address of the RMEP.

mep id

MEP ID.

time

Delay, in millisecond.

Sent

Number of sent multicast LBMs.

Received

Number of received LBRs.

Minimum

Minimum delay, in millisecond.

Maximum

Maximum delay, in millisecond.

Average

Average delay, in millisecond.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >