8- and 24-Port Gigabit L2 Managed Power-over-Ethernet (PoE) Switches
724-746-5500 | blackbox.com
198
Add
Syntax: add [name <value>] [ip <value>] [port <value>] [type <value>] action <value>
Description: Add a new management policy entry.
Argument: Synopsis: add name George ip 192.168.1.1-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:
LPB4008A(policy)# add name Mary ip 192.168.3.1-192.168.3.4 action deny
LPB4008A(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
LPB4008A(policy)#
Delete
Syntax: delete <index>
Description: Delete a management policy entry.
Argument: <index>: a specific or range management policy entry(s) e.g. delete 2,3,4-7
Possible value: <index>: a specific or range management policy entry(s)
Example:
LPB4008A(policy)# add name rule2 ip 192.168.4.23-192.168.4.33 port 6-8 type s,t
action d
LPB4008A(policy)# show
1) Name
: rule1
IP Range
: 192.168.4.5-192.168.4.22
Action
: Deny
Access Type
: HTTP TELENT SNMP
Port
: 2 3 4 5
2) Name
: rule2 IP Range
: 192.168.4.23-192.168.4.33
Action
: Deny Access Type
: TELENT SNMP
Port
: 6 7 8
LPB4008A(policy)# delete 2
LPB4008A(policy)# show
1) Name
: rule1 IP Range
: 192.168.4.5-192.168.4.22
Action
: Deny Access Type
: HTTP TELENT SNMP
Port : 2 3 4 5
LPB4008A(policy)#