HP 6125XLG R2306-HP 6125XLG Blade Switch Network Management and Monitoring Com - Page 112

snmp-agent usm-user { v1 | v2c }, Related commands, Syntax, Default, Views, Predefined user roles

Page 112 highlights

Related commands • snmp-agent target-host • snmp-agent trap enable • snmp-agent trap life snmp-agent usm-user { v1 | v2c } Use snmp-agent usm-user { v1 | v2c } to add a user to an SNMPv1 or SNMPv2c group. Use undo snmp-agent usm-user { v1 | v2c } to delete a user from an SNMPv1 or SNMPv2c group. Syntax snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number | acl ipv6 ipv6-acl-number ] * undo snmp-agent usm-user { v1 | v2c } user-name group-name Default No SNMP users have been configured. Views System view Predefined user roles network-admin Parameters v1: Specifies SNMPv1. v2c: Specifies SNMPv2c. user-name: Specifies an SNMP username, a case-sensitive string of 1 to 32 characters. group-name: Specifies an SNMPv1 or SNMPv2c group name, a case-sensitive string of 1 to 32 characters. The group can be one that has been created or not. If the group has not been created, the user takes effect after you create the group. acl acl-number: Specifies a basic IPv4 ACL to filter NMSs by source IPv4 address. The acl-number argument represents an ACL number in the range of 2000 to 2999. Only NMSs with an IP address permitted in the ACL can use the specified username (community name) to access the SNMP agent. If no ACL is specified, the specified ACL does not exist, or the specified ACL does not have any rules, any NMS can use the specified username to access the SNMP agent. acl ipv6 ipv6-acl-number: Specifies a basic IPv6 ACL to filter NMSs by source IPv6 address. The ipv6-acl-number argument represents an ACL number in the range of 2000 to 2999. Only NMSs with an IPv6 address permitted in the IPv6 ACL can access the SNMP agent. If no ACL is specified, the specified ACL does not exist, or the specified ACL does not have any rules, any NMS can use the specified username to access the SNMP agent. Usage guidelines This command is supported only in non-FIPS mode. When you create an SNMPv1 or SNMPv2c user, the system automatically creates a community that has the same name as the SNMPv1 or SNMPv2c username. This community has the same access right as the 110

  • 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
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207

110
Related commands
snmp-agent
target-host
snmp-agent
trap
enable
snmp-agent
trap
life
snmp-agent usm-user { v1 | v2c }
Use
snmp-agent usm-user
{
v1
|
v2c
}
to add a user to an SNMPv1 or SNMPv2c group.
Use
undo snmp-agent usm-user
{
v1
|
v2c
}
to delete a user from an SNMPv1 or SNMPv2c group.
Syntax
snmp-agent
usm-user
{
v1
|
v2c
}
user-name
group-name
[
acl
acl-number
|
acl
ipv6
ipv6-acl-number
]
*
undo
snmp-agent
usm-user
{
v1
|
v2c
}
user-name
group-name
Default
No SNMP users have been configured.
Views
System view
Predefined user roles
network-admin
Parameters
v1
: Specifies SNMPv1.
v2c
: Specifies SNMPv2c.
user-name
: Specifies an SNMP username, a case-sensitive string of 1 to 32 characters.
group-name
: Specifies an SNMPv1 or SNMPv2c group name, a case-sensitive string of 1 to 32
characters. The group can be one that has been created or not. If the group has not been created, the
user takes effect after you create the group.
acl
acl-number
: Specifies a basic IPv4 ACL to filter NMSs by source IPv4 address. The
acl-number
argument represents an ACL number in the range of 2000 to 2999. Only NMSs with an IP address
permitted in the ACL can use the specified username (community name) to access the SNMP agent. If no
ACL is specified, the specified ACL does not exist, or the specified ACL does not have any rules, any NMS
can use the specified username to access the SNMP agent.
acl
ipv6
ipv6-acl-number
: Specifies a basic IPv6 ACL to filter NMSs by source IPv6 address. The
ipv6-acl-number
argument represents an ACL number in the range of 2000 to 2999. Only NMSs with an
IPv6 address permitted in the IPv6 ACL can access the SNMP agent. If no ACL is specified, the specified
ACL does not exist, or the specified ACL does not have any rules, any NMS can use the specified
username to access the SNMP agent.
Usage guidelines
This command is supported only in non-FIPS mode.
When you create an SNMPv1 or SNMPv2c user, the system automatically creates a community that has
the same name as the SNMPv1 or SNMPv2c username. This community has the same access right as the