264
C
HAPTER
12: F
ILE
S
YSTEM
M
ANAGEMENT
Table 308
Enable/Disable SNMP Agent to Send Trap
Setting the Destination
Address of Trap
You can use the following commands to set or delete the destination address of
the trap.
Perform the following configuration in System View.
Table 309
Set the Destination Address of Trap
Setting Lifetime of Trap
Message
You can use the following command to set the lifetime of a Trap message. A trap
message that exists longer than the set lifetime will be dropped.
Perform the following configuration in System View.
Table 310
Set the Lifetime of Trap Message
By default, the lifetime of Trap message is 120 seconds.
Setting SNMP System
Information
The SNMP system information includes the character string sysContact (system
contact), the character string describing the system location, the version
information about the SNMP operating in the system.
You can use the following commands to set the system information.
Perform the following configuration in System View.
Table 311
Set SNMP System Information
Operation
Command
Enable to send trap
snmp-agent trap enable [ configuration | flash |
ospf [
process-id
] [
ospf-trap-list
] | standard
[ authentication | coldstart | linkdown | linkup
| warmstart ]* | system ]
Disable to send trap
undo snmp-agent trap enable [ bgp [
backwardtransition ] [ established ] |
configuration | flash | ospf [
process-id
] [
ospf-trap-list
] | standard [ authentication |
coldstart | linkdown | linkup | warmstart ]* |
system ]
Operation
Command
Set the destination
address of trap
snmp-agent target-host trap address udp-domain
host-addr
[ udp-port
udp-port-number
] params
securityname
community-string
[ v1 | v2c | v3 [
authentication | privacy ] ]
Delete the destination
address of trap
undo snmp-agent target-host
host-addr
securityname
community-string
Operation
Command
Set lifetime of Trap message
snmp-agent trap life
seconds
Restore lifetime of Trap message
undo snmp-agent trap life
Operation
Command
Set SNMP System Information
snmp-agent sys-info { contact
sysContact
|
location
syslocation
| version { { v1 | v2c
| v3 } * | all } }
Summary of Contents for 400 Family
Page 12: ......
Page 16: ...14 ABOUT THIS GUIDE ...
Page 58: ...56 CHAPTER 2 PORT OPERATION ...
Page 68: ...66 CHAPTER 3 VLAN OPERATION ...
Page 98: ...96 CHAPTER 5 NETWORK PROTOCOL OPERATION ...
Page 124: ...122 CHAPTER 6 IP ROUTING PROTOCOL OPERATION ...
Page 156: ...154 CHAPTER 8 ACL CONFIGURATION ...
Page 218: ...216 CHAPTER 11 802 1X CONFIGURATION ...
Page 298: ...296 CHAPTER 13 PASSWORD CONTROL CONFIGURATION OPERATIONS ...
Page 336: ...334 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP ...