Cable Test Command
Use this command to determine the cable connection status on a port.
The cable test feature enables you to determine the cable connection status on a selected port.
Note: The cable test feature is supported only for copper cables. It is not supported for optical fiber cables.
If the port has an active link while the cable test is run, the link can go down for the duration of the test.
cablestatus
M4250
M4350
This command returns the status of the specified port.
To specify an actual interface or port, do the following:
- For an M4250 series switch, use the argument slot/port.
- For an M4350 series switch, use the argument unit/slot/port, as shown in the command format.
| Format | cablestatus unit/slot/port |
| Mode | Privileged EXEC |
| Field | Description |
|---|---|
| Cable Status |
One of the following statuses is returned:
|
| Cable Length | If this feature is supported by the PHY for the current link speed, the cable length is displayed as a range between the shortest estimated length and the longest estimated length. Note that if the link is down and a cable is attached to a 10/100 Ethernet adapter, then the cable status may display as Open or Short because some Ethernet adapters leave unused wire pairs unterminated or grounded. Unknown is displayed if the cable length could not be determined. |