Set Host That Can Access The Ssh Server; Set Client That Can Access The Ssh Server - Yamaha L2 Command Reference Manual

Intelligent l2 poe swr2311p-10g
Table of Contents

Advertisement

76 | Command Reference | Maintenance and operation functions
VLAN interface permitted to access the SSH server
Filter that controls access to the SSH server
[Example]
Show the settings of the SSH server.
SWR2311P#show ssh-server
Service:Enable
Port:23
Hostkey:Generated
Management interface(vlan): 1
Interface(vlan):1, 2, 3
Access:
deny
192.168.100.5
permit 192.168.100.0/24

4.17.3 Set host that can access the SSH server

[Syntax]
ssh-server interface ifname
no ssh-server interface ifname
[Parameter]
ifname
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Sets the VLAN interface that allows access to the SSH server.
If this command is executed with the "no" syntax, delete the specified interface.
Up to eight instances of this command can be set, and those that are specified earlier take priority for application.
If this command is not set, access is permitted only from the maintenance VLAN.
[Example]
Allow access to the SSH server from the hosts connected to VLAN #1 and VLAN #2.
SWR2311P(config)#ssh-server interface vlan1
SWR2311P(config)#ssh-server interface vlan2

4.17.4 Set client that can access the SSH server

[Syntax]
ssh-server access action info
no ssh-server access [action info]
[Parameter]
action
info
:
VLAN interface name
:
Specifies the action for the access condition
Setting value
deny
permit
:
Specifies the transmission-source IPv4 address or IPv6 address that is the condition
Setting value
A.B.C.D
Description
"Deny" the condition
"Permit" the condition
Description
Specifies an IPv4 address (A.B.C.D)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents