ping mac port

The ping, or loopback message (LBM), goes from the MEP configured on the port toward the given MAC address.

ping mac mac port port {domain} domain_name {association} association_name

Description

Allows you to ping on the Layer 2 level throughout the specified domain and MA.

Syntax Description

mac

Enter the unique system MAC address on the device you want to reach. Enter this value in the format XX:XX:XX:XX:XX:XX.

port

Enter the port number of the MEP from which you are issuing the ping.

domain

Enter this keyword.

domain_name

Enter the name of the domain from which you are issuing the ping.

association

Enter this keyword.

association_name

Enter the name of the association from which you are issuing the ping.

Default

N/A.

Usage Guidelines

You must have CFM parameters configured prior to issuing a Layer 2 ping.

In order to send a Layer 2 ping, you must specify the port (MEP), the domain, and the MA from which you are issuing the ping. An UP MEP sends the ping to all ports (except the sending port) on the VLAN that is assigned to the specified MA, and a DOWN MEP sends the ping out from that port from that MA toward the specified MAC address.

All MIPs along the way forward the LBM to the destination. The destination MP responds back to the originator with a loopback reply (LBR).

This command sends out a ping from the MEP configured on the specified port toward the specified MAC address. If you attempt to send a ping message from a port that is not configured as a MEP, the system returns an error message. If the specified MAC address is not present in the Layer 2 forwarding table (FDB), the system cannot send the ping (applies to UpMEP, not DownMEP).

Example

The following command sends a Layer 2 ping to the unique system MAC address 00:04:96:1F:A4:31 from the previously configured UP MEP (port 2:4) in the speed association in the atlanta domain:

ping mac 00:04:96:1F:A4:31 port 2:4 atlanta speed

The following is sample output from the Layer 2 ping command:

BD-12802.48 # ping mac 00:04:96:1e:14:70 port 2:12 "extreme" 100
Send L2 Ping from Down MEP on 2:12, waiting for responses [press Ctrl-C to abort].
42 bytes from 00:04:96:1e:14:70, seq=4 time=17 ms

History

This command was first available in ExtremeXOS 11.4.

Platform Availability

This command is available on all platforms.