ping ethernet
Syntax
Release Information
Command introduced in JUNOS Release 9.1.
Description
On M320, MX Series, T320, and T640 routers, 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. Terminate the ping command by typing Ctrl+c.
- 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) The amount of time, in seconds, to wait 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 24 lists the output fields for the ping ethernet command. Output fields are listed in the approximate order in which they appear.
Table 24: 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