CLI Guide - TP-Link
CLI Guide - TP-Link
CLI Guide - TP-Link
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
snmp view-add<br />
TL-SL3428/TL-SL3452 JetStream L2 Managed Switch <strong>CLI</strong> <strong>Guide</strong><br />
Description<br />
The snmp view-add command is used to add View. To delete the<br />
corresponding View, please use no snmp view-add command. The OID<br />
(Object Identifier) of the SNMP packets is used to describe the managed objects<br />
of the switch, and the MIB (Management Information Base) is the set of the<br />
OIDs. The SNMP View is created for the SNMP management station to manage<br />
MIB objects.<br />
Syntax<br />
snmp view-add {name} {mib-oid} {include | exclude}<br />
no snmp view-add {name} {mib-oid}<br />
Parameter<br />
name —— The entry name of View, ranging from 1 to 16 characters. Each<br />
View can include several entries with the same name.<br />
mib-oid —— MIB Object ID. It is the Object Identifier (OID) for the entry of View,<br />
ranging from 1 to 61 characters.<br />
include | exclude —— View Type, with include and exclude options. They<br />
represent the view entry can/cannot be managed by the SNMP management<br />
station individually.<br />
Command Mode<br />
Global Configuration Mode<br />
Example<br />
Add a View named view1, configuring the OID as 1.3.6.1.6.3.20, and this OID<br />
can be managed by the SNMP management station:<br />
<strong>TP</strong>-LINK(config)# snmp view-add view1 1.3.6.1.6.3.20 include<br />
snmp group-add<br />
Description<br />
The snmp group-add command is used to manage and configure the SNMP<br />
group. To delete the corresponding SNMP group, please use no snmp<br />
group-add command. SNMP v3 provides the VACM (View-based Access<br />
Control Model) and USM (User-Based Security Model) mechanisms for<br />
authentication. The users in the SNMP Group can manage the device via the<br />
171