3com S7906E Instrução De Instalação

Página de 2621
 
1-8 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Configure target host attribute 
for traps 
snmp-agent target-host trap 
address udp-domain 
ip-address ipv6 
ipv6-address } [ udp-port 
port-number ] [ vpn-instance 
vpn-instance-name
 ] params 
securityname security-string 
v1 | v2c | v3 [ authentication | 
privacy ] ] 
Optional 
The vpn-instance keyword is 
applicable in an IPv4 network. 
To send the traps to the NMS, 
this command is required, and 
you must specify ip-address as 
the IP address of the NMS. 
Configure the source address 
for traps 
snmp-agent trap source 
interface-type interface-number 
可选 
Extend the standard 
linkUp/linkDown traps defined 
in RFC 
snmp-agent trap if-mib link 
extended 
Optional 
Standard linkUp/linkDown traps 
defined in RFC are used by 
default. 
Configure the size of the trap 
send queue 
snmp-agent trap queue-size 
size 
Optional 
100 by default 
Configure the holding time of 
the traps in the queue 
snmp-agent trap life seconds 
Optional 
120 seconds by default 
 
 
An extended linkUp/linkDown trap is the standard linkUp/linkDown trap (defined in RFC) appended 
with interface description and interface type information. If the extended messages are not 
supported on the NMS, disable this function to let the device send standard linkUp/linkDown traps. 
If the sending queue of traps is full, the system will automatically delete some oldest traps to 
receive new traps. 
The system will automatically delete the traps whose holding time expires.