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 62 of 81

WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 573 to 582

Pages 573 to 582 of 728, from WS5000 Series Switch System Reference Guide

The original document is the PDF (12 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 WS-5000

Page 573

CLI Command Reference

8-341

2. Configure the DHCP Server Addres,Default Gateway,DNS Address,WINS Address and Domain name mentioned in the above example using the set command Syntax set <cfg_parameter> <value> Parameters netmask

The IP address of the network mask.

dhcpServer

The IP address of the DHCP server.

dns

The IP address of the DNS server.

defaultGateway

The IP address of the default gateway.

wins

The IP address of Wins.

domainName

Domain name for the IP pool.

nodeType

NETBIOS node type.

reuseTime

Idle timeout to reuse addresses when addresses are exhausted.

Example WS5000.(Cfg).wvpn.ip_pools.[1]> set dhcpServer 192.168.1.2 Configuring pool[1] information.... Status : Success. WVPN IP Pools: Name : TestPool Netmask : 255.255.255.0 DHCP Server Address : 192.168.1.2 Default Gateway : 0.0.0.0 DNS Address : 0.0.0.0 WINS Address : 0.0.0.0 Domain name : NETBIOS Node type : H-node Reuse Address Time : 0 seconds Number of ranges : 1 IP Ranges: 0) 198.162.1.10-198.162.1.20 WS5000.(Cfg).wvpn.ip_pools.[1]>

8.70.5 remove pools Instance This command is used to delete IP pools. Syntax remove pool <pool_name> Parameters pool_name

The name of the IP pool that you want to remove.

Page 574

8-342

WS 5000 Series System Reference

Example WS5000.(Cfg).wvpn.ip_pools> remove pool TestPool Removing pool TestPool.... Status : Success. WVPN IP Pools: DHCP Enabled Use DHCP Gateway

: no : no

Available Pools: 1. Default. WS5000.(Cfg).wvpn.ip_pools>

8.70.6 set pools Instance This command issued to configure WVPN DHCP. Syntax set useDhcpGateway <yes/no> [CR] Enable/disable the DHCP Gateway (Relay) function. Also use "enable/disable" command to enable/disable DHCP Gateway (Relay) functionality. Parameters

None Example WS5000.(Cfg).wvpn.ip_pools> set useDhcpGateway yes Configuring WVPN DHCP .... Status : Success. WVPN IP Pools: DHCP Enabled Use DHCP Gateway

: yes : yes

Available Pools: 1. Default. WS5000.(Cfg).wvpn.ip_pools>

8.70.7 show pools Instance This command is used to display the pool information. Syntax show ip_pools

Display pool information

Page 575

CLI Command Reference

Parameters ip_pools

Displays the pool information.

Example WS5000.(Cfg).wvpn.ip_pools> show ip_pools WVPN IP Pools: DHCP Enabled Use DHCP Gateway

: yes : yes

Available Pools: 1. Default. WS5000.(Cfg).wvpn.ip_pools>

8-343

Page 576

8-344

WS 5000 Series System Reference

8.71 rt Instance Context This context is an instance of WVPN context and is used to view the VPN runtime session information. Table 8.76 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands Table 8.76 rt Instance Command Summary Command

Description

Ref.

.. or end

Terminate a current session and moves up a context, hierarchically.

page 8-7 exit

Terminate a current session and returns to the “root” prompt.

page 8-7

? or help

Get the command information.

page 8-7 logout or bye

Close this session.

page 8-8 clear

Clear the screen.

page 8-8

Kill

Kill VPN sessions page 8-344

Show

Display context specific attributes page 8-345

8.71.1 Kill

Instance This command is used to kill VPN sessions. Syntax kill<session_id> Parameters

Session_id

It can be either one of the below three: • nn - The VPN session number. • ipaddr - The VPN session IP address (trusted/untrusted). • macaddr - The VPN session MAC address.

Example WS5000.(Cfg).wvpn.rt> kill 1 Session 1: VPN Assigned IP: Real Client IP: MAC Address: User Class: Logged in at: Last roamed at: Last activity at: Session ID:

192.168.1.15 10.1.1.50 00:40:96:a8:4e:38 Mon Mar 6 20:09:51 2006 Mon Mar 6 20:09:51 2006 Mon Mar 6 20:22:22 2006 0x21000005

Really KILL this VPN session ? (Yes/No) yes Killing session 1... Succeeded - Session 1 was killed

Page 577

CLI Command Reference

8-345

WS5000.(Cfg).wvpn.rt>

8.71.2 Show

Instance This command is used to view the VPN session and VPN runtime details. Syntax Syntax: show [display_parameter] show show session show sessions

Display context specific attributes Display VPN session details. Display VPN runtime summary.

Parameters session

