xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
18
enable telnet
Purpose
Used to enable communication with and management of the Switch using the Telnet
protocol.
Syntax
enable telnet <tcp_port_number 1–65535>
Description
This command is used to enable the Telnet protocol on the Switch. The user can specify
the TCP or UDP port number the Switch will use to listen for Telnet requests.
Parameters
<tcp_port_number 1–65535>
−
The TCP port number. TCP ports are numbered between
1 and 65535. The “well–known” TCP port for the Telnet protocol is 23.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable Telnet and configure the port number:
D G S – 3 4 2 6 : 5 # e n a b l e t e l n e t 2 3
C o m m a n d : e n a b l e t e l n e t 2 3
S u c c e s s .
D G S – 3 4 2 6 : 5 #
disable telnet
Purpose
Used to disable the Telnet protocol on the Switch.
Syntax
disable telnet
Description
This command is used to disable the Telnet protocol on the Switch.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the Telnet protocol on the Switch:
D G S – 3 4 2 6 : 5 # d i s a b l e t e l n e t
C o m m a n d : d i s a b l e t e l n e t
S u c c e s s .
D G S – 3 4 2 6 : 5 #
enable web
Purpose
Used to enable the HTTP–based management software on the Switch.
Syntax
enable web <tcp_port_number 1–65535>
Description
This command is used to enable the Web–based management software on the Switch.
Parameters
<tcp_port_number 1–65535>
−
The TCP port number. TCP ports are numbered between
1 and 65535. The “well–known” port for the Web–based management software is 80.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable HTTP and configure port number: