xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
535
show snmp view
Syntax
show snmp view {<view_name 32>}
Description
This command is used to display the SNMP view record.
Parameters
view_name
- View name of the user who likes to show.
Restrictions
None.
Example usage:
To show SNMP view:
DGS-3450:admin#show snmp view
Command: show snmp view
Vacm View Table Settings
View Name Subtree View Type
-------------------------------- ---------------------------------- ----------
restricted 1.3.6.1.2.1.1 Included
restricted 1.3.6.1.2.1.11 Included
restricted 1.3.6.1.6.3.10.2.1 Included
restricted 1.3.6.1.6.3.11.2.1 Included
restricted 1.3.6.1.6.3.15.1.1 Included
CommunityView 1 Included
CommunityView 1.3.6.1.6.3 Excluded
CommunityView 1.3.6.1.6.3.1 Included
Total Entries: 8
DGS-3450:admin#
create snmp
Purpose
Used to create a recipient of an SNMP trap operation.
Syntax
create snmp [host <ipaddr> | v6host <ipv6addr>] [v1 | v2c | v3 [noauth_nopriv |
auth_nopriv | auth_priv]] <auth_string 32>
Description
This command is used to create a recipient of an SNMP operation.
Note: This is SNMPv3 command, if it is used; All SNMPv1/v2 commands are not necessary.
Parameters
<ipaddr>
- The IP address of the recipient for which the traps are targeted.
<ipv6addr>
- Specifies the IPv6 host address to which the trap packet will be sent.
v1
- The least secure of the possible security models.
v2c
- The second least secure of the possible security models.
v3
- The most secure of the possible.
•
noauth_nopriv
- Neither support packet authentication nor encrypting.
•
auth_nopriv
- Support packet authentication.
•
auth_priv
- Support packet authentication and encrypting.
<auth_string 32>
- Authentication string. If the v1 or v2 is specified, the auth_string presents
the community string, and it must be one of the entries in community table. If the v3 is
specified, the auth_string presents the user name, and it must be one of the entries in the
user table.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage: