TP-Link TL-SG2424P TL-SG2424P V1 CLI Reference Guide - Page 148

snmp-server community, snmp-server host

Page 148 highlights

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 ii Community Name, ranging from 1 to 16 characters. read-only | read-write ii The access rights of the community, with read-only and read-write options. mib-view ii 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: TL-SG2424P(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. Syntax snmp-server host ip udp-port user-name [ smode { v1 | v2c | v3 }] [ slev { noAuthNoPriv | authNoPriv | authPriv }] [ type { trap | inform }] [ retries retries ] [ timeout timeout ] no snmp-server host ip user-name Parameter ip ii The IP Address of the management Host. 138

  • 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
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168

138
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:
TL-SG2424P(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.
Syntax
snmp-server host
ip
udp-port user-name
[
smode
{ v1 | v2c | v3 }] [
slev
{ noAuthNoPriv | authNoPriv | authPriv }] [
type
{ trap | inform }] [
retries
retries
]
[
timeout
timeout
]
no snmp-server host
ip user-name
Parameter
ip
——
The IP Address of the management Host.