![Amer.com SS2GD8I Скачать руководство пользователя страница 116](http://html1.mh-extra.com/html/amer-com/ss2gd8i/ss2gd8i_user-manual_2921991116.webp)
110
> snmp
disable
Syntax:
disable <type>
Description:
Disables SNMP or set-community.
Arguments:
<type>: Can be “snmp” or “set-community”.
Example:
SS2GD8I(snmp)# disable snmp
SS2GD8I(snmp)# disable set-community
enable
Syntax:
enable <type>
Description:
Enables SNMP or set-community.
Arguments:
<type>: Can be “snmp” or “set-community”.
Example:
SS2GD8I(snmp)# enable snmp
SS2GD8I(snmp)# enable set-community
set
Syntax:
set get-community <community>
set set-community <community>
set trap <#> <ip> [port] [community]
Description:
Sets the community used for get-community or set-community, or sets the trap host IP, host
port and trap-community.
Arguments:
<#>: trap number, range from 1-6.
<ip>: IP address or domain name.
<port>: trap port, range from 1-65535.
<community>:trap community name.
Example:
SS2GD8I(snmp)# set get-community public
SS2GD8I(snmp)# set set-community private
SS2GD8I(snmp)# set trap 1 192.168.1.1 162 public