snmp-server globalEnforcePriv

To configure Simple Network Management Protocol (SNMP) message encryption for all users, use the snmp-server globalEnforcePriv command. To remove the encryption, use the no form of this command.

snmp-server globalEnforcePriv

no snmp-server globalEnforcePriv

Syntax Description

This command has no arguments or keywords.

Command Default

The SNMP agent accepts SNMPv3 messages without authentication and encryption.

Command Modes

Global configuration mode

Command History

Release
Modification

4.1(3)N2(1)

This command was introduced.


Examples

This example shows how to configure SNMP message encryption for all users:

switch(config)# snmp-server globalEnforcePriv 
switch(config)# 

This example shows how to remove SNMP message encryption for all users:

switch(config)# no snmp-server globalEnforcePriv 
switch(config)# 

Related Commands

Command
Description

snmp-server user

Configures a new user to an SNMP group.

show snmp sessions

Displays the current SNMP sessions.