Policy – American Fibertek SM8P-SFP User Manual

Page 313

Advertising
background image

281

Rev.A1

18-May-11

 policy

add

Syntax:
add [name <value>] [ip <value>] [port <value>] [type <value>] action <value>
Description:
To add a new management policy entry.
Argument:
Synopsis: add name George ip 192.168.1.77-192.168.1.90 port 2-5,8

type h,s action a

Synopsis: add name Mary ip 192.168.2.1-192.168.2.90 action deny
Possible value:
None
Example:
SM8P-SFP(policy)# add name Mary ip 192.168.3.1-192.168.3.4 action deny

SM8P-SFP(policy)#show

1) Name : george

IP Range

: 192.168.1.1-192.168.1.90

Action : Accept

Access Type : HTTP

SNMP Port

: 2 3 4 5 8

2) Name : rule1

IP Range

: 192.168.2.1-192.168.2.30

Action : Deny

Access Type : HTTP TELENT

SNMP Port

: 11 12 13 14 15

3) Name : Mary

IP Range

: 192.168.3.1-192.168.3.4

Action : Deny

Access Type : Any

Port

: Any

SM8P-SFP(policy)#

delete

Syntax:
delete <index>
Description:
To add a new management policy entry.
Argument:
<index> : a specific or range management policy entry(s)
e.g. delete 2,3,8-12
Possible value:
<index> : a specific or range management policy entry(s)
Example:
SM8P-SFP(policy)# add name rule2 ip 192.168.4.23-192.168.4.33 port 6-8 type

s,t

action d

SM8P-SFP(policy)#show

Advertising