xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
647
Chapter 72
Simple Network
Management Protocol
(SNMP) Command List
create snmp community
<community_string 32> view <view_name 32> [read_only | read_write]
delete snmp community
<community_string 32>
show snmp community
{<community_string 32>}
create snmp user
<user_name 32> <groupname 32> {encrypted [by_password auth [md5
<auth_password 8-16> | sha <auth_password 8-20>] priv [none | des <priv_password 8-16>] |
by_key auth [md5 <auth_key 32-32> | sha <auth_key 40-40>] priv [none | des <priv_key 32-
32>]]}
delete snmp user
<username 32>
show snmp user
create snmp group
<groupname 32> [v1 | v2c | v3 [noauth_nopriv | auth_nopriv | auth_priv]]
{read_view <view_name 32> | write_view <view_name 32> | notify_view <view_name 32>}
delete snmp group
<groupname 32>
show snmp groups
create snmp view
<view_name 32> <oid> view_type [included | excluded]
delete snmp view
<view_name 32> [all | <oid>]
show snmp view
{<view_name 32>}
create snmp
[host <ipaddr> | v6host <ipv6addr>] [v1 | v2c | v3 [noauth_nopriv | auth_nopriv |
auth_priv]] <auth_string 32>
delete snmp
[host <ipaddr> | v6host <ipv6addr>]
show snmp host
{<ipaddr>}
show snmp v6host
{<ipv6addr>}
(EI Mode Only)
config snmp engineID
<snmp_engineID 10-64>
show snmp engineID
enable snmp
disable snmp
config snmp system_name
{<sw_name>}
config snmp system_location
{<sw_location>}
config snmp system_contact
{<sw_contact>}
enable snmp traps
disable snmp traps
enable snmp authenticate_traps
disable snmp authenticate_traps
enable snmp linkchange_traps
disable snmp linkchange_traps
config snmp linkchange_traps
ports [all | <portlist>] [enable | disable]
config snmp coldstart_traps
[enable | disable]
config snmp warmstart_traps
[enable | disable]
show snmp traps
{linkchange_traps {ports <portlist>}}
config rmon trap
{rising_alarm [enable | disable] | falling_alarm [enable | disable]} (1)
show rmon
72-1
create snmp community
Description
This command is used to create an SNMP community string.
Содержание xStack DGS-3120-48PC
Страница 1: ...ll ...
Страница 181: ...xStack DGS 3120 Series Managed Switch CLI Reference Guide 177 ...
Страница 568: ...xStack DGS 3120 Series Managed Switch CLI Reference Guide 564 DGS 3120 24TC admin ...