The text of a manual · part 39 of 49
AP-5131 Access Point Product Reference Guide: Command Line Interface Reference, pages 359 to 368
Pages 359 to 368 of 456, from AP-5131 Access Point Product Reference Guide
The original document is the PDF (4.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol AP-5131
Page 359
Command Line Interface Reference 8-111
8.3.4 Network Firewall Commands AP5131>admin(network.firewall)> Description: Displays the AP-5131 firewall submenu. The items available under this command include: show set access advanced .. / save quit
Displays the AP-5131’s current firewall configuration. Defines the AP-5131’s firewall parameters. Enables/disables firewall permissions through the LAN and WAN ports. Displays interoperaility rules between the LAN and WAN ports. Goes to the parent menu. Goes to the root menu. Saves the configuration to system flash. Quits the CLI.
Page 360
8-112 AP-5131 Access Point Product Reference Guide
AP5131>admin(network.firewall)> show Description: Displays the AP-5131 firewall parameters.
Syntax: show
Shows all AP-5131’s firewall settings.
Example: admin(network.firewall)>show Firewall Status
: disable
Override LAN to WAN Access
: disable
Configurable Firewall Filters: ftp bounce attack filter
: enable syn flood attack filter
: enable unaligned ip timestamp filter
: enable source routing attack filter
: enable winnuke attack filter
: enable seq num prediction attack filter
: enable mime flood attack filter
: enable max mime header length
: 8192 max mime headers
: 16
For information on configuring the Firewall options available to the AP-5131 using the applet (GUI), see Configuring Firewall Settings on page 6-25.
Page 361
Command Line Interface Reference 8-113
AP5131>admin(network.firewall)> set Description: Defines the AP-5131 firewall parameters.
Syntax: set mode nat-timeout override syn src win ftp ip seq mime len
<mode> <interval> <mode> <mode> <mode> <mode> <mode> <mode> <mode> filter <length> hdr
<count>
Enables or disables the firewall. Defines the NAT interval. Enables or disables subnet access override. Enables or disables SYN flood attack check. Enables or disables source routing check. Enables or disables Winnuke attack check. Enables or disables FTP bounce attack check. Enables or disables IP unaligned timestamp check. Enables or disables sequence number prediction check. Enables or disables MIME flood attack check. Sets the max header length in bytes as specified by <length> (with value in range 256 - 34464). Sets the max number of headers as specified in <count> (with value in range 12 - 34463).
Example: admin(network.firewall)>set mode enable admin(network.firewall)>set override enable admin(network.firewall)>set ftp enable admin(network.firewall)>set ip enable admin(network.firewall)>set seq enable admin(network.firewall)>set src enable admin(network.firewall)>set syn enable admin(network.firewall)>set win enable admin(network.firewall)>show Firewall Status
: enable
Override LAN to WAN Access
: disable
Configurable Firewall Filters ftp bounce attack filter
: enable syn flood attack filter
: enable unaligned ip timestamp filter
: enable source routing attack filter
: enable winnuke attack filter
: enable seq num prediction attack filter
: enable mime flood attack filter
: enable max mime header length
: 8192 max mime headers
: 16
Page 362
8-114 AP-5131 Access Point Product Reference Guide
AP5131>admin(network.firewall)> access Description: Enables or disables firewall permissions through LAN to WAN ports.
Syntax: show set add delete list .. / save quit
Displays LAN to WAN access rules. Sets LAN to WAN access rules. Adds LAN to WAN exception rules. Deletes LAN to WAN access exception rules. Displays LAN to WAN access exception rules. Goes to parent menu Goes to root menu. Saves configuration to system flash. Quits and exits the CLI session.
Example: admin(network.firewall)>set override disable admin(network.firewall)>access admin(network.firewall.lan-wan-access)>set rule allow admin(network.firewall.lan-wan-access)>list ----------------------------------------------------------------------------index from to name prot start port end port
----------------------------------------------------------------------------1 lan wan
HTTP tcp
80
80
2 lan wan abc udp
0
0
3 lan wan
123456 ah
1440
2048
4 lan wan
654321 tcp
2048
2048
5 lan wan abc ah
100
1000
For information on configuring the Firewall options available to the AP-5131 using the applet (GUI), see Configuring Firewall Settings on page 6-25.
Page 363
Command Line Interface Reference 8-115
AP5131>admin(network.firewall)> advanced Description: Displays whether an AP-5131 firewall rule is intended for inbound traffic to an interface or outbound traffic from that interface..
Syntax: import inbound outbound .. / save quit
Imports rules from LAN to WAN access. Goes to the Inbound Firewall Rules submenu. Goes to the Outbound Firewall Rules submenu. Goes to the parent menu. Goes to the root menu. Saves the configuration to flash memory. Quits and exits the CLI session.
Example: admin(network.firewall)>set override enable admin(network.firewall)>advanced admin(network.firewall.rules)>inbound admin(network.firewall.rules.inb)>list ----------------------------------------------------------------------------Idx
SCR IP-Netmask
Dst IP-Netmask
TP
SPorts
DPorts
Rev
NAT
Action
----------------------------------------------------------------------------1
1.2.3.4
2.2.2.2 all 1:
1:
0.0.0.0
2
255.0.0.0 33.3.0.0
255.0.0.0 10.10.1.1
65535 tcp 1:
65535 1:
nat port 33 11.11.1.0 allow deny
255.255.255.0
255.255.255.0
65535
65535 nat port 0
For information on configuring the Firewall options available to the AP-5131 using the applet (GUI), see Configuring Firewall Settings on page 6-25.
Page 364
8-116 AP-5131 Access Point Product Reference Guide
8.3.5 Network Router Commands AP5131>admin(network.router)> Description: Displays the router submenu. The items available under this command are: add delete list show .. / save quit
Adds user-defined routes. Deletes user-defined routes. Lists user-defined routes. Displays the existing AP-5131 router configuration. Goes to the parent menu. Goes to the root menu. Saves the configuration to system flash. Quits the CLI.
Page 365
Command Line Interface Reference 8-117
AP5131>admin(network.router)> show Description: Shows the AP-5131 route table.
Syntax: show
Shows the AP-5131 route table.
Example: admin(network.router)>show ---------------------------------------------------------------------------index destination netmask gateway interface metric ---------------------------------------------------------------------------1 192.168.2.0 255.255.255.0 0.0.0.0 lan 0 2 192.168.1.0 255.255.255.0 0.0.0.0 lan 0 3 192.168.0.0 255.255.255.0 0.0.0.0 lan 0 4 192.168.24.0 255.255.255.0 0.0.0.0 wan 0 5 157.235.19.5 255.255.255.0 192.168.24.1 wan 0
For information on configuring the Router options available to the AP-5131 using the applet (GUI), see Configuring Router Settings on page 5-47.
Page 366
8-118 AP-5131 Access Point Product Reference Guide
AP5131>admin(network.router)> add Description: Adds user-defined routes.
Syntax: add <dest>
<netmask>
<gw> <iface>
<metric>
Adds a route with destination IP address <dest>, IP netmask <netmask>, destination gateway IP address <gw>, interface LAN or WAN <iface>, and metric set to <metric> (1-15).
Example: admin(network.router)>add 192.168.2.100 255.255.255.0 192.168.2.1 LAN 1 admin(network.router)>list ---------------------------------------------------------------------------index destination netmask gateway interface metric ---------------------------------------------------------------------------1 192.168.2.100 255.255.255.0 192.168.2.1 lan 1
For information on configuring the Router options available to the AP-5131 using the applet (GUI), see Configuring Router Settings on page 5-47.
Page 367
Command Line Interface Reference 8-119
AP5131>admin(network.router)> delete Description: Deletes user-defined routes.
Syntax: delete
<idx> all
Deletes the user-defined route <idx> (1-20) from list. Deletes all user-defined routes.
Example: admin(network.router)>list ---------------------------------------------------------------------------index destination netmask gateway interface metric ---------------------------------------------------------------------------1 192.168.2.0 255.255.255.0 0.0.0.0 lan 0 2 192.168.1.0 255.255.255.0 0.0.0.0 lan 0 3 192.168.0.0 255.255.255.0 0.0.0.0 lan 0 admin(network.router)>delete 2 admin(network.router)>list -----------------------------------------------------------------index destination netmask gateway interface metric -----------------------------------------------------------------1 192.168.2.0 255.255.255.0 0.0.0.0 lan 2 192.168.0.0 255.255.255.0 0.0.0.0 lan
0 0 admin(network.router)>
For information on configuring the Router options available to the AP-5131 using the applet (GUI), see Configuring Router Settings on page 5-47.
Page 368
8-120 AP-5131 Access Point Product Reference Guide
AP5131>admin(network.router)> list Description: Lists user-defined routes.
Syntax: list
Displays a list of user-defined routes.
Example: admin(network.router)>list ---------------------------------------------------------------------------index destination netmask gateway interface metric ---------------------------------------------------------------------------1 192.168.2.0 255.255.255.0 0.0.0.0 lan 0 2 192.168.1.0 255.255.255.0 0.0.0.0 lan 0 3 192.168.0.0 255.255.255.0 0.0.0.0 lan 0
For information on configuring the Router options available to the AP-5131 using the applet (GUI), see Configuring Router Settings on page 5-47.