Friday, July 9, 2010
Ipfilter example on Brocade Fabric OS 6.x
Allow ssh,http,https and block telnet on Brocade Fibre Channel switch (Fabric OS 6.x)
ipfilter --create my_filter_rule --type ipv4
ipfilter --addrule my_filter_rule -rule 2 -sip any -dp 22 -proto tcp -act permit
ipfilter --addrule my_filter_rule -rule 2 -sip any -dp 80 -proto tcp -act permit
ipfilter --addrule my_filter_rule -rule 2 -sip any -dp 443 -proto tcp -act permit
ipfilter --addrule my_filter_rule -rule 2 -sip any -dp 23 -proto tcp -act deny
ipfilter --activate my_filter_rule
ipfilter --save my_filter_rule
Subscribe to:
Posts (Atom)