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
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> burst-count
<1-200>
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> data-tlv-size
<0-400>
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> frame-size
<64-1500>
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> priority <0-7>
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> testfill-pattern
all-zero
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> testfill-pattern
all-zero-crc
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> testfill-pattern
pseudo-random-bit-sequence
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> testfill-pattern
pseudo-random-bit-sequence-crc
-
l2 ping vlan <1-4059> mac <0x00:0x00:0x00:0x00:0x00:0x00> time-out <1-10>
-
l2 ping vlan <1-4059> mac 0x00:0x00:0x00:0x00:0x00:0x00
-
l2 ping vlan <1-4059> routernodename WORD<0-255>
-
l2 ping vlan <1-4059> routernodename WORD<0-255>
-
l2 ping vlan <1-4059> routernodename WORD<0-255> burst-count <1-200>
-
l2 ping vlan <1-4059> routernodename WORD<0-255> data-tlv-size <0-400>
-
l2 ping vlan <1-4059> routernodename WORD<0-255> frame-size <64-1500>
-
l2 ping vlan <1-4059> routernodename WORD<0-255> priority <0-7>
-
l2 ping vlan <1-4059> routernodename WORD<0-255> testfill-pattern all-zero
-
l2 ping vlan <1-4059> routernodename WORD<0-255> testfill-pattern all-zero-crc
-
l2 ping vlan <1-4059> routernodename WORD<0-255> testfill-pattern
pseudo-random-bit-sequence
-
l2 ping vlan <1-4059> routernodename WORD<0-255> testfill-pattern
pseudo-random-bit-sequence-crc
-
l2 ping vlan <1-4059> routernodename WORD<0-255> time-out <1-10>
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.
- routernodename WORD<0-255>
- Specifies the router node
name.
- testfill-pattern all-zero
- Specifies the testfill pattern.
Range is: 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; or
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.
- testfill-pattern all-zero-crc
- Specifies the testfill pattern.
Range is: 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; or
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.
- testfill-pattern pseudo-random-bit-sequence
- Specifies the testfill pattern.
Range is: 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; or
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.
- testfill-pattern pseudo-random-bit-sequence-crc
- Specifies the testfill pattern.
Range is: 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; or
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.