Supported Platforms
ping ethernet
Syntax
Release Information
Command introduced in Junos OS Release 9.1.
Support for multicast MAC addresses introduced in Junos OS Release 12.3R2.
Description
Check the reachability of a remote IEEE 802.1ag OAM maintenance association end point (MEP) or maintenance association intermediate point (MIP). Type Ctrl+c to interrupt a ping ethernet command.
Options
mac-address | — | Send loopback protocol messages to the MEP with the specified Ethernet MAC address. |
maintenance-association ma-name | — | Send loopback protocol messages to the MEP for the specified maintenance association. |
maintenance-domain md-name | — | Send loopback protocol messages to the MEP for the specified maintenance domain. |
count count | — | (Optional) Number of ping requests to send. The range of values is from 1 through 65,535. If the count is not specified 4 loopback messages are sent. |
host-mac-address | — | (Optional) Unicast or multicast MAC address of the remote host in xx:xx:xx:xx:xx:xx format. For example, this can be a multicast MAC address in the 01:80:c2:00:00:3x format (where x = 0 through 7). |
logical-system logical-system-name | — | (Optional) Run the command for the specified logical system. |
mep identifier | — | (Optional) MEP identifier of the remote host. The default MEP identifier is 1. The range is 1 through 8191. |
size bytes | — | (Optional) The length, in bytes, of the data type, length, and value (TLV) sent in the loopback message. The range of values is from 1 through 1400. The default is 64 bytes. |
wait seconds | — | (Optional) Maximum wait time, in seconds, to send the next loopback message. The range of values is from 1 through 255. The default wait time is 1 second. |
Required Privilege Level
network
List of Sample Output
ping ethernetOutput Fields
Table 1 lists the output fields for the ping ethernet command. Output fields are listed in the approximate order in which they appear.
Table 1: ping ethernet Output Fields
Field Name | Field Description |
---|---|
PING to | The MAC address of the remote MEP or MIP to which the request message packets are being sent. |
Interface | The local Ethernet interface from which the request message packets are being sent. |
ping responses | For each loopback message response received, display the number of TLV bytes, the MAC address of the remote MEP or MIP, and the sequence number. |
ping statistics | Display totals for the following:
|
Sample Output
ping ethernet
user@host> ping ethernet maintenance-domain
md0 maintenance-association ma0 00:19:e2:b0:75:9c
PING to 00:19:e2:b0:75:9c, Interface ge-1/1/1.0 68 bytes from 00:19:e2:b0:75:9c: lbm_seq=0 68 bytes from 00:19:e2:b0:75:9c: lbm_seq=1 68 bytes from 00:19:e2:b0:75:9c: lbm_seq=2 68 bytes from 00:19:e2:b0:75:9c: lbm_seq=3 --- ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss