HP 6125XLG R2306-HP 6125XLG Blade Switch Fundamentals Configuration Guide - Page 41

Accessing the device through SNMP, Configuring SNMPv3 access

Page 41 highlights

Accessing the device through SNMP You can run SNMP on an NMS to access the device MIB and perform get and set operations to manage and monitor the device. Figure 13 SNMP access diagram Get/Set requests MIB NMS Get/Set responses and Traps Agent The device supports SNMPv1, SNMPv2c, and SNMPv3, and can work with various network management software products, including IMC. However, the device and the NMS must use the same SNMP version. For more information about SNMP, see Network Management and Monitoring Configuration Guide. By default, SNMP access is disabled. To access the device through SNMP, you must log in to the device through the console or AUX port and configure SNMP access. Configuring SNMPv3 access Step 1. Enter system view. 2. Enable the SNMP agent. 3. (Optional.) Create or update MIB view information. 4. Create an SNMPv3 group. Command Remarks system-view N/A snmp-agent By default, the SNMP agent is disabled. snmp-agent mib-view { excluded | included } view-name oid-tree [ mask mask-value ] By default, the device has four views, all of which are named ViewDefault: • View 1 includes MIB subtree iso. • View 2 does not include subtree snmpUsmMIB. • View 3 does not include subtree snmpVacmMIB. • View 4 does not include subtree snmpModules.18. snmp-agent group v3 group-name [ authentication | privacy ] [ read-view view-name ] [ write-view view-name ] [ notify-view view-name ] [ acl acl-number | acl ipv6 ipv6-acl-number ] * By default, no SNMPv3 group exists. 34

  • 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

34
Accessing the device through SNMP
You can run SNMP on an NMS to access the device MIB and perform get and set operations to manage
and monitor the device.
Figure 13
SNMP access diagram
The device supports SNMPv1, SNMPv2c, and SNMPv3, and can work with various network
management software products, including IMC. However, the device and the NMS must use the same
SNMP version. For more information about SNMP, see
Network Management and Monitoring
Configuration Guide
.
By default, SNMP access is disabled. To access the device through SNMP, you must log in to the device
through the console or AUX port and configure SNMP access.
Configuring SNMPv3 access
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the SNMP
agent.
snmp-agent
By default, the SNMP agent is
disabled.
3.
(Optional.) Create
or update MIB
view information.
snmp-agent
mib-view
{
excluded
|
included
}
view
-
name
oid
-
tree
[
mask
mask-value
]
By default, the device has four
views, all of which are named
ViewDefault
:
View 1 includes MIB subtree
iso
.
View 2 does not include
subtree
snmpUsmMIB
.
View 3 does not include
subtree
snmpVacmMIB
.
View 4 does not include
subtree
snmpModules.18
.
4.
Create an
SNMPv3 group.
snmp-agent
group
v3
group-name
[
authentication
|
privacy
] [
read-view
view-name
] [
write-view
view-name
]
[
notify-view
view-name
] [
acl
acl-number
|
acl
ipv6
ipv6-acl-number
] *
By default, no SNMPv3 group
exists.
Agent
NMS
MIB
Get/Set requests
Get/Set responses
and Traps