HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Application Gu - Page 16

SNMPv2 trap host configuration, HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Command - ethernet blade switch for c class bladesystem

Page 16 highlights

SNMPv2 trap host configuration The SNMPv2 trap host configuration is similar to the SNMPv1 trap host configuration. Wherever you specify the model, specify snmpv2 instead of snmpv1. c/sys/ssnmp/snmpv3/usm 10 name "v2trap" /c/sys/ssnmp/snmpv3/access 10 name "v2trap" model snmpv2 nview "iso" /c/sys/ssnmp/snmpv3/group 10 model snmpv2 uname v2trap gname v2trap /c/sys/ssnmp/snmpv3/notify 10 name v2trap tag v2trap /c/sys/ssnmp/snmpv3/taddr 10 name v2trap addr 47.81.25.66 taglist v2trap pname v2param /c/sys/ssnmp/snmpv3/tparam 10 name v2param mpmodel snmpv2c uname v2trap model snmpv2 /c/sys/ssnmp/snmpv3/comm 10 index v2trap name public uname v2trap (Configure user named "v2trap") (Define access group to view SNMPv2 traps) (Assign user to the access group) (Assign user to the notify table) (Define an IP address to send traps) (Specify SNMPv2 traps to send) (Define the community string) SNMPv3 trap host configuration To configure a user for SNMPv3 traps, you can choose to send the traps with both privacy and authentication, with authentication only, or without privacy or authentication. Use the following commands to configure the access table: /c/sys/ssnmp/snmpv3/access /level /c/sys/ssnmp/snmpv3/tparam Configure the user in the user table to match the configuration of the access table. It is not necessary to configure the community table for SNMPv3 traps because the community string is not used by SNMPv3. The following example shows how to configure a SNMPv3 user v3trap with authentication only: /c/sys/ssnmp/snmpv3/usm 11 name "v3trap" auth md5 authpw v3trap /c/sys/ssnmp/snmpv3/access 11 name "v3trap" level authNoPriv nview "iso" /c/sys/ssnmp/snmpv3/group 11 uname v3trap gname v3trap /c/sys/ssnmp/snmpv3/notify 11 name v3trap tag v3trap /c/sys/ssnmp/snmpv3/taddr 11 name v3trap addr 47.81.25.66 taglist v3trap pname v3param /c/sys/ssnmp/snmpv3/tparam 11 name v3param uname v3trap level authNoPriv (Configure user named "v3trap") (Define access group to view SNMPv3 traps) (Assign user to the access group) (Assign user to the notify table) (Define an IP address to send traps) (Specify SNMPv3 traps to send) (Set the authentication level) For more information on using SNMP, see the HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Command Reference Guide. Accessing the switch 16

  • 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

Accessing the switch 16
SNMPv2 trap host configuration
The SNMPv2 trap host configuration is similar to the SNMPv1 trap host configuration.
Wherever you specify the model, specify
snmpv2
instead of
snmpv1
.
c/sys/ssnmp/snmpv3/usm 10
(
Configure user named “v2trap”
)
name "v2trap"
/c/sys/ssnmp/snmpv3/access 10
(
Define access group to view SNMPv2 traps
)
name "v2trap"
model snmpv2
nview "iso"
/c/sys/ssnmp/snmpv3/group 10
(
Assign user to the access group
)
model snmpv2
uname v2trap
gname v2trap
/c/sys/ssnmp/snmpv3/notify 10
(
Assign user to the notify table
)
name v2trap
tag v2trap
/c/sys/ssnmp/snmpv3/taddr 10
(
Define an IP address to send traps
)
name v2trap
addr 47.81.25.66
taglist v2trap
pname v2param
/c/sys/ssnmp/snmpv3/tparam 10
(
Specify SNMPv2 traps to send
)
name v2param
mpmodel snmpv2c
uname v2trap
model snmpv2
/c/sys/ssnmp/snmpv3/comm 10
(
Define the community string
)
index v2trap
name public
uname v2trap
SNMPv3 trap host configuration
To configure a user for SNMPv3 traps, you can choose to send the traps with both privacy and authentication, with
authentication only, or without privacy or authentication. Use the following commands to configure the access table:
/c/sys/ssnmp/snmpv3/access <
x
>/level
/c/sys/ssnmp/snmpv3/tparam <
x
>
Configure the user in the user table to match the configuration of the access table.
It is not necessary to configure the community table for SNMPv3 traps because the community string is not used by
SNMPv3.
The following example shows how to configure a SNMPv3 user
v3trap
with authentication only:
/c/sys/ssnmp/snmpv3/usm 11
(
Configure user named “v3trap”
)
name "v3trap"
auth md5
authpw v3trap
/c/sys/ssnmp/snmpv3/access 11
(
Define access group to view SNMPv3 traps
)
name "v3trap"
level authNoPriv
nview "iso"
/c/sys/ssnmp/snmpv3/group 11
(
Assign user to the access group
)
uname v3trap
gname v3trap
/c/sys/ssnmp/snmpv3/notify 11
(
Assign user to the notify table
)
name v3trap
tag v3trap
/c/sys/ssnmp/snmpv3/taddr 11
(
Define an IP address to send traps
)
name v3trap
addr 47.81.25.66
taglist v3trap
pname v3param
/c/sys/ssnmp/snmpv3/tparam 11
(
Specify SNMPv3 traps to send
)
name v3param
uname v3trap
level authNoPriv
(
Set the authentication level
)
For more information on using SNMP, see the
HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Command
Reference Guide
.