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 32 of 49

AP-5131 Access Point Product Reference Guide: Command Line Interface Reference, pages 289 to 298

Pages 289 to 298 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 289

Command Line Interface Reference 8-41

AP5131>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 all ^ 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 AP-5131 NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT) Settings on page 5-18.

Page 290

8-42 AP-5131 Access Point Product Reference Guide

AP5131>admin(network.wan.nat)> list Description: Lists AP-5131 NAT entries for the specified index.

Syntax: list

<idx>

Lists the inbound NAT entries associated with WAN port.

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

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

Page 291

Command Line Interface Reference 8-43

8.3.2.2 Network WAN, VLAN Commands AP5131>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 AP-5131 VPN options available using the applet (GUI), see Configuring VPN Tunnels on page 6-33.

Page 292

8-44 AP-5131 Access Point Product Reference Guide

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

Syntax: add <name>

<LWanIP>

<RSubnetIP>

<RSubnetMask

<RGatewayIP>

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

Example: admin(network.wan.vpn)>add 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)>list ----------------------------------------------------------------------------Tunnel Name

Type

Remote IP/Mask

Remote Gateway

Local WAN IP

----------------------------------------------------------------------------Eng2EngAnnex

Manual

192.168.32.2/24

192.168.33.1

192.168.24.198

SJSharkey

Manual

206.107.22.46/27

255.255.255.224 209.235.44.31 admin(network.wan.vpn)>

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

Page 293

Command Line Interface Reference 8-45

AP5131>admin(network.wan.vpn)> set Description: Sets VPN entry parameters.

Syntax: set type

<name>

<tunnel type>

Sets the tunnel type <name> to Auto or Manual for the specified tunnel name.

authalgo

<name>

<authalgo>

Sets the authentication algorithm for <name> to (None, MD5, or SHA1).

authkey

<name>

<dir> <authkey>

Sets the AH authentication key (if type is Manual) for tunnel <name> with the direction set to IN or OUT, and the manual authentication key set to <authkey>. (The key size is 32 hex characters for MD5, and 40 hex characters for SHA1).

esp-type

<name>

<esptype>

Sets the Encapsulating Security Payload (ESP) type. Options include None, ESP, or ESP-AUTH.

esp-encalgo <name>

<escalgo>

Sets the ESP encryption algorithm. Options include DES, 3DES, AES128, AES192, or AES256).

esp-enckey <name>

<dir> <enckey>

Sets the Manual Encryption Key in ASCII for tunnel <name> and direction IN or OUT to the key <esckey>. The size of the key depends on the encryption algorithm. - 16 hex characters for DES - 48 hex characters for 3DES - 32 hex characters for AES128 - 48 hex characters for AES192 - 64 hex characters for AES256 esp-authalgo <name>

<authalgo>

Sets the ESP authentication algorithm. Options include MD5 or SHA1.

esp-authkey <name>

<dir> <authkey>

Sets ESP Authentication key <name> either for IN or OUT direction to <auth-key>, an ASCII string of hex characters. If authalgo is set to MD5, the provide 32 hex characters. If authalgo is set to SHA1, provide 40 hex characters.

spi

<name>

<algo> <dir> usepfs

<name>

<mode>

<value>

Sets IN(bound) or OUT(bound) for AUTH (Manual Authentication) or ESP for <name> to <spi> (a hex value more than 0xFF) <value>. Enables or disables Perfect Forward Secrecy for <name>.

Page 294

8-46 AP-5131 Access Point Product Reference Guide salife

<name>

<lifetime>

Defines the name of the tunnnel <name> the Security Association Life Time <300-65535> applies to in seconds.

ike opmode

<name>

<opmode>

Sets the Operation Mode of IKE for <name> to Main or Aggr(essive).

myidtype

<name>

<idtype>

Sets the Local ID type for IKE authentication for <name> (1 to 13 characters) to <idtype> (IP, FQDN, or UFQDN).

remidtype

<name>

<idtype>

Sets the Remote ID type for IKE authentication for <name> (1 to 13 characters) to <idtype> (IP, FQDN, or UFQDN).

myiddata

<name>

<idtype>

Sets the Local ID data for IKE authentication for <name> to <idtype>. This value is not required when the ID type is set to IP.

remiddata

<name>

<idtype>

