XG Series User's Guide
Chapter 5 Command Reference
Device Information Settings
318
5.15.8.22 serverinfo ssh filter
Function
Set the application filter for the SSH server function.
Available Model
XG0224 / XG0448 / XG0440DC / XG0440DCR / XG2600
Syntax
serverinfo ssh filter <count> <action> acl <acl_count>
Options
<count>
•
Filtering definition number
Specify a definition number, which indicates a filtering priority, with a decimal value
from 0 to 29.
A smaller value has a higher priority.
<action>
Specify an operation when filtering conditions are satisfied.
•
accept
Transmit the relevant packet.
•
reject
Block the relevant packet.
<acl_count>
•
ACL definition number
Specify the required ACL definition number with a decimal value.
If the ACL specified in <acl_count> is not specified, the filtering definition will be
disabled and ignored.
The following ACL definition is available for application filtering.
- ip
Set only the source IP address and the number of mask bits.
If the ip value is not set, the filtering definition will be disabled and ignored.
- ip6
Source IPv6 address and the prefix length are used for the filter.
If IPv6 value has not been set, the filtering definition will be disabled and ignored.
Use Mode
Configuration mode (admin class)
Explanation
Set the application filter for the SSH server function.
This definition is enabled for both the SSH login and SSH FTP server functions.
Each different filter cannot be set for the SSH login and SSH FTP server functions
separately.
Default
It is assumed that the application filter is not set for the SSH server function.