request virtual-chassis device-reachability
Syntax
request virtual-chassis device-reachability test-name name (source-fpc source-fpc-id | source-ip-address source-ip-address) (destination-device device-id | destination-fpc destination-fpc-id | destination-ip-address destination-ip-address) <probe-count count> <probe-interval interval> <probe-pattern pattern> <test-count count> <test-interval interval>
Description
Run a Virtual Chassis device reachability test. A Virtual Chassis device reachability test sends ping packets from one member of a Virtual Chassis to another member of a Virtual Chassis directly through the Virtual Chassis connections. The receiving Virtual Chassis member sends reply packets to confirm receipt of the ping packets from the sending device. The results of the test immediately provide information that is helpful in verifying connectivity between Virtual Chassis member devices.
Options
test-name name | Specify the name of the test. The name can be any single-word character string. Spaces are not allowed. |
source-fpc source-fpc-id | Specify the FPC that sends the first ping message. |
source-ip-address source-ip-address | Specify the source IP address that receives the ping message. |
destination-device device-id | Specify the device in the Virtual Chassis that receives the ping message. |
destination-fpc destination-fpc-id | Specify the FPC that receives the first ping message. |
destination-ip-address destination-ip-address | Specify the destination IP address that receives the ping message. |
probe-count count | (Optional) Specify the number of ping messages to send for the test. The count can be any number from 1 through 10. The default count is 5. |
probe-interval interval | (Optional) Specify the time in seconds between the ping messages that are sent during the test. The interval can be any number from 1 through 3. The default interval is 1 second. |
probe-pattern pattern | (Optional) Specify a payload pattern in the ping message. Enter the pattern in hexadecimal format. |
test-count count | (Optional) Specify the number of times to run the test. The count can be any number from 1 through 3. The default count is 1. |
test-interval interval | (Optional) Specify the time in seconds between tests when multiple tests are specified. The interval can be any number from 1 through 3. The default interval is 1. |
Required Privilege Level
system-control
Output Fields
Table 1 lists
the output fields for the request virtual chassis device reachability
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
Test Name |
The name of the test. |
Performing Test |
The test number. |
Session ID |
The session ID. This output is always 0 and not useful for Virtual Chassis device reachability tests. |
Packets Count/Sent/Received/Sendfail |
The number of total ping packets sent, including the total number of ping packets counted (Count), sent (Sent), received (Received), and packets that could not be sent (Sendfail). |
Unknown/Timedout/Duplicate packets received |
The failed pings, including the number of ping packets that failed for an unknown reason (Unknown), timed out (Timed Out), and the number of duplicate received ping packets (Duplicate packets received). |
Round-trip Min/Avg/Max |
The average round-trip ping time, including the shortest ping time (Min), the average ping time (Avg), and the maximum ping time (Max). |
Sample Output
request virtual-chassis device-reachability test-name member0-to-member2 source-fpc 0 destination-fpc 2
user@switch> request virtual-chassis device-reachability test-name member0-to-member2 source-fpc 0 destination-fpc 2
Device Reachability Statistics:
Test Name : member0-to-member2
Performing Test: 1
56 bytes from 0: session-id 0 seq-id 0
56 bytes from 0: session-id 0 seq-id 1
56 bytes from 0: session-id 0 seq-id 2
56 bytes from 0: session-id 0 seq-id 3
56 bytes from 0: session-id 0 seq-id 4
--- sping statistics ---
Session ID : 0
Packets Count/Sent/Received/Sendfail : 5/5/5/0
Unknown/Timedout/Duplicate packets received : 0/0/0
Round-trip Min/Avg/Max : 181/807/3010 usec
Release Information
Command introduced in Junos OS Release 11.2.