DES-7200 Configuration Guide Chapter 1 SNMP
Configuration
Command Function
DES-7200(config)# snmp-server
enable traps [type] [option]
Allow the SNMP Agent to send the
TRAP message proactively.
DES-7200(config)# no
snmp-server
enable traps [type] [option]
Forbid the SNMP Agent to send the
TRAP message proactively.
1.2.10 Configuring LinkTrap Policy
You can configure whether to send the LinkTrap message of an interface. When
this function is enabled and the link status of the interface changes, the SNMP
will send the LinkTrap message. Otherwise, it will not. By default, this function is
enabled.
Command Function
DES-7200(config)# interface
interface-id
Enter the interface configuration
mode.
DES-7200(config-if)# [no] snmp trap
link-status
Enable or disable sending the
LinkTrap message of the
interface.
The following configures not to send LinkTrap message on the intereface:
DES-7200(config)# interface gigabitEthernet 1/1
DES-7200(config-if)#no snmp trap link-status
1.2.11 Configuring the Parameters
for Sending the Trap
Message
To set the parameters for the SNMP Agent to send the Trap message, execute
the following commands:
Command Function
DES-7200(config)# snmp-server
trap-source interface
Specify the source port sending the
Trap message.
DES-7200(config)# snmp-server
queue-length length
Specify the queue length of each Trap
message.
DES-7200(config)# snmp-server
trap-timeout seconds
Specify the interval of sending Trap
message.
1-10