User Manual
[Parameter]
community : Community name (maximum 32 characters)
ro_rw : Access restriction
Setting value Description
ro Read only
rw Write allowed
ifname : (Obsolete parameter)
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Sets the SNMP community.
Up to 16 communities can be registered.
If this command is executed with the "no" syntax, the specified community is deleted.
[Note]
Specifying the interface does not affect SNMP operation.
Setting the snmp-server community command will fail if you roll back to an older version (Rev.2.00.08 or earlier). As a result,
it will no longer be possible to show or set the MIB variables via SNMP.
[Example]
Set the read-only community name to "public".
SWP1(config)#snmp-server community public ro
Delete the "public" community.
SWP1(config)#no snmp-server community public
9.1.6 Set SNMP view
[Syntax]
snmp-server view view oid type
no snmp-server view view
[Parameter]
view : View name (maximum 32 characters).
oid : MIB object ID
type : Type
Setting value Description
include Include the specified object ID in management
exclude
Exclude the specified object ID from
management
[Initial value]
none
[Input mode]
global configuration mode
Command Reference | Network monitoring | 81