=== <div>Extended Ping Tests</div> ===
From [http://ipsn6tap.blogspot.com/2009/04/extended-ping-test-pattern-poor-mans.html Jason's Online Notes] & [http://www.cisco.com/en/US/docs/internetworking/troubleshooting/guide/tr1915.html#wp1021050 Cisco's Troubleshooting Serial Lines]
Cisco internetworking devices provide a mechanism to automate the sending of many ping packets in sequence. The code below illustrates the menu used to specify extended ping options. This example specifies 100 successive pings. However, when testing the components on your serial line, you should specify a much larger number, such as 1000 pings. Also increase the datagram size to a larger number, such as 1500.
====Example Ping Test====
<code>
router#ping
Protocol [ip]:
Target IP address: 10.10.1.5 <--- Target IP
Repeat count [5]: 100 <--- Ping count specification
Datagram size [100]: 1500
Timeout in seconds [2]:
Extended commands [n]: y <--- Extended commands selected option
Source address or interface:
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]: 0xffff <--- Data pattern specification
Loose, Strict, Record, Timestamp, Verbose[none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 100, 1500-byte ICMP Echos to 10.10.1.5, timeout is 2 seconds:
Packet has data pattern 0xFFFF
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 20/22/24 ms
</code>
====Data Sequence Types====
0x0000 - all zeroes
0xFFFF - all ones
0x5555 - alternating zeros and ones
0x4040 - one with seven zeros (1 in 7)
0x8080 - one with seven zeros (1 in 7)
0x1000 - one with 15 zeros
0x1111 - one after every 8 bits (tests B8ZS vs AMI)
0x4242 - one followed by 4 consecutive zeros (2 in 8)
=====All Zeros=====
0000 0000 0000 0000
This pattern is composed of only zeros and must be encoded with either B8ZS or ZBTSI zero suppression techniques before transmission into the network. The pattern is effective in finding equipment misoptioned for AMI. This is the same as the 0x0000 Cisco extended ping test (with out header and footer data).
=====All Ones=====
1111 1111 1111 1111
This pattern is composed of only ones. This pattern causes the repeater to consume the maximum amount of power. If the DC baseline current is properly regulated, then the repeater will have no trouble transmitting long ones sequences. In some networks, an unframed pattern of all ones is an Alarm Indicating Signal (AIS) (blue alarm or an all ones condition).
This is the same as the 0xFFFF Cisco extended ping test (without header and footer data).
=====Zero One=====
0101 0101 0101 0101
The Alternating zeros and ones pattern is used to test the regeneration circuitry of the repeaters on the circuit. If the repeaters are in spec and properly calibrated then they will be able to quickly alternate from +3 volts to the baseline, to -3 volts, to the baseline, and so on.
This is the same as the 0x5555 Cisco extended ping test (without header and footer data).
=====Quasi Random=====
Pseudo-random sequence based on a 20-bit shifting register. Generates every combination of 20-bit words, repeats every 1,048,575 bits, and suppresses consecutive zeros to no more than 14. Contains high density sequences, low density sequences, and sequences that change from low density to high density and vice versa. This pattern is prefered by voice techs since it most closely matches voice conversations on a digital circuit. In the past, when voice dominated services provided by the telephone company, this was fine. However, data streams stress the circuit beyond traditional voice conversatations, thus additional, and more stressful patterns must be run to complete a proper test.
=====3 in 24=====
0100100 00000000 00000100
Pattern contains the longest string of consecutive zeros (15), with the lowest ones density (12.5%). A framed 3 in 24 pattern could generate a yellow alarm on circuits using D4 framing. This is dependant on the alignment of ones bits to the frame.
=====1 in 7=====
0100 0000 0100 0000
Only a single one in an 8-bit repeating sequence. This is the similar to the Cisco extended 0x8080 test (with out header and footer data) except that the one shows up in the first most significant bit on the Cisco extended test, instead of the second most significant bit on the BERT test. A closer test would be 0x4040. This would be exactly the same except for the header and footer information introduced by TCP/IP and frame relay encoding.
The framed version of this pattern may cause a D4 yellow alarm for framed circuits depending on alignment of one bits to frames. One bits are strategically aligned with frame bits to avoid D4 yellow alarm.
=====2 in 8=====
0100 0010 0100 0010 0100 0010
Pattern contains a maximum of 4 consecutive zeros. The framed version of 2 in 8 will not invoke B8ZS sequence because eight consecutive zeros are required to cause B8ZS substitution. May cause D4 yellow alarm for framed circuits depending on alignment of the one bits to frame. One bits are strategically aligned with frame bits to avoid D4 yellow alarm. Pattern is effective in finding equipment misoptioned for B8ZS.
This is the same as the 0x4242 Cisco extended ping test (with out header and footer data).
=====55 Octet=====
Pattern contains rapid sequence changes from low density to high density. Pattern can only be used unframed to comply with ones density specifications.