
Chapter 32 Introducing the Commands
GS-3012/GS-3012F User’s Guide
230
service-
control
ftp <socket-
number>
Allows FTP access on the
specified service port.
13
http <socket-
number> <timeout>
Allows HTTP access on the
specified service port and
defines the timeout period.
13
https <socket-
number>
Allows HTTPS access on the
specified service port.
13
icmp Allows ICMP access to the
switch such as pinging and
tracerouting.
13
snmp Allows SNMP management. 13
ssh <socket-
number>
Allows SSH access on the
specified service port.
13
telnet <socket-
number>
Allows Telnet access on the
specified service port.
13
snmp-server [contact <system
contact>]
[location <system
location>]
Sets the geographic location
and the name of the person
in charge of this switch.
13
get-community
<property>
Sets the get community. 13
set-community
<property>
Sets the set community. 13
trap-community
<property>
Sets the trap community. 13
trap-destination
<ip>
Sets the IP addresses of up
to four stations to send your
SNMP traps to.
13
spanning-tree Enables STP on the switch. 13
<port-list> Enables STP on a specified
port.
13
<port-list> path-
cost <1-65535>
Sets the STP path cost for a
specified port.
13
<port-list>
priority <0-255>
Sets the priority for a
specified port.
13
hello-time <1-10>
maximum-age <6-40>
forward-delay <4-
30>
Sets Hello Time, Maximum
Age and Forward Delay.
13
priority <0-61440> Sets the bridge priority of the
switch.
13
ssh known-hosts <host-
ip> <1024|ssh-
rsa|ssh-dsa> <key>
Adds a remote host to which
the switch can access using
SSH service.
13
storm-control Enables broadcast storm
control on the switch.
13
syslog <cr> Enables syslog. 13
Table 83 Command Summary: Configure Mode (continued)
COMMAND DESCRIPTION PRIVILEGE