Command Reference SNMP Commands
Description
interface
Interface used as the source of the SNMP trap message.
Defaults
The IP address of the interface where the NMP message is sent from is used as the source address.
Command
mode
Global configuration mode
Usage Guide
The IP address of the interface where the NMP message is sent from is just the source address by
default. For easy management and identification, this command can be used to fix a local IP address
as the SNMP source address.
Configuration
Examples
The following example specifies the IP address of Ethernet interface 0/1 as the source of the SNMP
trap message:
Ruijie(config)# snmp-server trap-source fastethernet 0/1
Related
Commands
Command Description
snmp-server enable traps
Enables the sending of the SNMP trap
message.
snmp-server enable host
Specifies the NMS host.
Platform
Description
N/A
snmp-server trap-timeout
Use this command to define the retransmission timout time of the SNMP trap message in the global
configuration mode. The no form of this command is used to restore it to the default value.
snmp-server trap-timeout seconds
no snmp-server trap-timeout
Parameter
Description
Parameter Description
seconds
Timeout period (in seconds) in the range from 1 to 1000.
Defaults
30 seconds.
Command
mode
Global configuration mode
Usage Guide
N/A
Configuration
The following example specifies the timeout period as 60 seconds.