set
Syntax:
set get-community <community>
set set-community <community>
set trap <#> <ip> [port] [community]
Description:
The Set here is used for the setup of get-community, set-community, trap host ip, host port and
trap-community.
Argument:
<#>: trap number
<ip>: ip address or domain name
<port>: trap port
<community>: trap community name
Possible value:
<#>: 1 to 6
<port>:1~65535
Example:
SP1659P(snmp)# set get-community public
SP1659P(snmp)# set set-community private
SP1659P(snmp)# set trap 1 192.168.1.1 162 public
show
Syntax: show
Description: The Show here is to display the configuration of SNMP.
Argument: None.
Possible value: None.
Example:
SP1659P(snmp)# show
SNMP : Enable
Get Community : public
Set Community : private [Enable]
Trap Host 1 IP Address: 192.168.1.1 Port: 162 Community: public
Trap Host 2 IP Address: 0.0.0.0 Port: 162 Community: public
Trap Host 3 IP Address: 0.0.0.0 Port: 162 Community: public
Trap Host 4 IP Address: 0.0.0.0 Port: 162 Community: public
Trap Host 5 IP Address: 0.0.0.0 Port: 162 Community: public
Trap Host 6 IP Address: 0.0.0.0 Port: 162 Community: public
4.3.23 stp
MCheck
Syntax: MCheck <range>
Description: To force the port to transmit RST BPDUs.
Argument: <range>: syntax 1, 5-7, available from 1 to 26
Possible value: <range>: 1 to 26
Example:
SP1659P(stp)# Mcheck 1-8
107