![]() | Command: l2 ping |
Triggers a Layer 2 ping, which acts like a native ping. Enable Connectivity Fault Management (CFM) to debug Layer 2.
l2 ping vlan <1-4094> mac <H.H.H>
l2 ping vlan <1-4094> mac <H.H.H> burst-count <1-200>
l2 ping vlan <1-4094> mac <H.H.H> data-tlv-size <0-400>
l2 ping vlan <1-4094> mac <H.H.H> frame-size <64-1500>
l2 ping vlan <1-4094> mac <H.H.H> priority <0-7>
l2 ping vlan <1-4094> mac <H.H.H> source-mode nodal
l2 ping vlan <1-4094> mac <H.H.H> source-mode smltVirtual
l2 ping vlan <1-4094> mac <H.H.H> testfill-pattern allZero
l2 ping vlan <1-4094> mac <H.H.H> testfill-pattern allZeroCrc
l2 ping vlan <1-4094> mac <H.H.H> testfill-pattern pseudoRandomBitSequence
l2 ping vlan <1-4094> mac <H.H.H> testfill-pattern pseudoRandomBitSequenceCrc
l2 ping vlan <1-4094> mac <H.H.H> time-out <1-10>
l2 ping vlan <1-4094> routernodename WORD
l2 ping vlan <1-4094> routernodename WORD burst-count <1-200>
l2 ping vlan <1-4094> routernodename WORD data-tlv-size <0-400>
l2 ping vlan <1-4094> routernodename WORD frame-size <64-1500>
l2 ping vlan <1-4094> routernodename WORD priority <0-7>
l2 ping vlan <1-4094> routernodename WORD source-mode nodal
l2 ping vlan <1-4094> routernodename WORD source-mode smltVirtual
l2 ping vlan <1-4094> routernodename WORD testfill-pattern allZero
l2 ping vlan <1-4094> routernodename WORD testfill-pattern allZeroCrc
l2 ping vlan <1-4094> routernodename WORD testfill-pattern pseudoRandomBitSequence
l2 ping vlan <1-4094> routernodename WORD testfill-pattern pseudoRandomBitSequenceCrc
l2 ping vlan <1-4094> routernodename WORD time-out <1-10>
None
User EXEC
| Parameter | Description |
|---|---|
|
<1-4094> | Specifies the VLAN ID. |
|
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 <H.H.H> | Specifies the MAC address. |
|
priority <0-7> | Specifies the priority. The default is 7. |
|
routernodename WORD | Specifies the router node name. |
|
source-mode nodal | Specifies the source mode of nodal. 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 default is nodal. This mode applies to both B-VLANs and C-VLANs. |
|
source-mode smltVirtual | Specifies the source mode of smltVirtual. Virtual Services Platform 7000 Series 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 B-MAC into the core on both B-VIDS. In addition each node advertises the SMLT virtual B-MAC on one of the two B-VLANs. The default is nodal. |
|
testfill-pattern allZero | Specifies the testfill pattern. The range is: allZero: null signal without cyclic redundancy check; allZeroCrc: null signal with cyclic redundancy check with 32-bit polynomial; pseudoRandomBitSequence: PRBS without cyclic redundancy check; or pseudoRandomBitSequenceCrc: PBRS with cyclic redundancy check with 32-bit polynomial. A cyclic redundancy check is a code that detects errors. The default is allZero. |
|
testfill-pattern allZeroCrc | Specifies the testfill pattern. The range is: allZero: null signal without cyclic redundancy check; allZeroCrc: null signal with cyclic redundancy check with 32-bit polynomial; pseudoRandomBitSequence: PRBS without cyclic redundancy check; or pseudoRandomBitSequenceCrc: PBRS with cyclic redundancy check with 32-bit polynomial. A cyclic redundancy check is a code that detects errors. The default is allZero. |
|
testfill-pattern pseudoRandomBitSequence | Specifies the testfill pattern. The range is: allZero: null signal without cyclic redundancy check; allZeroCrc: null signal with cyclic redundancy check with 32-bit polynomial; pseudoRandomBitSequence: PRBS without cyclic redundancy check; or pseudoRandomBitSequenceCrc: PBRS with cyclic redundancy check with 32-bit polynomial. A cyclic redundancy check is a code that detects errors. The default is allZero. |
|
testfill-pattern pseudoRandomBitSequenceCrc | Specifies the testfill pattern. The range is: allZero: null signal without cyclic redundancy check; allZeroCrc: null signal with cyclic redundancy check with 32-bit polynomial; pseudoRandomBitSequence: PRBS without cyclic redundancy check; or pseudoRandomBitSequenceCrc: PBRS with cyclic redundancy check with 32-bit polynomial. A cyclic redundancy check is a code that detects errors. The default is allZero. |
|
time-out <1-10> | Specifies the interval in seconds. The default is 3. |