3Com 4500 PWR 26-PORT manual Set the size of Snmp packet to 1042 bytes, Snmp-agent sys-info Syntax

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 393
Image 393
undo snmp-agentsys-info

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".

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-agentsys-infocommand to set system information such as geographical location of the device, contact information for system maintenance and version information of running SNMP. Use the

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 ] ]

Page 393
Image 393
3Com 4500 PWR 26-PORT Set the size of Snmp packet to 1042 bytes, Snmp-agent sys-info Syntax, Snmp-agent target-host Syntax