TP-Link TL-SG5428 Switch User Manual


 
172
snmp view-add
Description
The snmp view-add command is used to add View. To delete the
corresponding View, please use no snmp view-add command. The OID
(Object Identifier) of the SNMP packets is used to describe the managed objects
of the switch, and the MIB (Management Information Base) is the set of the
OIDs. The SNMP View is created for the SNMP management station to manage
MIB objects.
Syntax
snmp view-add {name} {mib-oid} {include | exclude}
no snmp view-add {name} {mib-oid}
Parameter
name —— The entry name of View, ranging from 1 to 16 characters. Each View
can include several entries with the same name.
mib-oid —— MIB Object ID. It is the Object Identifier (OID) for the entry of View,
ranging from 1 to 61 characters.
include | exclude —— View Type, with include and exclude options. They
represent the view entry can/cannot be managed by the SNMP management
station individually.
Command Mode
Global Configuration Mode
Example
Add a View named view1, configuring the OID as 1.3.6.1.6.3.20, and this OID
can be managed by the SNMP management station:
TP-LINK(config)# snmp view-add view1 1.3.6.1.6.3.20 include
snmp group-add
Description
The snmp group-add command is used to manage and configure the SNMP
group. To delete the corresponding SNMP group, please use no snmp
group-add command. SNMP v3 provides the VACM (View-based Access
Control Model) and USM (User-Based Security Model) mechanisms for
authentication. The users in the SNMP Group can manage the device via the
Read View, Write View and Notify View. And the authentication mode and the