Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 43 of 76

AP-51xx Access Point Product Reference Guide: CLI Reference, pages 399 to 408

Pages 399 to 408 of 724, from AP-51xx Access Point Product Reference Guide

The original document is the PDF (7.6 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 399

8-41

AP51xx>admin(network.wan)> show Description: Displays the access point 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 Status

: enable

WAN DHCP Client Mode

: enable

IP Address

: 157.235.112.32

Network Mask

: 0.0.0.0

Default Gateway

: 0.0.0.0

Primary DNS Server

: 0.0.0.0

Secondary DNS Server

: 0.0.0.0

Auto-negotiation

: disable

Speed

: 100M

Duplex

: full

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

PPPoE State admin(network.wan)>

For an overview of the WAN configuration options available using the applet (GUI), see Configuring WAN Settings on page 5-16.

Page 400

8-42 AP-51xx Access Point Product Reference Guide

AP51xx>admin(network.wan)> set Description: Defines the configuration of the access point WAN port.

Syntax: set wan dhcp ipadr enable/disable enable/disable <idx>

<a.b.c.d> mask dgw dns

<a.b.c.d> <a.b.c.d> <idx>

<a.b.c.d> autonegotiation speed enable/disable duplex pppoe

<mbps> <mode> mode user passwd ka idle type enable/disable <name> <password> enable/disable <time> <auth-type>

Enables or disables the access point 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 access point WAN interface. Sets the subnet mask for the access point 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 auto-negotiation for the access point WAN port. Defines the access point WAN port speed as either 10 Mbps or 100 Mbps. Defines the access port WAN port duplex as either half or full. Enables or disables PPPoE. Sets PPPoE user name. Defines the PPPoE password. Enables or disables PPPoE keepalive. Sets PPPoE idle time. Sets PPPoE authentication type.

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 auto-negotiation disable admin(network.wan)>set speed 10M admin(network.wan)>set duplex half 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 jk 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 WAN configuration options available using the applet (GUI), see Configuring WAN Settings on page 5-16.

Page 401

8-43

8.3.2.1 Network WAN NAT Commands AP51xx>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 access point’s current NAT parameters for the specified index. Defines the access point 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 NAT configuration options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-21.

Page 402

8-44 AP-51xx Access Point Product Reference Guide

AP51xx>admin(network.wan.nat)> show Description: Displays access point NAT parameters.

Syntax: show

<idx> <cr>

Displays access point NAT parameters for the specified NAT index.

Example: admin(network.wan.nat)>show 2 WAN IP Mode

: enable

WAN IP Address

: 157.235.91.2

NAT Type

: 1-to-many

Inbound Mappings

: Port Forwarding unspecified port forwarding mode

: enable unspecified port fwd. ip address

: 111.223.222.1 one to many nat mapping ------------------------------------------------------------------------------LAN No. WAN IP ------------------------------------------------------------------------------1

157.235.91.2

2

157.235.91.2 admin(network.wan.nat)>

For an overview of the NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-21.

Page 403

8-45

AP51xx>admin(network.wan.nat)> set Description: Sets NAT inbound and outbound parameters.

Syntax: set type

<index>

<type> ip

<index>

<ip> inb

<index> outb

<index>

<ip> <mode> <ip> <from> <to>

Sets the type of NAT translation for WAN address index <idx> (1-8) to <type> (none, 1-to-1, or 1-to-many). Sets NAT IP mapping associated with WAN address <idx> to the specified IP address <ip>. Sets inbound IP address for specified index <index> <ip address> Sets inbound mode for specified index <index> <enable/disable> Sets outbound IP address for specified index <index> <ip address> Sets outbound NAT destination <LAN1 or LAN2> <WAN ip 1-8 or None>.

Example: admin(network.wan.nat)>set type 2 1-to-many admin(network.wan.nat)>set ip 2 10.1.1.1 (this command is used when NAT is 1-to-1) admin(network.wan.nat)>show 2 WAN IP Mode

: enable

WAN IP Address

: 157.235.91.2

NAT Type

: 1-to-many

Inbound Mappings

: Port Forwarding unspecified port forwarding mode

: enable unspecified port fwd. ip address

: 111.223.222.1 one to many nat mapping ------------------------------------------------------------------------------LAN No. WAN IP ------------------------------------------------------------------------------1

157.235.91.2

2

10.1.1.1

For an overview of the NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-21.

Page 404

8-46 AP-51xx Access Point Product Reference Guide

AP51xx>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 NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-21.

Page 405

8-47

AP51xx>admin(network.wan.nat)> delete Description: Deletes NAT entries.

Syntax: delete

<idx> <idx>

<entry> all

Deletes a specified NAT index entry <entry> associated with the WAN. Deletes all NAT entries associated with the WAN.

Example: admin(network.wan.nat)>list 1 ----------------------------------------------------------------------------index name prot start port end port internal ip translation port

----------------------------------------------------------------------------1 special tcp

20

21

192.168.42.16

21 admin(network.wan.nat)>delete 1 1 ^ admin(network.wan.nat)>list 1 ----------------------------------------------------------------------------index name prot start port end port internal ip translation port

-----------------------------------------------------------------------------

Related Commands: add list

Adds entries to the list of inbound NAT entries. Displays the list of inbound NAT entries.

For an overview of the NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-21.

Page 406

8-48 AP-51xx Access Point Product Reference Guide

AP51xx>admin(network.wan.nat)> list Description: Lists access point NAT entries for the specified index.

Syntax: list

<idx>

Lists the inbound NAT entries associated with the WAN index (1-8).

Example: admin(network.wan.nat)>list 1 ----------------------------------------------------------------------------index port name transport start port end port internal ip translation

----------------------------------------------------------------------------1 special tcp

20

21

192.168.42.16

21

Related Commands: 1 delete add

Deletes inbound NAT entries from the list. Adds entries to the list of inbound NAT entries.

For an overview of the NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-21.

Page 407

8-49

8.3.2.2 Network WAN, VPN Commands AP51xx>admin(network.wan.vpn)> Description: Displays the VPN submenu. The items available under this command include: add set delete list reset stats ikestate .. / save quit

Adds VPN tunnel entries. Sets key exchange parameters. Deletes VPN tunnel entries. Lists VPN tunnel entries Resets all VPN tunnels. Lists security association status for the VPN tunnels. Displays an Internet Key Exchange (IKE) summary. Goes to the parent menu. Goes to the root menu. Saves the configuration to system flash. Quits the CLI.

For an overview of the VPN options available using the applet (GUI), see Configuring VPN Tunnels on page 6-36.

Page 408

8-50 AP-51xx Access Point Product Reference Guide

AP51xx>admin(network.wan.vpn)> add Description: Adds a VPN tunnel entry.

Syntax: add <name>

<subnet-idx>

<local WAN IP> <remote subnet>

<remote subnet mask>

<remote gateway>

Creates a tunnel <name> (1 to 13 characters) to gain access through local WAN IP <local WAN IP> from the remote subnet with IP address <remote subnet> and subnet mask <remote subnet mask> using the remote gateway <remote gateway>.

Example: admin(network.wan.vpn)>add 2 SJSharkey 209.235.44.31 206.107.22.46 255.255.255.224 206.107.22.1 If tunnel type is Manual, proper SPI values and Keys must be configured after adding the tunnel admin(network.wan.vpn)>

For information on configuring VPN using the applet (GUI), see Configuring VPN Tunnels on page 6-36.