Displays VPN session details. Provide one of the three values wile using this parameter: • n - The session number. (show session n) • ipaddr - The IP address of the session. (show session ipaddr) • macaddr - The MAC address of the session. (show session mac)

sessions

Displays VPN runtime summary.

Example WS5000.(Cfg).wvpn.rt> show 1 VPN sessions '*' indicates inactive VPN tunnel. Session ------1

VPN IP --------------192.168.1.15

Real IP --------------10.1.1.50

MAC Addr ----------------00:40:96:a8:4e:38

WS5000.(Cfg).wvpn.rt>

WS5000.(Cfg).wvpn.rt> show session 1 Session 1: VPN Assigned IP : 192.168.1.15 Real Client IP : 10.1.1.50 MAC Address : 00:40:96:a8:4e:38 User Class : Current Time : Mon Mar 6 20:24:11 2006 Logged in at : Mon Mar 6 20:09:51 2006 Last roamed at : Mon Mar 6 20:09:51 2006 Last activity at : Mon Mar 6 20:22:22 2006 Session ID : 0x21000005 Tunnel Status : Active WS5000.(Cfg).wvpn.rt>

User Class ---------------

Page 578

8-346

WS 5000 Series System Reference

WS5000.(Cfg).wvpn.rt> show sessions 1 VPN sessions '*' indicates inactive VPN tunnel. Session ------1

VPN IP --------------192.168.1.15

WS5000.(Cfg).wvpn.rt>

Real IP --------------10.1.1.50

MAC Addr ----------------00:40:96:a8:4e:38

User Class ---------------

Page 579

CLI Command Reference

8-347

8.72 wtls Instance Context This context is an instance of WVPN context and is used to configure the DDNS settings. Table 8.75 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands Table 8.77 ip_pools Instance Command Summary Command

Description

Ref.

.. or end

Terminate a current session and moves up a context, hierarchically.

page 8-7 exit

Terminate a current session and returns to the “root” prompt.

page 8-7

? or help

Get the command information.

page 8-7 logout or bye

Close this session.

page 8-8 clear

Clear the screen.

page 8-8 set

Configure WTLS attributes page 8-347 show

Display context specific attributes.

page 8-348

8.72.1 set

Instance This command is used to configure the security attributes. Syntax set <cfg_parameter> <value> Parameters customCipher

Set a custom cipher.

customMac

Set a custom MAC.

handshakeTimeout

Handshake timeout in seconds.

maxClientKey

Maximum length RSA key for client.

minClientKey

Minimum length RSA key for client.

maxRsaKey

Maximum RSA key.

minRsaKey

Minimum RSA key.

requireClientCert

Set whether client certificates are required.

keyRefresh

Key refresh- specified as 2 to the power of N packets.

securityMode

Set security mode.

serverNumber

Set server number.

Page 580

8-348

WS 5000 Series System Reference

Example WS5000.(Cfg).wvpn.wtls> set customCipher AES256 Configuring WTLS.... Status : Success. WTLS Settings: Server number: Security mode: Wanted FIPS mode: Cipher: MAC: Minimum client RSA key size: Maximum client RSA key size: Minimum RSA key size: Maximum RSA key size: Handshake timeout: Require client certificates: Key refresh:

: 1 : customSecurity : Unavailable : AES256 : SHA_160 : 1024 bits : 4096 bits : 1024 bits : 3072 bits : 0h 1m( 90 secs) : false : 256 packets

WS5000.(Cfg).wvpn.wtls> WS5000.(Cfg).wvpn.wtls> set customMAC MD5_128 Configuring WTLS.... Status : Success. WTLS Settings: Server number: Security mode: Wanted FIPS mode: Cipher: MAC: Minimum client RSA key size: Maximum client RSA key size: Minimum RSA key size: Maximum RSA key size: Handshake timeout: Require client certificates: Key refresh:

: 1 : customSecurity : Unavailable : AES256 : MD5_128 : 1024 bits : 4096 bits : 1024 bits : 3072 bits : 0h 1m( 90 secs) : false : 256 packets

WS5000.(Cfg).wvpn.wtls>

8.72.2 show

Instance This command issued to view the WTLS general settings. Syntax show show wtls Parameters wtls

Displays WTLS general setting.

Page 581

CLI Command Reference

Example WS5000.(Cfg).wvpn.wtls> show wtls WTLS Settings: Server number: Security mode: Wanted FIPS mode: Cipher: MAC: Minimum client RSA key size: Maximum client RSA key size: Minimum RSA key size: Maximum RSA key size: Handshake timeout: Require client certificates: Key refresh: WS5000.(Cfg).wvpn.wtls>

: 1 : defaultSecurity : Unavailable : AES128 : SHA_160 : 1024 bits : 4096 bits : 1024 bits : 3072 bits : 0h 1m( 90 secs) : false : 256 packets

8-349

Page 582

8-350

WS 5000 Series System Reference