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