The text of a manual · part 49 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 443 to 452
Pages 443 to 452 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 443
CLI Command Reference
Parameters host
The name of the host defined in the system.
syslog
Displays the syslog details.
system
Displays the system information.
Example WS5000.(Cfg).Host> show host NYhost 111.222.111.30 NYdomain Host Name --------WS5000.(Cfg).Host>
IP Address ----------
Domain ------
8-211
Page 444
8-212
WS 5000 Series System Reference
8.37 Host Instance The Host instance context lets you modify an entry in the host list. Table 8.42 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.42 Host Instance Context 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 attributes of a particular host.
page 8-212 emergencymode
Enable or disable Emergency mode.
page 8-8 show
Display available classifier instance details.
page 8-213
8.37.1 set
Instance Configures a host. Syntax set <attribute> <value> Parameters domain
The host’s domain name. The value of the domain should follow.
ip
The host’s IP address. The IP address value should follow.
Example WS5000.(Cfg).Host.[NYhost]> show Host Name --------NYhost
IP Address ---------111.222.111.31
Domain -----NYdomain
WS5000.(Cfg).Host.[NYhost]> WS5000.(Cfg).Host.[NYhost]> set ip 111.222.111.30 Changing Host property... Status: Success. Host Name --------NYhost
IP Address ---------111.222.111.30
Domain -----NYdomain
Page 445
CLI Command Reference
8-213
WS5000.(Cfg).Host.[NYhost]> WS5000.(Cfg).Host.[NYhost]> set domain NYdomain1 Changing Host property... Status: Success. Host Name --------NYhost
IP Address ---------111.222.111.30
Domain -----NYdomain1
WS5000.(Cfg).Host.[NYhost]>
8.37.2 show
Instance Shows host configuration details. Syntax show show system Parameters
None. Example WS5000.(Cfg).Host.[NYhost]> show host Host Name --------SFhost NYhost
IP Address ---------111.222.111.32 111.222.111.30
Domain -----domain1 NYdomain1
WS5000.(Cfg).Host.[NYhost]> WS5000.(Cfg).Host.[NYhost]> show system System information... System Name : WS5000 Description : WS5000 Wireless Network Switch Location : Software Ver. : 1.4.1.0-003D Licensed to : Symbol Technologies Copyright : Copyright (c) 2000-2005. Serial Number : 00A0F86594B8 Number of Licenses : 48 Max Access Ports : 48 Max Mobile Clients : 4096 Active Switch Policy : sw1 Emergency Switch Policy : Not defined Switch Uptime : 12d:05h:01m # of Unassigned Access Ports : 2 Unassigned Access Ports : 1. 00:A0:F8:6E:4A:7A [G]. 2. 00:A0:F8:BB:B3:6D [G]. WS5000.(Cfg).Host.[NYhost]>
All rights reserved.
Page 446
8-214
WS 5000 Series System Reference
8.38 KDC Context Context The KDC context provides configuration options to configure the switch-resident Kerberos Key Distribution Center (KDC) as a Master or Slave. Table 8.43 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.43 KDC Context 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 add
Add a new KDC Slave or User.
page 8-214 authenticate
Authenticates a Slave KDC with a Master KDC.
page 8-215 clear
Clear the screen.
page 8-8 dump
Dumps the principals to the specified file (The file can be moved to another machine and the database is thus transferred)
page 8-216 emergencymode
Enable or disable Emergency mode.
page 8-8 remove
Remove a Slave KDC, User or NTP addresses.
page 8-216 set
Configure/create the KDC.
page 8-217 show isplay context specific attribute page 8-219 synchronize
Synchronize a Slave KDC DB with a Master KDC DB.
page 8-221
8.38.1 add
Context Adds a Slave KDC to/from the Master KDC. This command can only be invoked if the switch is configured to be the Master KDC. Syntax add mu <name> <ticket_life> or add slavekdc <name> <ip_address> <domain> Parameters mu
Adds a KDC user of type MU.
slavekdc
Adds a slave KDC.
Page 447
CLI Command Reference name
Name given to the user or slave KDC.
domain
Domain of the slave KDC.
IP_address
IP address of the Slave KDC domain
Domain of the Slave KDC.
8-215
Example WS5000.(Cfg).KDC> add mu symbol 10 Enter password for the mu "symbol" : ****** Confirm password for mu "symbol" : ****** Adding mu 'symbol' to the KDC. Status: Success. List of active MUs (KDC user): Type Name ------MU symbol
Ticket Life ----------10 min.
WS5000.(Cfg).KDC>
8.38.2 authenticate
Context Authenticates a slave KDC with its master. This is used when a KDC master has been deleted and re-created afterwards. In this case, the slave has no way of knowing if a new master has been configured, therefore it needs to be manually authenticated again. Note When you try to exectue this command on a switch which has been confiured as a Master KDC , the following message is displayed: WS5000.(Cfg).KDC> authenticate This command is available only for a SLAVE KDC. The present KDC is configured as MASTER. WS5000.(Cfg).KDC>
Syntax authenticate Parameters
None Example WS5000.(Cfg).KDC> authenticate Authenticating slave KDC with Master.... Status: Success. WS5000.(Cfg).KDC>
Page 448
8-216
WS 5000 Series System Reference
8.38.3 dump
Context Writes the KDC database to a file. Syntax dump <filename> Parameters
Name of the file to which the database is written. The “.krb” extension is automatically appended.
filename
Example WS5000.(Cfg).KDC> dump kdcTracks Saving KDC principals in: kdcTracks.krb Status: Success. WS5000.(Cfg).KDC> .. WS5000.(Cfg)> dir Date & Time May 5 Jan 25 Apr 23 Feb 10 May 5
21:33 15:11 16:18 17:31 21:33
Bytes
1068 15155 18821897 6517 2105
File Name KerberosErrorLog.txt WS5000Defaults_v1.4.0.0-026R.cfg WS5000_v1.4.1.0-003D.sys.img cmd_template.sym kdcTracks.krb
WS5000.(Cfg)>
8.38.4 remove
Context This command is used to remove to delete Slave-KDC or MU from the Master KDC or to delete NTP Servers. Syntax remove mu <name> remove slavekdc <name> <ip_address> <domain> remove ntpserver <ntp_index> Parameters mu
KDC user of type MU to be removed.
slavekdc
Slave KDC to be removed.
name
Name of the User (MU) or slave KDC.
ip_address
IP address of the slave KDC.
domain
Domain of the slave KDC.
ntp_server
NTP server index: 1 - 3 or all.
Example WS5000.(Cfg).KDC> remove mu symbol
Page 449
CLI Command Reference
Deleting mu 'symbol' from the KDC. Status: Success. List of active MUs (KDC user):No active Users available. WS5000.(Cfg).KDC>
WS5000.(Cfg).KDC> remove Deleting slave KDC.... Status: Success.
slavekdc standby
1.1.1.1 symbol.com
The system is configured as MASTER KDC. Kerberos Realm : SYMBOL.LOCAL Interface : ethernet1 User count (Active + deleted) : 1 Active users (MUs and WLANs) : 0 Slave KDCs ---------No entry available.
IP Address ----------
Domain ------
List of all active KDC users (MUs & WLANs): No active Users available. WS5000.(Cfg).KDC>
WS5000.(Cfg).KDC> remove ntpserver 1 Deleting NTP Server.... Status: Success. No NTP IP Entry exist, Time synchronization is Disabled
Time Server (NTP) details: Primary NTP Server First alternate NTP Server Second alternate NTP Server
: : :
WS5000.(Cfg).KDC>
8.38.5 set
Context Use set to configure or create the KDC in the system or configure KDC access type. Syntax set master <realm> <if_num> set slave <realm> <masters_name> <masters_ip> <if_num> set clear set ntpserver <server_no> <server_ip> set access <cli/snmp> <enable/disable> Parameters master
Configure the switch as master KDC.
8-217
Page 450
8-218
WS 5000 Series System Reference slave
Configure the switch as slave KDC.
clear
Clear all KDC configuration on the switch.
realm
Kerboros realm name.
masters_name
Name assigned to the Master KDC. Required if kdc_type is slave.
masters_ip
Domain over which the KDC has dominion.Required is kdc_type is slave.
if_num interface number, 1 or 2.
server_no
Sets one of the three NTP servers for this switch.NTP server number, 1 to 3.
server_ip
NTP server IP address.
access
Permits or denies configuration of the on-board KDC through Telnet (CLI) or SNMP.
Example WS5000.(Cfg).KDC> set access cli disable Configuring KDC access restriction for cli.... Status : Success. Configuration Access restriction details: Telnet access (CLI) : Disable. System access via SNMP : Enable. KDC configuration over remote console : Disable. KDC configuration through SNMP : Enable. WS5000.(Cfg).KDC> WS5000.(Cfg).KDC> set access snmp Enter enable/disable. Syntax: set access snmp <enable/disable> [CR] Incomplete command... use '?' for help.... exiting... WS5000.(Cfg).KDC> set access snmp enable Configuring KDC access restriction for snmp.... Status : Success. Configuration Access restriction details: Telnet access (CLI) : Disable. System access via SNMP : Enable. KDC configuration over remote console : Enable. KDC configuration through SNMP : Enable. WS5000.(Cfg).KDC>
WS5000.(Cfg).KDC> set clear Deleting all KDC configurations..... Status : Success. KDC is not configured in this machine. WS5000.(Cfg).KDC>
Page 451
CLI Command Reference
WS5000.(Cfg).KDC> set ntpserver 1 192.192.4.111 Configuring time server (NTP) .... Status : Success. Time Server (NTP) details: Primary NTP Server First alternate NTP Server Second alternate NTP Server
: 192.192.4.111 : :
WS5000.(Cfg).KDC> WS5000.(Cfg).KDC> set slave test1 test2 1.1.1.1 2 Configuring KDC as slave. Status : Success. The system is configured as SLAVE KDC. Kerberos Realm : test1 Interface : ethernet2 User count (Active + deleted) : 0 Active users (MUs and WLANs) : 0 Master KDC : Name : test2 IP address : 1.1.1.1 List of all active KDC users (MUs & WLANs): No active Users available. WS5000.(Cfg).KDC>
8.38.6 show
Context Shows KDC details. Syntax show show configaccess show kdc show ntpservers show users Parameters configaccess
Display configured system access restrictions kdc
Display KDC details ntpservers
Display NTP Server information users
Display the list of active KDC users
Example WS5000.(Cfg).KDC> show The system is configured as MASTER KDC. Kerberos Realm : realm1
8-219
Page 452
8-220
WS 5000 Series System Reference
Interface User count (Active + deleted) Active users (MUs and WLANs) Slave KDCs ---------slaveKDC_NY
: ethernet1 : 1 : 1
IP Address ---------111.222.111.30
Domain -----NYdomain1
List of all active KDC users (MUs & WLANs): Type Name Ticket Life ----------------MU 489-45-5672 3 min.
ESSID ----Not Available
WS5000.(Cfg).KDC> show users List of all active KDC users (MUs & WLANs): Type ---MU
Name ---489-45-5672
Ticket Life ----------3 min.
ESSID ----Not Available
WS5000.(Cfg).KDC> WS5000.(Cfg).KDC> show configaccess Configuration Access restriction details: Telnet access (CLI) : Disable. System access via SNMP : Enable. KDC configuration over remote console : Enable. KDC configuration through SNMP : Enable. WS5000.(Cfg).KDC> WS5000.(Cfg).KDC> show kdc The system is configured as MASTER KDC. Kerberos Realm : a Interface : ethernet1 User count (Active + deleted) : 1 Active users (MUs and WLANs) : 0 Slave KDCs IP Address ------------------No entry available.
Domain ------
List of all active KDC users (MUs & WLANs): No active Users available. WS5000.(Cfg).KDC> WS5000.(Cfg).KDC> show ntpservers Time Server (NTP) details: Primary NTP Server First alternate NTP Server Second alternate NTP Server WS5000.(Cfg).KDC>
: 192.192.4.111 : :