![Amer.com SS2GD8I Скачать руководство пользователя страница 106](http://html1.mh-extra.com/html/amer-com/ss2gd8i/ss2gd8i_user-manual_2921991106.webp)
100
>> edit
set
Syntax:
set name <name> [vid <vid>] [ip <ip>] [port <port>] [type <type>] action <action> [<type>
<value>] <action> <value>
Description:
Edits a management policy record.
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)# edit 1
SS2GD8I(management-edit-1)# set name Tom vid 2 ip 192.168.1.30-
192.168.1.80 port 1-2 type s action d
SS2GD8I(management-edit-1)# show
#: 1
Name : Tom
VlanID : 2
IP : 192.168.1.30-192.168.1.80
Type : SNMP
Action : Deny
Port : 1,2
show
Syntax:
show
Description:
Shows all management policy records.
Arguments:
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