Sets the Local ID data for IKE authentication for <name> to <idtype>. This value is not required when the ID type is set to IP.

authtype

<name>

<authtype>

Sets the IKE Authentication type for <name> to <authtype> (one of PSK, RSA, or DSS).

authalgo

<name>

<authalgo>

Sets the IKE Authentication Algorithm for <name> to MD5 or SHA1.

phrase

<name>

<phrase>

Sets the IKE Authentication passphrase for <name> to <phrase>.

encalgo

<name>

<encalgo>

Sets the IKE Encryption Algorithm for <name> to <encalgo> (one of DES, 3DES, AES128, AES192, or AES256).

lifetime

<name>

<lifetime>

Sets the IKE Key life time in seconds for <name> to <lifetime>.

group

<name>

<group>

Sets the IKE Diffie-Hellman Group for <name> to either G768 or G1024.

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

Page 295

Command Line Interface Reference 8-47

AP5131>admin(network.wan.vpn)> delete Description: Deletes VPN tunnel entries.

Syntax: delete

* <name>

Deletes all VPN entries. Deletes VPN entries <name>.

Example: admin(network.wan.vpn)>list -------------------------------------------------------------------------Tunnel Name

Type

Remote IP/Mask

Remote Gateway

Local WAN IP

-------------------------------------------------------------------------Eng2EngAnnex

Manual

192.168.32.2/24

192.168.33.1

192.168.24.198

SJSharkey

Manual

206.107.22.45/27

206.107.22.2

209.235.12.55 admin(network.wan.vpn)>delete Eng2EngAnnex admin(network.wan.vpn)>list -------------------------------------------------------------------------Tunnel Name

Type

Remote IP/Mask

Remote Gateway

Local WAN IP

-------------------------------------------------------------------------SJSharkey

Manual

206.107.22.45/27

206.107.22.2

209.235.12.55 admin(network.wan.vpn)>

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

Page 296

8-48 AP-5131 Access Point Product Reference Guide

AP5131>admin(network.wan.vpn)> list Description: Lists VPN tunnel entries.

Syntax: list

<cr> <name>

Lists all tunnel entries. Lists detailed information about tunnel named <name>. Note that the <name> must match case with the name of the VPN tunnel entry

Example: admin(network.wan.vpn)>list -------------------------------------------------------------------------Tunnel Name

Type

Remote IP/Mask

Remote Gateway

Local WAN IP

-------------------------------------------------------------------------Eng2EngAnnex

Manual

192.168.32.2/24

192.168.33.1

192.168.24.198

SJSharkey

Manual

206.107.22.45/27

206.107.22.2

209.235.12.55 admin(network.wan.vpn)>list SJSharkey -------------------------------------------------------------------------Detail listing of VPN entry: -------------------------------------------------------------------------Name

: SJSharkey

Local Subnet

: 1

Tunnel Type

: Manual

Remote IP

: 206.107.22.45

Remote IP Mask

: 255.255.255.224

Remote Security Gateway

: 206.107.22.2

Local Security Gateway

: 209.239.160.55

AH Algorithm

: None

Encryption Type

: ESP

Encryption Algorithm

: DES

ESP Inbound SPI

: 0x00000100

ESP Outbound SPI

: 0x00000100

For information on displaying VPN information using the applet (GUI), see Viewing VPN Status on page 6-46.

Page 297

Command Line Interface Reference 8-49

AP5131>admin(network.wan.vpn)> reset Description: Resets all of the AP-5131’s VPN tunnels.

Syntax: reset

Resets all VPN tunnels.

Example: admin(network.wan.vpn)>reset VPN tunnels reset. admin(network.wan.vpn)>

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

Page 298

8-50 AP-5131 Access Point Product Reference Guide

AP5131>admin(network.wan.vpn)> stats Description: Lists statistics for all active tunnels.

Syntax: stats

Display statistics for all VPN tunnels.

Example: admin(network.wan.vpn)>stats ----------------------------------------------------------------------------Tunnel Name

Status

SPI(OUT/IN)

Life Time

Bytes(Tx/Rx)

----------------------------------------------------------------------------Eng2EngAnnex

Not Active

SJSharkey

Not Active

For information on displaying VPN information using the applet (GUI), see Viewing VPN Status on page 6-46.