Chapter 5: Local Management
Page 5-84
2H22-08R SmartSwitch 2208 User’s Guide
link_trap:
Syntax:
link_trap [enable/disable/status] [PORT/all]
Description:
The link_trap command allows link traps to be
enabled or disabled when specifying a single
port, or simultaneously when specifying “all”
or no ports. When one or all ports are specified
to enable, disable, or find their status, their
current condition is displayed.
Options:
Not Applicable
Example:
-> link_trap status
Port 1 is ENABLED
Port 3 is ENABLED
Port 2 is DISABLED
Port 4 is ENABLED
NetTools-> link_trap disable 2
NetTools-> link_trap disable all
NetTools-> link_trap status 3
LINK TRAP STATUS:
Link traps have been DISABLED on port 2
Link traps have been DISABLED on all ports (1-24)
Link traps are ENABLED on port 3