HP StorageWorks MSA 2/8 HP StorageWorks Fabric OS 3.X Document Addendum (AA-RW - Page 141

Adding a, RADIUS Server, Adding a RADIUS Server, Enabling, and Disabling RADIUS Service.

Page 141 highlights

Fabric OS procedures user guide ■ Test the configuration. 1. Log in to the server and change directory to the RADIUS configuration file directory. Typically, this directory is located at /usr/local/etc/raddb. 2. Use a text editor to create a vendor dictionary file called dictionary.hp and enter the following lines into the file: # # dictionary.hp # VENDOR HP 1588 # # attributes # ATTRIBUTE HP-Auth-Role 1 string HP 3. Save dictionary.hp. 4. Open the dictionary file in a text editor and add this line: $INCLUDE dictionary.hp 5. Save the dictionary file. 6. Open the client.config file in a text editor and add the switches that are to be configured as RADIUS clients. For example, to configure the switch at IP address 10.32.170.59 as a client: client 10.32.170.59 secret = Secret shortname = Testing Switch nastype = other In this example, the switch name is Testing Switch and its shared secret is Secret. Make sure that the shared secret matches that configured on the switch (see "Adding a RADIUS Server"). 7. Save client.config. 8. Open the user file in a text editor and add user names and roles for users who will be accessing the switch. For example, to set up an account called JohnDoe with the admin role: JohnDoe Auth-Type := Local, User-Password == "johnPassword" HP-Auth-Role = "admin" 9. Save the user file. 10. Enter the following command to start the RADIUS server: /usr/local/sbin/radiusd 11. Log in to a client switch and issue the aaaconfig command to configure it as a client and enable RADIUS service, as described in "Adding a RADIUS Server" and "Enabling and Disabling RADIUS Service." 12. Log out. When you log in to the switch again, RADIUS service is in force. Fabric OS 3.x Document Addendum 141

  • 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
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250

Fabric OS procedures user guide
141
Fabric OS 3.x Document Addendum
Test the configuration.
1.
Log in to the server and change directory to the RADIUS configuration file directory.
Typically, this directory is located at
/usr/local/etc/raddb
.
2.
Use a text editor to create a vendor dictionary file called
dictionary.hp
and enter the
following lines into the file:
3.
Save
dictionary.hp
.
4.
Open the
dictionary
file in a text editor and add this line:
5.
Save the
dictionary
file.
6.
Open the
client.config
file in a text editor and add the switches that are to be
configured as RADIUS clients. For example, to configure the switch at IP address
10.32.170.59 as a client:
In this example, the switch name is
Testing Switch
and its shared secret is
Secret
.
Make sure that the shared secret matches that configured on the switch (see
Adding a
RADIUS Server”
).
7.
Save
client.config
.
8.
Open the
user
file in a text editor and add user names and roles for users who will be
accessing the switch. For example, to set up an account called
JohnDoe
with the admin
role:
9.
Save the
user
file.
10.
Enter the following command to start the RADIUS server:
/usr/local/sbin/radiusd
11.
Log in to a client switch and issue the
aaaconfig
command to configure it as a client
and enable RADIUS service, as described in “
Adding a RADIUS Server
and “
Enabling
and Disabling RADIUS Service.”
12.
Log out.
When you log in to the switch again, RADIUS service is in force.
#
# dictionary.hp
#
VENDOR
HP
1588
#
# attributes
#
ATTRIBUTE HP-Auth-Role 1
string
HP
$INCLUDE dictionary.hp
client 10.32.170.59
secret
= Secret
shortname
= Testing Switch
nastype
= other
JohnDoe Auth-Type := Local, User-Password == “johnPassword”
HP-Auth-Role = “admin”