
Operations 41
server snmp trap enable all
Disabling SNMP traps
Issue a
Server SNMP Trap
command with the
Disable
parameter.
server snmp trap disable
The SCS displays a numbered list of traps that are currently enabled with a prompt requesting you to select traps to
disable. Indicate the traps to be disabled by entering a trap list number, several numbers separated by commas, a
range of numbers separated by a dash, or a combination of numbers with commas and dashes. To disable all traps,
enter
All
. To cancel the command, press the
Enter
key.
-or-
To disable all SNMP traps, issue a
Server SNMP Trap
command with the
Disable
and
All
parameters. In this
case, the numbered list is not displayed.
server snmp trap disable all
See “Server SNMP trap command” and “Supported traps.”
Adding SNMP trap destination addresses
Issue a
Server SNMP Trap Destination
command with the
Add
parameter and the destination IP address. You
can define up to four destination addresses, using separate commands.
server snmp trap destination add <ip_address>
Deleting SNMP trap destination addresses
Issue a
Server SNMP Trap Destination
command with the
Delete
parameter and the destination IP address.
server snmp trap destination delete <ip_address>
See “Server SNMP traps destination command.”
To add a port alert string, issue a
Port Alert Add
command, specifying the port and a three- to 32-character
string. You can define up to 10 strings for each port, using separate commands.
The alert string will only generate a trap if the Port Alert trap is enabled with a Server SNMP Trap command.
port <port> alert add “<string>”
To delete a port alert string, issue a
Port Alert Delete
command, specifying a port.
port <port> alert delete
The SCS displays a numbered list of alert strings that have been defined for the specified port with a prompt
requesting you to select alert strings to delete. Indicate the alert strings to be deleted by entering an alert string list
number, several numbers separated by commas, a range of numbers separated by a dash, or a combination of
numbers with commas and dashes. To delete all alert strings, enter
All
. To cancel the command, press the
Enter
key.
To copy the defined alert strings from one port to another port, issue a
Port Alert Copy
command, specifying the
ports to be copied to and from.
port <to_port> alert copy <from_port>
At the confirmation prompt, enter
Y
to confirm or
N
to cancel. When the copy operation occurs, all previously defined
strings on the port being copied to will be replaced.
See “Port alert add command,” “Port alert copy command,” and “Port alert delete command.”
Displaying SNMP configuration information
Issue a
Show Server SNMP
command.
show server snmp
The display includes information specified with the Server SNMP, Server SNMP Community, Server SNMP Manager,
Server SNMP Trap, and Server SNMP Trap Destination commands.
See “Show Server SNMP command.”
Displaying port alert string information
Issue a
Show Port Alert
command, specifying a port.