Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual page 609

Mds 9000 family
Table of Contents

Advertisement

Chapter 27
Configuring SNMP
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m .
To create or modify SNMP users from the CLI, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# snmp-server user joe
network-admin auth sha abcd1234
switch(config)# snmp-server user sam
network-admin auth md5 abcdefgh
switch(config)# snmp-server user Bill
network-admin auth sha abcd1234 priv
abcdefgh
switch(config)# no snmp-server user
usernameA
switch(config)# no snmp-server usam role
vsan-admin
switch(config)# snmp-server user user1
network-admin auth md5 0xab0211gh priv
0x45abf342 localizedkey
switch(config)# snmp-server
auth md5 asdgfsadf priv aes-128
asgfsgkhkj
Step 3
switch(config)# snmp-server user joe
sangroup
switch(config)# snmp-server user joe
techdocs
Avoid using the localizedkey option when configuring an SNMP user from the CLI. The localized keys
Caution
are not portable across devices as they contain device engine ID information. If a configuration file is
copied to the device, the passwords may not be set correctly if the configuration file was generated at a
different device. Explicitly configure the desired passwords after copying the configuration into the
device. Passwords specified with the localizedkey option are limited to 130 characters.
Note
The snmp-server user command takes engineID as an additional parameter. The engineID is for
creating the notification target user (see to the
page
OL-6973-03, Cisco MDS SAN-OS Release 2.x
27-11). If the engineID is not specified, the local user is created.
Purpose
Enters configuration mode.
Creates or modifies the settings for a user (joe) in the
network-admin role using the HMAC-SHA-96
authentication password (abcd1234).
Creates or modifies the settings for a user (sam) in the
network-admin role using the HMAC-MD5-96
authentication password (abcdefgh).
Creates or modifies the settings for a user
(network-admin) in the network-admin role using the
HMAC-SHA-96 authentication level and privacy
encryption parameters.
Deletes the user (usernameA) and all associated
parameters.
Deletes the specified user (usam) from the vsan-admin
role.
Specifies the password to be in localized key format
(see RFC 2574). The localized key is provided in the
hex format (for example, 0xacbdef).
Configures the user2 with the MD5 authentication
user user2
protocol and AES-128 privacy protocol.
Adds the specified user (joe) to the sangroup role.
Adds the specified user (joe) to the techdocs role.
"Configuring the Notification Target User" section on
Cisco MDS 9000 Family Configuration Guide
Creating and Modifying Users
27-5

Advertisement

Table of Contents
loading

Table of Contents