[Description]
Shows the settings of the HTTP Proxy function. The following items are shown.
• HTTP Proxy function enabled/disabled status
• Timeout time
[Example]
Show the settings of the HTTP Proxy function.
SWR2311P#show http-proxy
Service:Enable
Timeout:60
4.17 SSH server
4.17.1 Start SSH server and change listening port number
[Syntax]
ssh-server
enable
[
port
]
ssh-server
disable
no
ssh-server
[Keyword]
enable
:
SSH server is enabled
disable
:
SSH server is disable
[Parameter]
port
:
<1-65535>
Listening port of the SSH server (if omitted: 22)
[Initial value]
ssh-server disable
[Input mode]
global configuration mode
[Description]
Enables the SSH server. You can also specify the listening TCP port number.
In order to enable the SSH server, the host key must be created in advance (ssh-server host key generate).
If this command is executed with the "no" syntax, disable the SSH server.
[Note]
In order to log in from the SSH client, the user name and password must be registered in advance (username).
[Example]
Start the SSH server with 12345 as the listening port number.
SWR2311P#ssh-server host key generate
SWR2311P#configure terminal
SWR2311P(config)#ssh-server enable 12345
4.17.2 Show SSH server settings
[Syntax]
show
ssh-server
[Input mode]
priviledged EXEC mode
[Description]
Shows the settings of the SSH server.
The following items are shown.
• SSH server function enabled/disabled status
• Listening port number
• Whether SSH server host key exists
Command Reference | Maintenance and operation functions |
75