Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show snmp v3

Syntax

show snmp v3 <access <brief | detail> | community | general | groups | notify <filter> | target <address | parameters> | users>

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

Description

Display the Simple Network Management Protocol version 3 (SNMPv3) operating configuration.

Options

none

Display all of the SNMPv3 operating configuration.

access

(Optional) Display SNMPv3 access information.

brief | detail

(Optional) Display brief or detailed information about SNMPv3 access information.

community

(Optional) Display SNMPv3 community information.

general

(Optional) Display SNMPv3 general information.

groups

(Optional) Display SNMPv3 security-to-group information.

notify <filter>

(Optional) Display SNMPv3 notify and, optionally, notify filter information.

target <address | parameters>

(Optional) Display SNMPv3 target and, optionally, either target address or target parameter information.

users

(Optional) Display SNMPv3 user information.

Additional Information

To edit the default display of the show snmp v3 command, specify options in the show statement at the [edit snmp v3] hierarchy level.

Required Privilege Level

view

List of Sample Output

show snmp v3

Output Fields

Table 1 describes the output fields for the show snmp v3 command. Output fields are listed in the approximate order in which they appear.

Table 1: show snmp v3 Output Fields

Field Name

Field Description

Access control

Information about access control:

  • Group—Group name for which the configured access privileges apply. The group, together with the context prefix and the security model and security level, forms the index for this table.
  • Context prefix—SNMPv3 context for which the configured access privileges apply.
  • Security model/level—Security model and security level for which the configuration access privileges apply.
  • Read view—Identifies the MIB view applied to SNMPv3 read operations.
  • Write view—Identifies the MIB view applied to SNMPv3 write operations.
  • Notify view—Identifies the MIB view applied to outbound SNMP notifications.

Engine

Information about local engine configuration:

  • Local engine ID—Identifier that uniquely and unambiguously identifies the local SNMPv3 engine.
  • Engine boots—Number of times the local SNMPv3 engine has rebooted or reinitialized since the engine ID was last changed.
  • Engine time—Number of seconds since the local SNMPv3 engine was last rebooted or reinitialized.
  • Max msg size—Maximum message size the sender can accommodate.

Engine ID

Information about engine ID:

  • Local engine ID—Identifier that uniquely and unambiguously identifies the local SNMPv3 engine.
  • Engine boots—Number of times the local SNMPv3 engine has rebooted or reinitialized since the engine ID was last changed.
  • Engine time—Number of seconds since the local SNMPv3 engine was last rebooted or reinitialized.
  • Max msg size—Maximum message size the sender can accommodate.
  • Engine ID—SNMPv3 engine ID associated with each user.
  • User—SNMPv3 user.
  • Auth/Priv—Authentication and encryption algorithm available for use by each user.
  • Storage—Indicates whether a user is saved to the configuration file (nonvolatile) or not (volatile). Applies only to users with active status.
  • Status—Status of the conceptual row. Only rows with an active status are used by the SNMPv3 engine.

Group name

Name of the group to which this entry belongs.

Security model

Identifies the security model context for the security name.

Security name

Used with the security model; identifies a specific security name instance. Each security model/security name combination can be assigned to a specific group.

Storage type

Indicates whether a user is saved to the configuration file (nonvolatile) or not (volatile). Applies only to users with active status.

Status

Status of the conceptual row. Only rows with active status are used by the SNMPv3 engine.

Sample Output

show snmp v3

user@host> show snmp v3
Local engine ID: 80 00 0a 4c e04 31 32 33 34          
Engine boots:          38
Engine time:        64583 seconds
Max msg size:        2048 bytes

Engine ID: local
    User                            Auth/Priv   Storage      Status
    user1                            md5/des    nonvolatile  active
    user2                            sha/none   nonvolatile  active
    user3                           none/none   nonvolatile  active

Engine ID: 81 00 0a 4c 04 64 64 64 64
    User                            Auth/Priv   Storage      Status
    UNEW                             md5/none   nonvolatile  active
Group name           Security  Security              Storage      Status
                     model     name                  type
g1                   usm       user1                 nonvolatile  active
g2                   usm       user2                 nonvolatile  active
g3                   usm       user3                 nonvolatile  active

Access control:
Group                Context Security      Read       Write     Notify
                     prefix  model/level   view       view      view
g1                            usm/privacy  v1         v1       
g2                            usm/authent  v1         v1       
g3                            usm/none     v1         v1 

Published: 2014-04-24

Published: 2014-04-24