Specifications
lx
Cisco 1751 Router Software Configuration Guide
OL-1070-01
The following example enables the router to send all traps to the host myhost.cisco.com using the
community string public:
snmp-server enable traps
snmp-server host myhost.cisco.com public
The following example enables the router to send Frame Relay and environmental monitor traps to the
host myhost.cisco.com using the community string public:
snmp-server enable traps frame-relay
snmp-server enable traps envmon temperature
snmp-server host myhost.cisco.com public
The following example does not send traps to any host. The BGP traps are enabled for all hosts, but the
only traps enabled to be sent to a host are ISDN traps.
snmp-server enable traps bgp
snmp-server host bob public isdn
Related Commands
snmp enable peer-trap peer-qov
snmp-server host
snmp-server trap-source
snmp trap illegal-address
snmp trap link-status
snmp trap link-status
To enable SNMP trap messages to be generated when this voice port is brought up or down, use the
snmp trap link-status voice-port configuration command. Use the no form of this command to disable
this feature.
snmp trap link-status
no snmp trap link-status
Syntax Description
This command contains no arguments or keywords.
Default
Enabled.
Command Mode
Voice-port configuration.
Usage Guidelines
Use the snmp trap link-status command to enable SNMP trap messages (linkup and linkdown) to be
generated whenever this voice port is brought online or offline.