The text of a manual · part 60 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 553 to 562
Pages 553 to 562 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 553
CLI Command Reference
8-321
Index Serial Number Issuer Keylen Valid -----------------------------------------------------------------1 1434020001 OU=CA ; O=Symbo 1024 5Apr2005 to 6Apr2010 Index Serial Number Issuer Keylen Valid -----------------------------------------------------------------1 ServerCert OU=CA ; O=Symbo 1024 5Apr2005 to 6Apr2010 WS5000.(Cfg).wvpn.cert>
8.67.3 ddns
Context This command is used to configure DDNS settings.This command changes the context to ddns. For details of cert context see ddns Instance on page 8-332 Syntax ddns Parameters
None Example WS5000.(Cfg).wvpn> ddns DDNS Settings: DNS Enable Time to Live (ttl) Cleanup Timeout Forward Zone Reverse Zones DNS Servers
: true : 50% : 5 : forward.update.net : 1. 1.168.192.in-addr.arpa. : 1. 192.168.1.1
WS5000.(Cfg).wvpn.ddns>
8.67.4 directory
Context This comand is used to display the uploaded WVPN files from local repository. Syntax dir Parameters
None Example WS5000.(Cfg).wvpn> dir total 1 -rw-r--r-1 nobody WS5000.(Cfg).wvpn> root
429 Jan 18 13:55 CA_WVPN.cer
Page 554
8-322
WS 5000 Series System Reference
8.67.5 disable
Context This command is used to disable the interface/service in CC. Syntax disable Parameters
None Example WS5000.(Cfg).wvpn> disable Disabling... Status : Success. WVPN Management: WVPN available WVPN Status WVPN Server Address WVPN Server Port WVPN Unused session timeout WVPN Debug level WVPN DOS Support WVPN DOS Port WVPN Client keep alive WVPN Maximum VPN Licenses WVPN Currently In-Use VPN Licenses WVPN License Type 30,Eval days left 30
: true : Stopped : 10.1.1.101 / 192.192.4.156 : 9102 : 48h 0m (172800 secs) : Debug Info Disabled : no : 9103 : 10 seconds : 250 : 0 : Evaluation version,Total eval days
WS5000.(Cfg).wvpn>
8.67.6 enable
Context This command is used to enable the interface/service. Syntax enable Parameters
None Example WS5000.(Cfg).wvpn> enable Enabling... Status : Success. WVPN Management: WVPN available WVPN Status WVPN Server Address WVPN Server Port WVPN Unused session timeout WVPN Debug level WVPN DOS Support
: true : Started : 10.1.1.101 / 192.192.4.156 : 9102 : 48h 0m (172800 secs) : Debug Info Disabled : no
Page 555
CLI Command Reference
WVPN DOS Port WVPN Client keep alive WVPN Maximum VPN Licenses WVPN Currently In-Use VPN Licenses WVPN License Type 30,Eval days left 30
8-323
: 9103 : 10 seconds : 250 : 0 : Evaluation version,Total eval days
WS5000.(Cfg).wvpn>
8.67.7 ip_pools
Context This command is used to configure ip pools.This command changes the context to ip_pools. For details of cert context see 8.70 ip pools Instance on page 338 Syntax ip_pools [pool_name] Parameters pool_name
The ip pool that you wish to configure for the WVPN.
Example WS5000.(Cfg).wvpn> ip WVPN IP Pools: DHCP Enabled Use DHCP Gateway
: no : no
Available Pools: 1. Default. WS5000.(Cfg).wvpn.ip_pools>
8.67.8 rt
Context This command is used to see VPN runtime session info. This command changes the context to rt. For details of cert context see 8.71 rt Instance on page 344 Syntax rt Parameters
None Example WS5000.(Cfg).wvpn> rt 1 VPN sessions '*' indicates inactive VPN tunnel. Session ------1
VPN IP --------------192.168.1.100
WS5000.(Cfg).wvpn.rt>
Real IP --------------10.1.1.60
MAC Addr ----------------00:a0:f8:65:f5:81
User Class ---------------
Page 556
8-324
WS 5000 Series System Reference
8.67.9 set
Context This command is used to configure WVPN Management attributes. Syntax set <parameter> <value> Parameters restart
Restart WVPN.
licensefile
Installs/upgrades WVPN session license file.
debug
Enable WVPN debug support.
sport
Sets IP port number to listen on for client VPN requests.
session_timeout
Unused session timeout (seconds).
dosSupport
Enable DOS support - enables use of Reliable UDP.
dosPort
Reliable UDP port.
clientKeepAlive
Reliable UDP keep alive time (seconds).
Example WS5000.(Cfg).wvpn> set session_timeout 150 Configuring WVPN .... Status : Success. WVPN Management: WVPN available WVPN Status WVPN Server Address WVPN Server Port WVPN Unused session timeout WVPN Debug level WVPN DOS Support WVPN DOS Port WVPN Client keep alive WVPN Maximum VPN Licenses WVPN Currently In-Use VPN Licenses WVPN License Type 30,Eval days left 30
: true : Started : 10.1.1.101 / 192.192.4.156 : 9102 : 0h 2m (150 secs) : Debug Info Disabled : no : 9103 : 10 seconds : 250 : 0 : Evaluation version,Total eval days
WS5000.(Cfg).wvpn>
8.67.10 show
Context This command displays the details about the WVPN specific attributes like, Auth general settings, installed certificates, DDNS settings, pool information, VPN session details, VPN runtime summary, WTLS general settings and WVPN general settings.
Page 557
CLI Command Reference
Syntax show show auth show certs show ddns show ip_pools show session show sessions show wtls show wvpn Parameters auth
Display Auth general settings.
certs
Display installed certificates.
ddns
Display DDNS settings.
ip_pools
Display pool information.
session
Display VPN session details.
sessions
Display VPN runtime summary.
wtls
Display WTLS general settings.
wvpn
Display WVPN general settings.
Example WS5000.(Cfg).wvpn> show auth Authentication Management: Simple authentication: Simple user name: Simple password: Simple domain: RADIUS authentication: Primary Host: Primary Port: Primary Retry: Primary Timeout: Primary User Password: Primary Secret: Secondary Host: Secondary Port: Secondary Retry: Secondary Timeout: Secondary User Password: Secondary Secret: LDAP authentication: Local database authentication: WS5000.(Cfg).wvpn>
: Enabled : : ****** : : Disabled : Unset : 1645 : 2 : 5 ms : Unset : Unset : Unset : 1645 : 2 : 5 ms : Unset : Unset : Unavailable : Unavailable
8-325
Page 558
8-326
WS 5000 Series System Reference
8.67.11 wtls
Context This command is used to configure system WTLS settings.This command changes the context to wtls. For details of cert context see 8.72 wtls Instance on page 347 Syntax wtls Parameters
None Example WS5000.(Cfg).wvpn> 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 : 4096 bits : 0h 1m( 90 secs) : false : 256 packets
Page 559
CLI Command Reference
8-327
8.68 cert Instance Context This context is an instance of WVPN context.Table 8.73 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.73 cert 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 directory
Display the uploaded WVPN files from local repository.
page 8-327 dump cert
Dump contents of specified certificate file.
page 8-328 import
Import Certificates from local repository.
page 8-328 purge
Deletes a certificate file from the local repository.
page 8-329 remove
Remove installed Certificates.
page 8-329 show
Display installed certificate attributes.
page 8-330 tftpImport
Download & Import Certificates from remote location.
page 8-330
8.68.1 directory
Instance Display the uploaded WVPN files from local repository. Syntax directory Parameters
None Example WS5000.(Cfg).wvpn.cert> dir total 1 -rw-r--r-1 nobody root WS5000.(Cfg).wvpn.cert>
429 Jan 18 13:55 CA_WVPN.cer
Page 560
8-328
WS 5000 Series System Reference
8.68.2 dump cert
Instance This is used to view the contents of the certificate. Syntax dump cert <value> Parameters value
The certificate filename that you want to view.
Example WS5000.(Cfg).wvpn.cert> dump cert CA_WVPN.cer Certificate Information: Serial number: 1434020001 Issuer: OU=CA ; O=Symbol India - WID; C=IN; CN=WS5000; E=balasubk@symbol.com; SN =1434020001 Subject: OU=CA ; O=Symbol India - WID; C=IN; CN=WS5000; E=balasubk@symbol.com; S N=1434020001 Valid From: 20050405183000Z Valid To: 20100406182959Z Key length: 1024 WS5000.(Cfg).wvpn.cert>
8.68.3 import
Instance This command is used to install certificates. Syntax import caCert <caCertFile> import serverCert <serverPkcs12KeyFile> <passwd> [<serverCertFile>] Parameters caCert
Used to install a CA certificate file.
CaCertFile
The CA certificate file that you want import and install.
serverCert
Used to install a server certificate file.
serverPkcs12KeyFile
Pkcs12 format of server certificate file.
passwd password to decrypt the Pkcs12 format server certificate file (*.pl2 file).
serverCertFile
The server certificate file (*.cer file) that you want to import.
Example WS5000.(Cfg).wvpn.cert> import ca /image/CA_WVPN.cer Importing Certificate .... Status : Success.
Page 561
CLI Command Reference
Certificate Management: Index Serial Number Issuer Keylen Valid -----------------------------------------------------------------1 1434020001 OU=CA ; O=Symbo 1024 5Apr2005 to 6Apr2010 Index Serial Number Issuer Keylen Valid -----------------------------------------------------------------1 ServerCert OU=CA ; O=Symbo 1024 5Apr2005 to 6Apr2010 WS5000.(Cfg).wvpn.cert>
8.68.4 purge
Instance This command is used to delete a certificate file from the local repository. Syntax purge <file_name> Parameters filename
The name of the certificate file that you want to purge or delete.
Example WS5000.(Cfg).wvpn.cert> purge CA_WVPN.cer Purging CA_WVPN.cer... done. WS5000.(Cfg).wvpn.cert>
8.68.5 remove
Instance This command is used to remove installed certificates. Syntax remove <cert_type> [<index>] remove caCert <index> removes CA Certificate (index required) remove serverCert removes Server Certificate (no index used) Parameters cert_type
This can be either of the below two: • caCert - Removes CA certificate. You need to pass index as value. • serverCert - Removes server certificate. You do not need to pass a value.
index
Pass a index value if the cert_type is caCert.
Example WS5000.(Cfg).wvpn.cert> remove ca 1 Removing Certificate 1... Status : Success.
8-329
Page 562
8-330
WS 5000 Series System Reference
Certificate Management: Index Serial Number Issuer Keylen Valid -----------------------------------------------------------------1 ServerCert OU=CA ; O=Symbo 1024 5Apr2005 to 6Apr2010 WS5000.(Cfg).wvpn.cert>
8.68.6 show
Instance This command is used to view all the installed certificates information. Syntax show certs show [index] show server to see all installed certificates. to see a installed CA certificate. to see the installed server certificate.
Parameters index
Optional, this is used to see a installed CA certificate.
server
This is used to see the installed server certificate.
Example WS5000.(Cfg).wvpn.cert> show Certificate Management: Index Serial Number Issuer Keylen Valid -----------------------------------------------------------------1 1434020001 OU=CA ; O=Symbo 1024 5Apr2005 to 6Apr2010 Index Serial Number Issuer Keylen Valid -----------------------------------------------------------------1 ServerCert OU=CA ; O=Symbo 1024 5Apr2005 to 6Apr2010 WS5000.(Cfg).wvpn.cert>
8.68.7 tftpImport
Instance This command is used to download and import certificates from remote location. Syntax tftpImport caCert <ipAddr> <caCertFile> tftpImport serverCert <ipAddr> <serverPkcs12KeyFile> <passwd> [<serverCertFile>] Parameters caCert
Used to install a CA certificate file.
ipAdd
IP address of the tftp server from where the CA certificate needs to be downloaded.
aCertFile
The CA certificate file that you want to import/download.
serverCert
Used to install a server certificate file.