3com 4500 26-PORT User Manual
SNMP Configuration Commands
387
Example
Set the size of SNMP packet to 1042 bytes.
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]snmp-agent packet max-size 1042
[SW4500]
snmp-agent sys-info
Syntax
snmp-agent sys-info { contact sysContact | location sysLocation |
version { { v1 | v2c | v3 } * | all } }
undo snmp-agent sys-info [ { contact | location }* | version { { v1 |
v2c | v3 }* | all } ]
View
System view
Parameter
sysContact:
Specify a character string describing the system maintenance
contact (in bytes), with a length ranging from 1 to 255. The default contact
information is "3Com Marlborough USA".
information is "3Com Marlborough USA".
sysLocation:
Specify a character string to describe the system location. By
default, the character string is "Marlborough USA".
version:
version of running SNMP.
v1:
SNMP v1.
v2c:
SNMP v2C.
v3:
SNMP v3.
all:
all SNMP version (includes SNMP v1, SNMP v2C, SNMP v3).
Description
Use the
snmp-agent sys-info
command to set system information such as
geographical location of the device, contact information for system maintenance
and version information of running SNMP. Use the
and version information of running SNMP. Use the
undo snmp-agent sys-info
location
command to restore the default value.
Example
Set system location as Building 3/Room 214.
<SW4500>system-view
System View: return to User View with Ctrl+Z.
[SW4500]snmp-agent sys-info location Building 3/Room 214
[SW4500]
snmp-agent target-host
Syntax
snmp-agent target-host trap address udp-domain host-addr [ udp-port
udp-port-number
] params securityname community-string [ v1 | v2c |
v3 [ authentication | privacy ] ]