A SERVICE OF

logo

link-test
OVERVIEW
Category:
operatorPrimary context:
ping (page 392)Related Commands
Usage: link-test MAC-ADDR [vlan <VLAN-ID>] [repetitions <1-999>]
[timeout <1-256>]
Description: Test the connection to a MAC address on the LAN.
The command sends a 802.2 test packet to a specic target
node on a network directly attached to a port in that
LAN. The target node must be able to respond to this test
packet with an 802.2 Test Response packet in order for the
test to work. The switch produces the following output if
the link test succeeds: 'Link-test passed'; otherwise, the
following is displayed: 'Link-test timed out'.
Parameters:
o MAC-ADDR - MAC address of the device to which to send link test.
o [vlan VLAN-ID] - VLAN on which the device is expected to be present.
If this argument is not present, VLAN 1 will be used.
o [repetitions <1-999>] - Number of test packets to send; the
default value is 1.
o [timeout <1-256>] - Seconds within which a response is required
before the test is considered as failed; the default value is 5.
Examples:
(1) hp-switch# link-test 0800095F3AD6
COMMAND STRUCTURE
link-test mac -- MAC address of device to which to send link test. (MAC-ADDR) (p. 351)
link-test repetitions < 1 to 999 > -- Number of test packets to send <1-999>. (NUMBER) (p. 351)
link-test timeout < 0 to 256 > -- Test timeout in seconds <0-256>. (NUMBER) (p. 351)
link-test vlan -- VLAN where the device to be tested is present. (VLAN-ID) (p. 351)
EXAMPLES
Example: link-test
Test the link to MAC address 0800095F3AD6 on VLAN 1:
ProCurve# link-test 0800095F3AD6
350© 2009 Hewlett-Packard Development Company, L.P.