Enforcing Snmp Message Encryption; Assigning Snmpv3 Users To Multiple Roles - Cisco Nexus 3548 Configuration Manual

Nx-os system management
Hide thumbs Also See for Nexus 3548:
Table of Contents

Advertisement

Configuring SNMP
Step 4
The following example shows how to configure an SNMP user:
switch# config t
Enter configuration commands, one per line. End with CNTL/Z.
switch(config)# snmp-server user Admin auth sha abcd1234 priv abcdefgh

Enforcing SNMP Message Encryption

You can configure SNMP to require authentication or encryption for incoming requests. By default, the SNMP
agent accepts SNMPv3 messages without authentication and encryption. When you enforce privacy, Cisco
NX-OS responds with an authorization error for any SNMPv3 PDU request that uses a security level parameter
of either noAuthNoPriv or authNoPriv.
Use the following command in global configuration mode to enforce SNMP message encryption for a specific
user:
Command
switch(config)# snmp-server user name enforcePriv
Use the following command in global configuration mode to enforce SNMP message encryption for all users:
Command
switch(config)# snmp-server globalEnforcePriv

Assigning SNMPv3 Users to Multiple Roles

After you configure an SNMP user, you can assign multiple roles for the user.
Only users who belong to a network-admin role can assign roles to other users.
Note
Command
switch(config)# snmp-server user name group
Command or Action
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
Enforcing SNMP Message Encryption
Purpose
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
Purpose
Enforces SNMP message encryption for this user.
Purpose
Enforces SNMP message encryption for all users.
Purpose
Associates this SNMP user with the configured user
role.
123

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents