The text of a manual · part 31 of 49
AP-5131 Access Point Product Reference Guide: Command Line Interface Reference, pages 279 to 288
Pages 279 to 288 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 279
Command Line Interface Reference 8-31
AP5131>admin(network.lan.type-filter)> set Description: Defines the AP-5131 Ethernet Type Filter configuration.
Syntax: set mode allow or deny
Allows or denies the AP-5131 from processing a specified Ethernet data type.
Example: admin(network.lan.type-filter)>set mode allow
For information on configuring the AP-5131’s type filter settings using the applet (GUI), see Setting the Type Filter Configuration on page 5-11.
Page 280
8-32 AP-5131 Access Point Product Reference Guide
AP5131>admin(network.lan.type-filter)> add Description: Adds an Ethernet Type Filter entry.
Syntax: add <type>
Adds entered Ethernet Type to list of data types either allowed or denied AP-5131 processing permissions.
Example: admin(network.lan.type-filter)> admin(network.wireless.type-filter)>add 2 8137 admin(network.wireless.type-filter)>add 3 0806 admin(network.wireless.type-filter)>add 4 0800 admin(network.wireless.type-filter)>add 5 8782 admin(network.wireless.type-filter)>show Ethernet Type Filter mode
: allow
----------------------------------------------------------------------------index ethernet type
----------------------------------------------------------------------------1
8137
2
0806
3
0800
4
8782
For information on configuring the AP-5131’s type filter settings using the applet (GUI), see Setting the Type Filter Configuration on page 5-11.
Page 281
Command Line Interface Reference 8-33
AP5131>admin(network.lan.type-filter)> delete Description: Removes an Ethernet Type Filter entry individually or the entire Type Filter list.
Syntax: delete
<index> all
Deletes the specified Ethernet Type index entry (1 through 16). Deletes all Ethernet Type entries currently in list.
Example: admin(network.lan.type-filter)>delete 1 admin(network.lan.type-filter)>show Ethernet Type Filter mode
: allow
----------------------------------------------------------------------------index ethernet type
----------------------------------------------------------------------------1
0806
2
0800
3
8782 admin(network.lan.type-filter)>delete all admin(network.lan.type-filter)>show Ethernet Type Filter mode
: allow
----------------------------------------------------------------------------index ethernet type
-----------------------------------------------------------------------------
For information on configuring the AP-5131’s type filter settings using the applet (GUI), see Setting the Type Filter Configuration on page 5-11.
Page 282
8-34 AP-5131 Access Point Product Reference Guide
8.3.2 Network WAN Commands AP5131>admin(network.wan)> Description: Displays the WAN submenu. The items available under this command are shown below. show set nat vpn app .. / save quit
Displays the AP-5131 WAN configuration and the AP-5131’s current PPPoE configuration. Defines the AP-5131’s WAN and PPPoE configuration. Displays the NAT submenu, wherein Network Address Translations (NAT) can be defined. Goes to the VPN submenu, where the AP-5131 VPN tunnel configuration can be set. Displays the Outbound Content Filtering submenu, where data types can be included/excluded from AP-5131 throughput. Goes to the parent menu. Goes to the root menu. Saves the current configuration to the AP-5131 system flash. Quits the CLI and exits the current session.
For an overview of the AP-5131’s WAN configuration options using the applet (GUI), see Configuring WAN Settings on page 5-13.
Page 283
Command Line Interface Reference 8-35
AP5131>admin(network.wan)> show Description: Displays the AP-5131 WAN port parameters.
Syntax: show Shows the general IP parameters for the WAN port along with settings for the WAN interface..
Example: admin(network.wan)>show WAN Interface
: enable
WAN DHCP Client Mode
: disable
IP address
: 0.0.0.0
Network Mask
: 0.0.0.0
Default Gateway
: 10.10.1.1
Primary DNS Server
: 0.0.0.0
Secondary DNS Server
: 0.0.0.0
WAN IP 2
: disable
WAN IP 3
: disable
WAN IP 4
: disable
WAN IP 5
: disable
WAN IP 6
: disable
WAN IP 7
: disable
WAN IP 8
: disable
PPPoE Mode
: enable
PPPoE User Name
: JohnDoe
PPPoE Password
: *******
PPPoE keepalive mode
: enable
PPPoE Idle Time
: 600
PPPoE Authentication Type
: chap admin(network.wan)>
For an overview of the AP-5131 WAN configuration options available using the applet (GUI), see Configuring WAN Settings on page 5-13.
Page 284
8-36 AP-5131 Access Point Product Reference Guide
AP5131>admin(network.wan)> set Description: Defines the configuration of the AP-5131 WAN port.
Syntax: set wan dhcp ipadr enable/disable enable/disable <indx>
<a.b.c.d> mask dgw dns
<a.b.c.d> <a.b.c.d> <indx>
<a.b.c.d> pppoe mode enable/disable
Enables or disables the AP-5131 WAN port. Enables or disables WAN DHCP Client mode. Sets up to 8 (using <indx> from 1 to 8) IP addresses <a.b.c.d> for the AP-5131 WAN interface. Sets the subnet mask for the AP-5131 WAN interface. Sets the default gateway IP address to <a.b.c.d>. Sets the IP address of one or two DNS servers, where <indx> indicates either the primary (1) or secondary (2) server, and <a.b.c.d> is the IP address of the server. Enables or disables PPPoE.
Example: admin(network.wan)> admin(network.wan)>set dhcp disable admin(network.wan)>set ipadr 157.169.22.5 admin(network.wan)>set dgw 157.169.22.1 admin(network.wan)>set dns 1 157.169.22.2 admin(network.wan)>set mask 255.255.255.000 admin(network.wan)>set pppoe mode enable admin(network.wan)>set pppoe type chap admin(network.wan)>set pppoe user JohnDoe admin(network.wan)>set pppoe passwd @#$goodpassword%$# admin(network.wan)>set pppoe ka enable admin(network.wan)>set pppoe idle 600
For an overview of the AP-5131 WAN configuration options available using the applet (GUI), see Configuring WAN Settings on page 5-13.
Page 285
Command Line Interface Reference 8-37
8.3.2.1 Network WAN NAT Commands AP5131>admin(network.wan.nat)> Description: Displays the NAT submenu. The items available under this command are shown below. show set add delete list .. / save quit
Displays the AP-5131’s current NAT parameters for the specified index. Defines the AP-5131 NAT settings. Adds NAT entries. Deletes NAT entries. Lists NAT entries. Goes to the parent menu. Goes to the root menu. Saves the configuration to system flash. Quits the CLI.
For an overview of the AP-5131 NAT configuration options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-18.
Page 286
8-38 AP-5131 Access Point Product Reference Guide
AP5131>admin(network.wan.nat)> show Description: Displays AP-5131 NAT parameters.
Syntax: show
<idx>
Displays AP-5131 NAT parameters for the specified NAT index.
Example: admin(network.wan.nat)>show 2 WAN IP Mode
: disable
WAN IP Address
: 157.235.91.2
NAT Type
: 1-to-many
1 to 1 Outbound Mappings
: 0.0.0.0
Inbound Mappings
: Port Forwarding unspecified port forwarding mode
: enable unspecified port fwd. ip address
: 111.223.222.1 admin(network.wan.nat)>
For an overview of the AP-5131 NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-18.
Page 287
Command Line Interface Reference 8-39
AP5131>admin(network.wan.nat)> set Description: Sets NAT inbound and outbound parameters.
Syntax: set type
<index> ip
<index> mode
<index> unspec-ip
<index>
<type>
Sets the type of NAT translation for WAN address index <idx> (1-8) to <type> (none, 1-to-1, or 1-to-many). <ip> Sets NAT IP mapping associated with WAN address <idx> to the specified IP address <ip>. enable/disable Enable or disable the AP-5131’s Unspecified Port Forwarding mode for the designated NAT index. <ip> Forward unspecified ports for the defined NAT index to the defined IP address.
Example: admin(network.wan.nat)>set type 1-to-1 admin(network.wan.nat)>set ip 157.235.91.2 admin(network.wan.nat)>set mode 2 disable admin(network.wan.nat)>set unspec-ip 2 111.223.222.1 admin(network.wan.nat)>show 2 WAN IP Mode
: disable
WAN IP Address
: 157.235.91.2
NAT Type
: 1-to-many
1 to 1 Outbound Mappings
: LAN
Inbound Mappings
: Port Forwarding unspecified port forwarding mode
: disable unspecified port fwd. ip address
: 111.223.222.1
For an overview of the AP-5131 NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-18.
Page 288
8-40 AP-5131 Access Point Product Reference Guide
AP5131>admin(network.wan.nat)> add Description: Adds NAT entries.
Syntax: add
<idx>
<name>
<tran>
<port1>
<port2>
<ip>
<dst_port>
Sets an inbound network address translation (NAT) for WAN address <idx>, where <name> is the name of the entry (1 to 7 characters), <tran> is the transport protocol (one of tcp, udp, icmp, ah, esp, gre, or all), <port1> is the starting port number in a port range, <port2> is the ending port number in a port range, <ip> is the internal IP address, and <dst_port> is the (optional) internal translation port.
Example: admin(network.wan.nat)>add 1 indoors udp 20 29 10.10.2.2 admin(network.wan.nat)>list 1 ----------------------------------------------------------------------------index name prot start port end port internal ip translation port
----------------------------------------------------------------------------1 indoor udp
20
29
10.10.2.2
0
Related Commands: delete list
Deletes one of the inbound NAT entries from the list. Displays the list of inbound NAT entries.
For an overview of the AP-5131 NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-18.