
80 Chapter 2 General CLI commands
212160-A
snmp trap link-status command
The snmp trap link-status command enables the linkUp/linkDown traps
for the port. The syntax of the command is:
snmp trap link-status [port <portnum|all>]
The snmp trap link-status command is in the config-if command mode.
Table 28 describes the parameters and variables for the
snmp trap
link-status
command.
no snmp trap link-status command
The no snmp trap link-status command disables the linkUp/linkDown
traps for the port. The syntax of the command is:
no snmp trap link-status [port <portnum|all>]
The no snmp trap link-status command is in the config-if command mode.
Table 29 describes the parameters and variables for the
no snmp trap
link-status
command.
Table 28 snmp trap link-status command parameters and variables
Parameters and
variables
Description
port <portnum|all> Specifies the port number to enable the linkUp/linkDown traps on.
Enter the port number or all.
Note: If you omit this parameter, the system uses the port number
you specified in the interface command.
Comentarios a estos manuales