3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
2341
You can use the display snmp-agent mib-view command to view the access 
right of the default view. Also, you can use the undo snmp-agent mib-view 
command to remove the default view, after that, however, you cannot read or 
write all MIB nodes on Agent.
Related command:
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-size command 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-size command 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-contact | location sys-location | version { 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.