TP-Link TL-SG2424 TL-SG2424 V1 CLI Reference Guide - Page 107

snmp community-add

Page 107 highlights

default, the Authentication Mode is none. confirm-pwd -- Authentication Password, ranging from 1 to 16 characters. emode -- The Privacy Mode of the SNMP v3 User, with none and DES options. None indicates no privacy method is used, and DES indicates DES encryption method is used. By default, the Privacy Mode is none. encrypt-pwd -- Privacy Password, ranging from 1 to 16 characters. Command Mode Global Configuration Mode Example Add User admin to Group group2, and configure the Security Model of the user as v3, the Security Level of the group as authPriv, the Authentication Mode of the user as MD5, the Authentication Password as 11111, the Privacy Mode as DES, and the Privacy Password as 22222: TP-LINK(config)# snmp user-add admin local group2 smode v3 slev authPriv cmode MD5 cpwd 11111 emode DES epwd 22222 snmp community-add Description The snmp community-add command is used to add Community. To delete the corresponding Community, please use no snmp community-add 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 community-add {name} {read-only | read-write} {mib-view} no snmp community-add {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 99

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120

99
default, the Authentication Mode is none.
confirm-pwd
——
Authentication Password, ranging from 1 to 16 characters.
emode
——
The Privacy Mode of the SNMP v3 User, with none and DES
options. None indicates no privacy method is used, and DES indicates DES
encryption method is used. By default, the Privacy Mode is none.
encrypt-pwd
——
Privacy Password, ranging from 1 to 16 characters.
Command Mode
Global Configuration Mode
Example
Add User admin to Group group2, and configure the Security Model of the user
as v3, the Security Level of the group as authPriv, the Authentication Mode of
the user as MD5, the Authentication Password as 11111, the Privacy Mode as
DES, and the Privacy Password as 22222:
TP-LINK(config)# snmp user-add
admin
local group2
smode
v3
slev
authPriv
cmode
MD5
cpwd
11111
emode
DES
epwd
22222
snmp community-add
Description
The
snmp
community-add
command is used to add Community. To delete the
corresponding Community, please use
no snmp community-add
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
community-add
{
name
} {read-only | read-write} {
mib-view
}
no snmp community-add
{
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