HP 6125G HP 6125G & 6125G/XG Blade Switches Network Management and Mon - Page 75

snmp-agent local-engineid

Page 75 highlights

Parameters v1: Specifies SNMPv1. v2c: Specifies SNMPv2c. v3: Specifies SNMPv3. group-name: Specifies the group name, a string of 1 to 32 characters. authentication: Specifies the security model of the SNMPv3 group to be authentication only (without privacy). privacy: Specifies the security model of the SNMPv3 group to be authentication and privacy. read-view view-name: Specifies a read-only MIB view. The view-name represents a MIB view, which is a string of 1 to 32 characters. The users in the specified group have read only access to the objects included in the MIB view. The default read view is ViewDefault. write-view view-name: Specifies a read and write MIB view. The view-name argument represents a MIB view, which is a string of 1 to 32 characters. The users in the specified group have read and write access to the objects included in the MIB view. By default, no write view is configured, which means the NMS cannot perform the write operations to all MIB objects on the device. notify-view view-name: Specifies a trap MIB view. The view-name argument represents a MIB view, which is a string of 1 to 32 characters. The system sends traps to the users in the specified group for the objects included in the MIB view. By default, no notify view is configured, which means the agent does not send traps to the NMS. acl acl-number: Specifies a basic ACL to filter NMSs by source IPv4 address. The acl-number argument represents a basic ACL number in the range of 2000 to 2999. In the specified SNMP group, only the NMSs with the IP addresses permitted in the ACL can access the SNMP agent. acl ipv6 ipv6-acl-number: Specifies a basic ACL to filter NMSs by source IPv6 address. The ipv6-acl-number argument represents a basic ACL number in the range of 2000 to 2999. In the specified SNMP group, only the NMSs with the IPv6 addresses permitted in the ACL can access the SNMP agent. Description Use snmp-agent group to create an SNMP group and specify its access right. Use undo snmp-agent group to delete an SNMP group. By default, no SNMP group exists. SNMPv3 groups use the no authentication, no privacy security model if neither authentication nor privacy is specified. All the users in an SNMP group share the security model and access rights of the group. Related commands: snmp-agent mib-view and snmp-agent usm-user. Examples # Create the SNMPv3 group group1 and assign the no authentication, no privacy security model to the group. system-view [Sysname] snmp-agent group v3 group1 snmp-agent local-engineid Syntax snmp-agent local-engineid engineid 69

  • 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

69
Parameters
v1
: Specifies SNMPv1.
v2c
: Specifies SNMPv2c.
v3
: Specifies SNMPv3.
group-name
: Specifies the group name, a string of 1 to 32 characters.
authentication
: Specifies the security model of the SNMPv3 group to be authentication only (without
privacy).
privacy
: Specifies the security model of the SNMPv3 group to be authentication and privacy.
read-view
view-name
: Specifies a read-only MIB view. The
view-name
represents a MIB view, which is a
string of 1 to 32 characters. The users in the specified group have read only access to the objects
included in the MIB view. The default read view is
ViewDefault
.
write-view
view-name:
Specifies a read and write MIB view. The
view-name
argument represents a MIB
view, which is a string of 1 to 32 characters. The users in the specified group have read and write access
to the objects included in the MIB view. By default, no write view is configured, which means the NMS
cannot perform the write operations to all MIB objects on the device.
notify-view
view-name
: Specifies a trap MIB view. The
view-name
argument represents a MIB view,
which is a string of 1 to 32 characters. The system sends traps to the users in the specified group for the
objects included in the MIB view. By default, no notify view is configured, which means the agent does
not send traps to the NMS.
acl
acl-number
: Specifies a basic ACL to filter NMSs by source IPv4 address. The
acl-number
argument
represents a basic ACL number in the range of 2000 to 2999. In the specified SNMP group, only the
NMSs with the IP addresses permitted in the ACL can access the SNMP agent.
acl ipv6
ipv6-acl-number
: Specifies a basic ACL to filter NMSs by source IPv6 address. The
ipv6-acl-number
argument represents a basic ACL number in the range of 2000 to 2999. In the specified
SNMP group, only the NMSs with the IPv6 addresses permitted in the ACL can access the SNMP agent.
Description
Use
snmp-agent group
to create an SNMP group and specify its access right.
Use
undo
snmp-agent group
to delete an SNMP group.
By default, no SNMP group exists. SNMPv3 groups use the no authentication, no privacy security model
if neither
authentication
nor
privacy
is specified.
All the users in an SNMP group share the security model and access rights of the group.
Related commands:
snmp-agent mib-view
and
snmp-agent usm-user
.
Examples
# Create the SNMPv3 group
group1
and assign the no authentication, no privacy security model to the
group.
<Sysname> system-view
[Sysname] snmp-agent group v3 group1
snmp-agent local-engineid
Syntax
snmp-agent local-engineid
engineid