The text of a manual · part 61 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 563 to 572
Pages 563 to 572 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 563
CLI Command Reference
8-331 ipAddr
IP address of the tftp server from where the CA certificate needs to be downloaded.
serverPkcs12keyFile
Pkcs12 format of server certificate file.
passwd password to decrypt the Pkcs12 format server certificate file (*.pl2 file).
serverCertFile
The server certificate file that you want to download/import.
Example WS5000.(Cfg).wvpn.cert> tftpI CA 192.168.1.1 CA_WVPN.cer Downloading and Importing Certificate CA_WVPN.cer... Status : Success. 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>
Page 564
8-332
WS 5000 Series System Reference
8.69 ddns Instance Context This context is an instance of WVPN context and is used to configure the DDNS settings. Table 8.73 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands Table 8.74 ddns 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 add
Add DNS Server attributes.
page 8-332 clearClientDns
Clear client DNS table.
page 8-333 disable
Disable DDNS.
page 8-334 enable
Enable DDNS.
page 8-334 remove
Delete DNS Server attributes.
page 8-335 set
Configure DDNS attributes page 8-336 show
Display context specific attributes page 8-336 updateClientDns
Update client DNS table.
page 8-337
8.69.1 add
Instance This command is used to add DNS Server attributes. Syntax add <add_parameter> <value> Parameters add_parameter
This can be either of the two: • dnsServerAddr - This command adds a DNS server IP address to the existing list of addresses. • dnsReverseZone - This command adds a DNS reverse zone.
value
Takes IP address of DNS server to be added as the value.
Example WS5000.(Cfg).wvpn.ddns> add dnsServerAddr 192.168.1.3
Page 565
CLI Command Reference
Adding dynamicDnsSettings.addDnsAddr.... Status : Success. 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 2. 192.168.1.3
WS5000.(Cfg).wvpn.ddns> add dnsReverseZone 2.168.192.in-addr.arpa Adding dynamicDnsSettings.addReverseZone.... Status : Success. DDNS Settings: DNS Enable : true Time to Live (ttl) : 50% Cleanup Timeout : 5 Forward Zone : forward.update.net Reverse Zones : 1. 1.168.192.in-addr.arpa. 2. 2.168.192.in-addr.arpa. DNS Servers : 1. 192.168.1.1 2. 192.168.1.3 WS5000.(Cfg).wvpn.ddns>
8.69.2 clearClientDns
Instance Use clearClientDns to clear client DNS table at DNS server. Syntax clearClientDns Parameters
None Example WS5000.(Cfg).wvpn.ddns> clearClientDns Sending clear command to DNS serversdynamicDnsSettings.clearClientDns.... Status : Success. DDNS Settings: DNS Enable : true Time to Live (ttl) : 50% Cleanup Timeout : 5 Forward Zone : forward.update.net Reverse Zones : 1. 1.168.192.in-addr.arpa.
8-333
Page 566
8-334
WS 5000 Series System Reference
2. 2.168.192.in-addr.arpa. DNS Servers : 1. 192.168.1.1 2. 192.168.1.3 WS5000.(Cfg).wvpn.ddns>
8.69.3 disable
Instance This command disables the DDNS. Syntax disable Parameters
None Example WS5000.(Cfg).wvpn.ddns> disable Disabling DDNS dynamicDnsSettings.update.... Status : Success. DDNS Settings: DNS Enable : false Time to Live (ttl) : 50% Cleanup Timeout : 5 Forward Zone : forward.update.net Reverse Zones : 1. 1.168.192.in-addr.arpa. 2. 2.168.192.in-addr.arpa. DNS Servers : 1. 192.168.1.1 2. 192.168.1.3 WS5000.(Cfg).wvpn.ddns>
8.69.4 enable
Instance Enable DDNS. Syntax enable Parameters none Example WS5000.(Cfg).wvpn.ddns> enable Disabling DDNS dynamicDnsSettings.update.... Status : Success. DDNS Settings:
Page 567
CLI Command Reference
8-335
DNS Enable : true Time to Live (ttl) : 50% Cleanup Timeout : 5 Forward Zone : forward.update.net Reverse Zones : 1. 1.168.192.in-addr.arpa. 2. 2.168.192.in-addr.arpa. DNS Servers : 1. 192.168.1.1 2. 192.168.1.3 WS5000.(Cfg).wvpn.ddns>
8.69.5 remove
Instance Use remove to remove DNS specific attributes. Syntax remove <rem_parameter> <value> rem_parameter: dnsServerAddr This command removes a DNS Server IP Address from existing list of addresses. Takes IP Address of DNS Server to be removed as the value. dnsReverseZone This command removes a DNS reverse zone. Parameters rem_parameter
This can be either of the two: • dnsServerAddr - This command removes the DNS server IP address to the existing list of addresses. • dnsReverseZone - This command removes the DNS reverse zone.
value
Takes IP address of DNS server to be removed as the value.
Example WS5000.(Cfg).wvpn.ddns> remove dnsServerAddr 192.168.1.3 Removing dynamicDnsSettings.deleteDnsAddr.... Status : Success. DDNS Settings: DNS Enable : false Time to Live (ttl) : 50% Cleanup Timeout : 5 Forward Zone : forward.update.net Reverse Zones : 1. 1.168.192.in-addr.arpa. 2. 2.168.192.in-addr.arpa. DNS Servers : 1. 192.168.1.1 WS5000.(Cfg).wvpn.ddns>
Page 568
8-336
WS 5000 Series System Reference
8.69.6 set
Instance This command is used to configure DDNS management attributes. Syntax set <cfg_parameter> <value> Parameters ttl
Time-To-Live.A long value indicating ttl as a percentage of unused session timeout (0-100).
forwardZone
Text string containing the forward zone to be updated.
cleanupTimeout
Duration of cleanup timeout (currently locked at 5).
value
A long value indicating ttl as a percentage of unused session timeout (0-100).
Example WS5000.(Cfg).wvpn.ddns> set ttl 39 Configuring DDNS dynamicDnsSettings.ttl.... Status : Success. DDNS Settings: DNS Enable : false Time to Live (ttl) : 39% Cleanup Timeout : 5 Forward Zone : forward.update.net Reverse Zones : 1. 1.168.192.in-addr.arpa. 2. 2.168.192.in-addr.arpa. DNS Servers : 1. 192.168.1.1 WS5000.(Cfg).wvpn.ddns>
8.69.7 show
Instance This command is used to view the DDNS setting. Syntax show show ddns Parameters ddns
This is used to display the DDNS settings.
Example WS5000.(Cfg).wvpn.ddns> show ddns DDNS Settings:
Page 569
CLI Command Reference
DNS Enable : true Time to Live (ttl) : 39% Cleanup Timeout : 5 Forward Zone : forward.update.net Reverse Zones : 1. 1.168.192.in-addr.arpa. 2. 2.168.192.in-addr.arpa. DNS Servers : 1. 192.168.1.1 WS5000.(Cfg).wvpn.ddns>
8.69.8 updateClientDns
Instance This command is used to update client DNS table. Syntax updateClientDns Parameters
None Example WS5000.(Cfg).wvpn.ddns> updateClientDns Sending update command to DNS serversdynamicDnsSettings.updateClientDns.... Status : Success. DDNS Settings: DNS Enable : true Time to Live (ttl) : 39% Cleanup Timeout : 5 Forward Zone : forward.update.net Reverse Zones : 1. 1.168.192.in-addr.arpa. 2. 2.168.192.in-addr.arpa. DNS Servers : 1. 192.168.1.1 WS5000.(Cfg).wvpn.ddns>
8-337
Page 570
8-338
WS 5000 Series System Reference
8.70 ip pools 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.75 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 add
Add IP Address pools.
page 8-338 disable
Disable DHCP WVPN Service.
page 8-339 enable
Enable DHCP WVPN Service.
page 8-339 ip_pools
Select a Pool to configure.
page 8-340 remove
Remove IP Address pool.
page 8-341 set
Configure WVPN DHCP.
page 8-342 show
Display context specific attributes.
page 8-342
8.70.1 add pools Instance This command is used to add IP Address pools. Syntax add pool <pool_name> <begin IP> <end IP> Parameters pool_name
The name of the IP pool that you want to add.
begin IP
The starting/first IP address of the IP pool.
end IP
The last/closing IP address of the IP pool.
Example WS5000.(Cfg).wvpn.ip_pools> add pool TestPool 192.168.1.10 192.168.1.20 Adding .... Status : Success. WVPN IP Pools:
Page 571
CLI Command Reference
DHCP Enabled Use DHCP Gateway
: no : no
Available Pools: 1. Default. 2. TestPool. WS5000.(Cfg).wvpn.ip_pools>
8.70.2 disable pools Instance This command disable DHCP WVPN service. Syntax disable Parameters
None Example WS5000.(Cfg).wvpn.ip_pools> disable Disabling... Status : Success. WVPN IP Pools: DHCP Enabled Use DHCP Gateway
: no : no
Available Pools: 1. Default. 2. TestPool. WS5000.(Cfg).wvpn.ip_pools>
8.70.3 enable pools Instance This command enables the DHCP WVPN service. Syntax enable Parameters
None Example WS5000.(Cfg).wvpn.ip_pools> enable Enabling... Status : Success. WVPN IP Pools: DHCP Enabled Use DHCP Gateway Available Pools: 1. Default.
: yes : yes
8-339
Page 572
8-340
WS 5000 Series System Reference
2. TestPool. WS5000.(Cfg).wvpn.ip_pools>
8.70.4 ip_pools pools Instance This command issued to select a Pool to configure. Syntax ip_pools <pool_name_or_number> [CR] Parameters pool_name
The name of the IP pool that you want to configure.
Example WS5000.(Cfg).wvpn.ip_pools> ip_pools TestPool WVPN IP Pools: Name : TestPool Netmask : 255.255.255.0 DHCP Server Address : 0.0.0.0 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) 192.168.1.10-192.168.1.20 WS5000.(Cfg).wvpn.ip_pools.[TestPool]>
You need to further configure the ip_pools for setting the DHCP Server Addres,Default Gateway,DNS Address,WINS Address and Domain name mentioned in the example above. For this you have to enter the sub context level of ip_pools. You can enter this sub-context level by either entering the ip_pool name or the index of the ip_pools. The following are the contents of the sub-context of ip_pools: 1. To enter the sub-context of ip_pools WS5000.(Cfg).wvpn.ip_pools> ip_pools 1 WVPN IP Pools: Name : TestPool Netmask : 255.255.255.0 DHCP Server Address : 0.0.0.0 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]>