Firewall Configuration - American Megatrends StorTrends User’s guide User Manual

Command line interface version 2.7
Table of Contents

Advertisement

Firewall Configuration

These commands configure the network firewall options.
Command
Argument
add firewall
-a/--allow or
-b/--block
-i/--ip <ipaddress>
-m/--mask <netmask>
-p/--proto {icmp}
-x/--xml
add firewall
-a/--allow
-b/--block
-i/--ip <ipaddress>
-m/--mask <netmask>
-s/--sport <start-port>
-e/--eport <end-port>
-p/--proto {tcp/udp}
For example: add –a –i 10.10.1.1 –s 1200 –e 5000 –
p tcp firewall
edit firewall
-a/--allow or
-b/--block
-r/--rule<ruleno>
-i/--ip <IP address>
-m/--mask <net mask>
-p/--proto { icmp}
-x/--xml
For example: edit -a -i 10.0.0.218 -r 1 -m
255.255.255.255 -p icmp -x firewall
delete firewall
-a/--allow or
-b/--block
-r/--num <rule number>(obtained when viewing the
list of firewalls via the list command below)
-x/--xml
For example: delete -b -r 1 -x firewall
edit firewall
-a/--allow or
-b/--block
-r/--rule<ruleno>
-i/--ip <IP address>
-m/--mask <net mask>
-s/--sport <start port>
-e/--eport <end port>
-p/--proto {tcp/udp}
-x/--xml
For example: edit -a -i 10.0.0.218 -r 1 -m
255.255.255.255 -s 2000 -e 3000 -p udp -x firewall
list firewall
get firewall
-c/--count
-x/--xml
For example: get -c -x firewall
StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User's Guide
12
Description
Add allowed or blocked firewall
rule with given parameters for the
ICMP protocol.
Add allowed or blocked firewall
rule with given parameters for TCP
and UDP protocols.
Modifies specified allowed or
blocked firewall rule with given
rule number to the given values for
ICMP.
Deletes allowed or blocked firewall
rule with given rule number.
Modifies specified allowed or
blocked firewall rule with given
rule number to the given values for
TCP or UDP.
Lists all the blocked and allowed
firewall rules.
Retrieves the count of allowed or
blocked firewall rules.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Stortrends itx

Table of Contents