2341

You can use the display snmp-agentmib-viewcommand to view the access right of the default view. Also, you can use the undo snmp-agentmib-viewcommand to remove the default view, after that, however, you cannot read or write all MIB nodes on Agent.

Related command: snmp-agent group.

Example # Create a MIB view mibtest, which includes all objects of the subtree mib2.

<Sysname> system-view

[Sysname] snmp-agent mib-view included mibtest 1.3.6.1

snmp-agent packet max-size

Syntax snmp-agent packet max-size byte-count

undo snmp-agent packet max-size

View System view

Parameter byte-count: Maximum number of bytes of an SNMP packet that can be received or sent by an agent, in the range 484 to 17,940. The default value is 1,500 bytes.

Description Use the snmp-agent packet max-sizecommand to configure the maximum number of bytes in an SNMP packet that can be received or sent by an agent.

Use the undo snmp-agent packet max-sizecommand to restore the default packet size.

Example # Configure the maximum number of bytes that can be received or sent by an SNMP agent to 1,042 bytes.

<Sysname> system-view

[Sysname] snmp-agent packet max-size 1042

snmp-agent sys-info

Syntax snmp-agent sys-info { contact sys-contactlocation sys-locationversion { all { v1 v2c v3 }* } }

undo snmp-agent sys-info { contact location version { all { v1 v2c v3 }* } }

View System view

Parameter sys-contact: A string of 1 to 200 characters that describes the contact information for system maintenance.

sys-location: A string of 1 to 200 characters that describes the location of the device.

Page 2341
Image 2341
3Com MSR 50, MSR 30 manual Snmp-agent packet max-size, Snmp-agent sys-info, Related command snmp-agent group, 2341