146
Syntax
snmp-server traps snmp
[ linkup | linkdown | warmstart | coldstart ]
no snmp-server traps snmp
[ linkup | linkdown | warmstart | coldstart ]
Parameter
linkup —— Enable linkup trap. It is sent when port status changes from
linkdown to linkup. By default, it is enabled.
linkdown ——Enable linkdown trap. It is sent when port status changes from
linkup to linkdown. By default, it is enabled.
warmstart —— Enable warmstart trap. It is sent upon SNMP function reboot. By
default, it is enabled.
coldstart —— Enable coldstart trap. It is sent upon switch reboot. By default, it is
enabled.
Command Mode
Global Configuration Mode
Example
Enable SNMP standard linkup trap for the switch:
TL-SL2428(config)# snmp-server traps snmp
linkup
snmp-server traps link-status
Description
The
snmp-server traps link-status
command is used to enable SNMP link
status trap for the specified port. To disable the sending of SNMP link status trap,
please use
no snmp-server traps link-status
command.
Syntax
snmp-server traps link-status
no snmp-server traps link-status
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Enable SNMP link status trap for port 3:
TL-SL2428(config)# interface fastEthernet
1/0/3
TL- SL2428(config-if)# snmp-server traps link-status
Содержание TL-SL2210
Страница 1: ...TL SL2210 TL SL2218 TL SL2428 TL SL2452 Smart Switch REV1 1 0 1910010971...
Страница 43: ...33 Example Display the security configuration information of the users TL SL2428 config show user configuration...
Страница 54: ...44 Example Display the global configuration of SSH TL SL2428 config show ip ssh...
Страница 81: ...71 Example Show the cable diagnostics of port 3 TL SL2428 show cable diagnostics interface fastEthernet 1 0 3...