Motorola WS-2000-SME-WW CLI Guide - Page 108
Network Firewall Policy Inbound set Command
View all Motorola WS-2000-SME-WW manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 108 highlights
3-72 WS2000 Wireless Switch System Reference Guide 3.14.6 Network Firewall Policy Inbound set Command set Network Firewall Policy Inbound Commands Sets inbound firewall policy parameters. Syntax set [saddr|daddr|tp|sport}dport|rnat|rport|action|logging] Parameters saddr daddr tp sport [] dport [] rnat rport action [allow|deny] Sets source IP address and IP netmask for inbound firewall policy . Sets destination IP address and IP netmask for inbound firewall policy . Sets transport protocol for inbound firewall policy to (one of all, tcp, udp, icmp, ah, esp, gre). Sets source port range for inbound 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 inbound firewall policy from (1- 65535) to (1-65535). If is not specified, is used as the top end of the range. Sets reverse NAT IP address for inbound firewall policy to (a.b.c.d). Sets reverse NAT port for inbound firewall policy to (0-65535). Sets action of inbound firewall policy to allow or deny. Example admin(network.fw.policy.inb)>set tp 1 gre admin(network.fw.policy.inb)>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.inb)>set sport 1 20 21 admin(network.fw.policy.inb)>set dport 1 200 201 admin(network.fw.policy.inb)>set action 1 allow admin(network.fw.policy.inb)>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