MicroNet Technology SP1659P User Manual

Page 95

Advertising
background image

Syntax:

Usage: set [<name> <value>] [<vid> <value>] [<ip> <value>] [<port> <value>] [<type> <value>] <action>

<value>

Synopsis: set name Mary vid 20 ip 192.168.1.1-192.168.1.90 port 2-5,8 type h,s action a

Synopsis: set name Mary vid 20 ip 192.168.1.1-192.168.1.90

Description: To save the adding management policy records.

Argument:

[<name> <value>] CL entry name.

[<vid> <value>] VLAN ID.

[<ip> <value>] IP range.

[<port> <value>] Incoming port.

[<type> <value>] Access type.

<action> <value> a(ccept) or d(eny).

Possible value:

[<vid> <value>] The range is 1-4095 and can be set to any.

[<ip> <value>] For example, 192.168.1.90-192.168.1.90 or any.

[<port> <value>] For example, 1 or 1-8 or 1,3-5 or any

[<type> <value>] For example, h(ttp),s(nmp),t(elnet) or any.

<action> <value> No default and it must be set.

Example:

SP1659P(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
SP1659P(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

delete

Syntax: delete #

Description: To delete a specific record or range.

Argument: <#>: a specific or range management security entry(s)

Possible value: none

Example:

SP1659P(management)# show

#: 1
Name : Tom VlanID : 2 IP : 192.168.1.30-192.168.1.80
Type : SNMP Action : Deny Port : 1,2

SP1659P(management)# delete 1

SP1659P(management)# show

Security rule list is empty now

edit

Syntax:

Usage: edit [<name> <value>] [<vid> <value>] [<ip> <value>] [<port> <value>] [<type> <value>] <action>

<value>

Synopsis: set name Mary vid 20 ip 192.168.1.1-192.168.1.90 port 2-5,8

type h,s action a

Synopsis: set name Mary vid 20 ip 192.168.1.1-192.168.1.90

94

Advertising