snmp-user-create

SNMPv3 creates users as access control mechanisms, and creating users is more complex but also more secure and more flexible. You can also require that users must authenticate and use encryption.

Syntax   snmp-user-create

user-name name-string

Specify the user name.

auth-password auth-password-string

Specify the authentication password.

auth|no-auth

Specify if authentication is required or not.

auth-hash md5|sha

Specify the type of authentication hashing algorithm.

priv-password priv-password-string

Specify the password for privileges mode.

priv|no-priv

Specifies if privileges are assigned or not.

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.1

The parameter, auth-password, and priv-password added.

Version 2.6.0

The parameter, auth-hash, added.

Usage   Use this command to create users for SNMPv3.

Examples  To create SNMPv3 users, use the following command:

CLI network-admin@switch > snmp-user-create

snmp-user-delete

SNMPv3 creates users as access control mechanisms, and creating users is more complex but also more secure and more flexible. You can also require that users must authenticate and use encryption.

Syntax   snmp-user-delete  

user-name name-string

Specifies the user name.

Defaults   None

Access   CLI

History   Command introduced in Netvisor Version 2.0.

Usage   Use this command to delete a user configured for SNMPv3.

Examples  To display SNMPv3 user information, use the following command:

CLI network-admin@switch > snmp-user-delete

snmp-user-modify

SNMPv3 creates users as access control mechanisms, and creating users is more complex but also more secure and more flexible. You can also require that users must authenticate and use encryption.

Syntax   snmp-user-modify

user-name name-string

Specify the user name.

auth-password auth-password-string

Specify the authentication password.

auth|no-auth

Specify if authentication is required or not.

auth-hash md5|sha

Specify the type of authentication hashing algorithm.

priv-password priv-password-string

Specify the password for privileges mode.

priv|no-priv

Specifies if privileges are assigned or not.

Default   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.1

The parameter, auth-password, and priv-password added.

Version 2.6.0

The parameter, auth-hash, added.

Usage   Use this command to modify parameters configured for SNMPv3 users.

Examples  To modify SNMPv3 user information, use the following command:

CLI network-admin@switch > snmp-user-modify

snmp-user-show

SNMPv3 creates users as access control mechanisms, and creating users is more complex but also more secure and more flexible. You can also require that users must authenticate and use encryption.

Syntax   snmp-user-show

user-name name-string

Specify the user name.

auth-password auth-password-string

Specify the authentication password.

auth|no-auth

Specify if authentication is required or not.

auth-hash md5|sha

Specify the type of authentication hashing algorithm.

priv-password priv-password-string

Specify the password for privileges mode.

priv|no-priv

Specifies if privileges are assigned or not.

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.1

The parameter, auth-password, and priv-password added.

Version 2.6.0

The parameter, auth-hash, added.

Usage   Use this command to display information about users configured for SNMPv3.

Examples  To display SNMPv3 user information, use the following command:

CLI network-admin@switch > snmp-user-show

snmp-v3-trap-sink-create

This command is used to specify a SNMPv3 trap receiver for SNMP traps.

Syntax   snmp-trap-sink-create  

user-name user-name-string

Specify the user name to send traps.

type TRAP_TYPE_V3_TRAP|TRAP_TYPE_V3_INFORM

Specify the type of SNMP trap.

dest-host dest-host-string

Specify the destination host.

dest-port dest-port-number

Specify the destination port.

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.4

The options, TRAP_TYPE_V1_TRAP|TRAP_TYPE_V2C_TRAP|TRAP_TYPE_V2_INFORM deprecated.

Version 2.4.1

The parameters, engine-id, auth-password, auth|no-auth, priv-password, and priv|no-priv deprecated.

Usage   Use this command to send SNMPv3 traps to a receiver.

Examples  To send TRAP_TYPE_V3_TRAP, from community string, snmp-group, to the destination, trap-recvr, on port 43, use the following command:

CLI network-admin@switch > snmp-v3-trap-sink-create snmp-group dest-host snmp-recvr dest-port 43

snmp-v3-trap-sink-delete

This command is used to remove an SNMPv3 trap receiver from the configuration.

Syntax   snmp-v3-trap-sink-delete

user-name user-name-string

Specify the user name to send traps.

dest-host dest-host-string

Specify the destination host.

dest-port dest-port-number

Specify the destination port.

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.4

The parameter, engine-id,deprecated.

Usage   Use this command to remove an SNMPv3 trap receiver from the configuration.

Examples  To remove the user, snmp-admin, and destination host, snmpv3-receiver, from destination port 67, use the following command:

CLI network-admin@switch > snmp-v3-trap-sink-delete user-name snmp-admin dest-host snmpv3-receiver dest-port 67

snmp-v3-trap-sink-show

This command is used to display information about a SNMPv3 trap receiver for SNMP traps.

Syntax   snmp-trap-sink-show

user-name user-name-string

Specify the user name to send traps.

type TRAP_TYPE_V3_TRAP|TRAP_TYPE_V3_INFORM

Specify the type of SNMP trap.

dest-host dest-host-string

Specify the destination host.

dest-port dest-port-number

Specify the destination port.

Defaults   None

Access   CLI

History   

Version 2.0

Command introduced.

Version 2.4

The options, TRAP_TYPE_V1_TRAP|TRAP_TYPE_V2C_TRAP|TRAP_TYPE_V2_INFORM deprecated.

Usage   Use this command to display information about an SNMPv3 receiver configuration.

Examples  To display information about an SNMPv3 receiver, use the following command:

CLI network-admin@switch > snmp-v3-trap-sink-show