[Parameter]
port
:
<1-65535>
Listening port of the Telnet server (if omitted: 23)
[Initial value]
telnet-server disable
[Input mode]
global configuration mode
[Description]
Enables the Telnet server. You can also specify the listening TCP port number.
If this command is executed with the "no" syntax, the function is disabled.
[Example]
Start the Telnet server with 12345 as the listening port number.
SWR2311P(config)#telnet-server enable 12345
4.12.2 Show Telnet server settings
[Syntax]
show
telnet-server
[Input mode]
priviledged EXEC mode
[Description]
Shows the settings of the Telnet server. The following items are shown.
• Telnet server function enabled/disabled status
• Listening port number
• VLAN interface that is permitted to access the TELNET server
• Filter that controls access to the TELNET server
[Example]
Show the settings of the Telnet server.
SWR2311P#show telnet-server
Service:Enable
Port:23
Management interface(vlan): 1
Interface(vlan):1, 2, 3
Access:
deny 192.168.100.5
permit 192.168.100.0/24
4.12.3 Set host that can access the Telnet server
[Syntax]
telnet-server
interface
interface
no
telnet-server
interface
interface
[Parameter]
interface
:
VLAN interface name
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Sets the VLAN interface that allows access to the Telnet server.
If this command is executed with the "no" syntax, the specified interface is deleted.
This command can be used to specify up to eight items, which are applied in the order that they are specified.
If this command is not set, access is permitted only from the management VLAN.
66
| Command Reference | Maintenance and operation functions