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.
l2 ping {vlan <1-4059> routernodename WORD<0–255> | vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00>} [burst-count <1–200>] [data-tlv-size <0–400>] [frame-size <64–1500>] [priority <0–7>] [source-mode <nodal|smltVirtual>] [testfill-pattern <all-zero|all-zero-crc|pseudo-random-bit-sequence|pseudo-random-bit-sequence-crc>] [time-out <1–10>]
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.
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.
None
User EXEC