Brocade Communications Systems A7533A - Brocade 4Gb SAN Switch Base Command Reference Manual page 342

Brocade fabric os command reference manual - supporting fabric os v5.3.0 (53-1000436-01, june 2007)
Hide thumbs Also See for A7533A - Brocade 4Gb SAN Switch Base:
Table of Contents

Advertisement

2
ipfilter
--transabort
Examples
To create an IP filter for a specific policy with an IPv4 address:
To add a new rule to the specific policy and specify the source IP address, destination port number,
and to permit the rule:
To display the IP filter policy for a specify IP policy and type:
See Also
policy, distribute
310
Specifies the destination port number, a range of port numbers, or a service
name.
-proto
Specifies the protocol type, for example tcp or udp.
-act
Specifies the permit or deny action associated with this rule.
-rule rule_number
Adds a new rule at the given rule index number that is valid between 1 and
the current maximum rule number plus one.
delrule <policyname> -rule rule_number
Deletes a rule specified by rule number from the specified IP filter policy.
Deleting a rule in the specified IP filter policy causes the rules following the
deleted rule to shift up in rule order. The change to the specified IP filter
policy is not saved to persistent configuration until a save or activate is run.
A transaction is associated with a CLI or manageability session. It is opened
implicitly when running the -create, --addrule and --delrule subcommands.
--transabort explicitly ends the transaction owned by the current CLI or
manageability session. If a transaction is not ended, other CLI or
manageability sessions are blocked on the subcommands that would open a
new transaction.
switch:admin> ipfilter --create ex1 -type ipv4
switch:admin> ipfilter --addrule ex1 -sip 192.168.44.6 -dp 23 -proto tcp -act
permit
Switch:admin> ipfilter --show ex1
Name: ex1, Type: ipv4, State: defined (modified)
Rule
Source IP
1
192.168.44.6
2
192.168.45.9
Protocol
Dest Port
tcp
23
tcp
123
Action
permit
deny
Fabric OS Command Reference Manual
53-1000436-01

Advertisement

Table of Contents
loading

Table of Contents