![Amer.com SS2GD8I Скачать руководство пользователя страница 105](http://html1.mh-extra.com/html/amer-com/ss2gd8i/ss2gd8i_user-manual_2921991105.webp)
99
> management
delete
Syntax:
delete #
Description:
To delete a specific record or range.
Arguments:
<#>: a specific or range management security entry(s)
Possible values:
None.
Example:
SS2GD8I(management)# show
#: 1
Name : Tom
VlanID : 2 IP : 192.168.1.30-192.168.1.80
Type : SNMP
Action : Deny
Port : 1,2
SS2GD8I(management)# delete 1
SS2GD8I(management)# show
Security rule list is empty now
>> add
set
Syntax:
set name <name> [vid <vid>] [ip <ip>] [port <port>] [type <type>] action <action>
Description:
Allows a user to manage the switch using one or more methods and from one or more IP
addresses and/or ports. If you just enter the command “set”, you will be prompted for each option.
Arguments:
name <name>: access control list (ACL) user name.
vid <vid> (optional): VLAN ID, range from 1-4095 or “any”, default is “any”.
ip <ip> (optional): IP range that user can log in from, or “any”, e.g. 192.168.1.90-192.168.1.90, default is
“any”.
port <port> (optional): Physical port that user can log in from, can be a single port (e.g. “1”) or a range of
ports (e.g. “5-7”), range from 1-8, default is all ports.
type <type> (optional): Access type for user, can be “h” for HTTP, “s” for SNMP, “t” for Telnet, or “any”, or a
combination of two of the three, separated by a comma, default is “any”.
action <action>: a(ccept) or d(eny).
Example:
SS2GD8I(management-add)# set name Mary vid 20 ip 192.168.1.1-192.168.1.90
port 2-5,8 type h,s action a
SS2GD8I(management-add)# show
#: 1
Name : Mary
VlanID : 20
IP : 192.168.1.1-192.168.1.90
Type : Http,SNMP Action : Accept Port : 2,3,4,5,8