Configure Layer 2 Ping

Use this procedure to configure a Layer 2 ping inside an SPBM cloud or network. This feature enables CFM to debug Layer 2. It can also help you debug IP shortcuts and the record for the shortcuts‘ ARP.

Before you begin

  • On the source and destination nodes, you must configure a CFM MD, MA, and MEP, and assign a nodal MEP to the B-VLAN.

Procedure

  1. In the navigation pane, expand Configuration > Edit > Diagnostics.
  2. Click L2Ping/L2Trace Route.
  3. From the L2Ping tab, configure the Layer 2 ping properties.
  4. To initiate a Layer 2 ping, highlight an entry and click the Start button.
  5. To update a Layer 2 ping, click the Refresh button.
  6. To stop the Layer 2 ping, click the Stop button.

L2Ping Field Descriptions

Use the data in the following table to use the L2Ping tab.

Name

Description

VlanId

Identifies the backbone VLAN.

DestMacAddress

Specifies the target MAC address.

HostName

Specifies the target host name.

DestIsHostName

Indicates whether the host name is (true) or is not (false) used for L2Ping transmission.

Messages

Specifies the number of L2Ping messages to be transmitted. The default is 1.

Status

Specifies the status of the transmit loopback service:

  • ready: the service is available.

  • transmit: the service is transmitting, or about to transmit, the L2Ping messages.

  • abort: the service aborted or is about to abort the L2Ping messages.

This field is also used to avoid concurrency or race condition problems that can occur if two or more management entities try to use the service at the same time.

The default is ready.

ResultOk

Indicates the result of the operation:

  • true: the L2Ping Messages will be (or have been) sent.

  • false: the L2Ping Messages will not be sent.

The default is true.

Priority

Specifies a 3–bit value to be used in the VLAN header, if present in the transmitted frame.

The default is 7.

TimeoutInt

Specifies the interval to wait for an L2Ping time-out. The default value is 3 seconds.

TestPattern

Specifies the test pattern to use in the L2Ping PDU:

  • allZero: null signal without cyclic redundancy check

  • allZeroCrc: null signal with cyclic redundancy check with 32-bit polynomial

  • pseudoRandomBitSequence: pseudo-random-bit-sequence without cyclic redundancy check

  • pseudoRandomBitSequenceCrc: pseudo-random-bit-sequence with cyclic redundancy check with 32-bit polynomial.

A cyclic redundancy check is a code that detects errors. The default value is allZero.

DataSize

Specifies an arbitrary amount of data to be included in the data TLV, if the data size is selected to be sent. The default is 0.

FrameSize

Specifies the frame size. If the frame size is specified then the data size is internally calculated and the calculated data size is included in the data TLV. The default is 0.

SourceMode

Specifies the source mode of the transmit loopback service:

  • nodal

  • noVlanMac — Use this value with C-VLAN only. When you select this option, even if a VLAN MAC address exists, the system uses the CFM C-MAC as the BMAC-SA.

  • smltVirtual — Use the smltVirtual option with B-VLANs only.

The default is nodal.

SeqNumber

The transaction identifier/sequence number of the first loopback message (to be) sent. The default is 0.

Result

Displays the Layer 2 Ping result.