l2 ping vlan

Trigger a Layer 2 ping, which acts like a native ping. Enable Connectivity Fault Management (CFM) to debug Layer 2. It can also help you debug ARP problems by providing the ability to troubleshoot next hop ARP records.

Syntax

Command Parameters

<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

burst-count <1-200>
Specifies the burst count.
data-tlv-size <0-400>
Specifies the data Type-Length-Value (TLV) size. The default is 0.
frame-size <64-1500>
Specifies the frame size. The default is 0.
mac <0x00:0x00:0x00:0x00:0x00:0x00>
Specifies the MAC address.
priority <0-7>
Specifies the priority. The default is 7.
source-mode <nodal|smltVirtual>
Specifies the source mode of nodal or smltVirtual. Nodal MPs provide both MEP and MIP functionality for SPBM deployments. Nodal MPs are associated with a B-VLAN and are VLAN encapsulated packets. The switch supports SMLT interaction with SPBM. The platform uses two B-VIDs into the core from each pair of SMLT terminating nodes. Both nodes advertise the Nodal BMAC into the core on both B-VIDS. In addition each node advertises the SMLT virtual BMAC on one of the two B-VLANs. The default is nodal.
routernodename WORD<0-255>
Specifies the router node name.
testfill-pattern <all-zero|all-zero-crc|pseudo-random-bit-sequence|pseudo-random-bit-sequence-crc>
Specifies the testfill pattern:
  • all-zero: null signal without cyclic redundancy check

  • all-zero-crc: null signal with cyclic redundancy check with 32-bit polynomial

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

  • pseudo-random-bit-sequence-crc: PBRS with cyclic redundancy check with 32-bit polynomial

A cyclic redundancy check is a code that detects errors. The default is all-zero.

time-out <1-10>
Specifies the interval in seconds. The default is 3.

Default

None

Command Mode

User EXEC