Automates cable diagnostics (TDR) on supported network devices.
- Detects interface from:
- highlighted text
- clipboard
- nearby screen output
- Runs:
test cable-diagnostics tdr interface <interface>
- Waits for completion
- Runs:
show cable-diagnostics tdr interface <interface>
- Device must support TDR commands
- Active SecureCRT session
- Highlight or copy an interface (e.g.
Gi1/0/9) - Run the script
- Script executes diagnostics automatically
- Uses a fixed wait timer (
TDR_WAIT) - Assumes device prompt remains stable
- Does not validate platform compatibility
- Detect platform support
- Parse output for faults
- Add configurable wait time