TP-Link T1500-28PCT Switch User Manual


 
165
T1500-28PCT(config)# snmp-server user admin local group2 smode v3 slev
authPriv cmode MD5 cpwd 11111 emode DES epwd 22222
snmp-server community
Description
The snmp-server community command is used to add Community. To delete
the corresponding Community, please use no snmp-server community
command. SNMP v1 and SNMP v2c adopt community name authentication.
The community name can limit access to the SNMP agent from SNMP network
management station, functioning as a password.
Syntax
snmp-server community name { read-only | read-write } mib-view
no snmp-server community name
Parameter
name —— Community Name, ranging from 1 to 16 characters.
read-only | read-write —— The access rights of the community, with read-only
and read-write options.
mib-view —— The MIB View for the community to access.
Command Mode
Global Configuration Mode
Example
Add community public, and the community has read-write management right to
View viewDefault:
T1500-28PCT(config)# snmp-server community public read-write
viewDefault
snmp-server host
Description
The snmp-server host command is used to add Notification. To delete the
corresponding Notification, please use no snmp-server host command.