Motorola WS-2000-SME-WW CLI Guide - Page 115
Network Firewall Policy Outbound set Command
View all Motorola WS-2000-SME-WW manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 115 highlights
Network CLI Commands Reference 3-79 3.15.6 Network Firewall Policy Outbound set Command set Network Firewall Policy Outbound Commands Sets firewall policy parameters. Syntax set [saddr|daddr|tp|sport|dport|nat|action|logging] Parameters saddr daddr tp sport [] dport [] nat action [allow|deny] logging [enable|disable] Sets source IP address and IP netmask for outbound firewall policy . Sets destination IP address and IP netmask for outbound firewall policy . Sets transport protocol for outbound firewall policy to (one of all, tcp, udp, icmp, ah, esp, gre). Sets source port range for outbound firewall policy from (1-65535) to (1-65535). If is not specified, is used as the top end of the range. Sets destination port range for outbound firewall policy from (1-65535) to (1-65535). If is not specified, is used as the top end of the range. Sets NAT WAN ID for outbound firewall policy to (0-8) where 0 = none, 1 = WAN 1, 2 = WAN 2, etc. Sets action of outbound firewall policy to allow or deny. Sets logging of outbound firewall policy to enable or disable. Example admin(network.fw.policy.outb)>set tp 1 gre admin(network.fw.policy.outb)>list Idx Src IP-Netmask Dst IP-Netmask Tp SPorts DPorts Rev. NAT Action 1 209.239.160.202- 168.192.36.4- gre 1: 1: 0.0.0.0 deny 255.255.255.224 255.255.255.0 65535 65535 nat port 0 admin(network.fw.policy.outb)>set sport 1 20 21 admin(network.fw.policy.outb)>set dport 1 200 201 admin(network.fw.policy.outb)>set action 1 allow admin(network.fw.policy.outb)>list Idx Src IP-Netmask Dst IP-Netmask Tp SPorts DPorts Rev. NAT Action 1 209.239.160.202- 168.192.36.4- gre 20:21 200: 0.0.0.0 allow 255.255.255.224 255.255.255.0 201 nat port 0