By default, all ports are enabled. You have the flexibility to receive
or not to receive SNMP trap messages when a port transitions
between up and down.
-
To enable or disable one or more ports on a switch, use
the following commands:
enable port
[port_list | all]
disable
port [port_list | all]
For example, to disable slot 7, ports 3, 5,
and 12 through 15 on a SummitStack,
enter:
disable port 7:3,7:5,7:12-7:15
-
To receive these SNMP trap messages, use the following
command:
enable snmp
traps port-up-down ports [port_list | all]
-
To stop receiving these messages, use the following
command:
disable
snmp traps port-up-down ports [port_list | all]