3Com 4500 PWR 50-PORT, 4500 PWR 26-PORT Create a view that consists of all the objects of MIB-II

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

1 466
Download 466 pages 21.69 Kb
Page 392
Image 392

386CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS

View

System view

Parameter

included: Include this MIB subtree.

excluded: Exclude this MIB subtree.

view-name:Specify the view name, with a character string, ranging from 1 to 32 characters.

oid-tree:MIB object subtree. It can be a character string of the variable OID, or a variable name, ranging from 1 to 255 characters.

Description

Use the snmp-agentmib-viewcommand to create or update the view information. Use the undo snmp-agentmib-viewcommand to delete the view information

By default, the view name is v1default. OID is 1.3.6.1.

Both the character string of OID and the node name can be input as parameter.

Example

Create a view that consists of all the objects of MIB-II.

snmp-agent packet max-size

<SW4500>system-view

System View: return to User View with Ctrl+Z.

[SW4500]snmp-agent mib-view included mib2 1.3.6.1.3

[SW4500]

Syntax

snmp-agent packet max-size byte-count

undo snmp-agent packet max-size

View

System view

Parameter

byte-count:Specify the size of SNMP packet (measured in bytes), ranging from 484 to 17940; the default size is 1500 bytes.

Description

Use the snmp-agent packet max-sizecommand to configure the size of SNMP packet that the Agent can send/receive. Use the undo snmp-agent packet max-sizecommand to restore the default size of SNMP packet.

The sizes of the SNMP packets received/sent by the Agent are different in different network environments.

Page 392
Image 392
3Com 4500 PWR 50-PORT Create a view that consists of all the objects of MIB-II, SW4500snmp-agent mib-view included mib2