The text of a manual · part 57 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 523 to 532
Pages 523 to 532 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 523
CLI Command Reference
8-291
8.58 Telnet Context You can use telnet to access the CLI and/or to configure the on-board KDC. The Telnet context provides commands to configure (enable or disable) telnet access. Table 8.63 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.63 Telnet 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 emergencymode
Enable or disable Emergency mode.
page 8-8 enable
Enable the port/telnet service.
page 8-291 disable
Disable the port/telnet service.
page 8-292 set
Configure telnet services, such as enabling/disabling for configuration to be done via the KDC.
page 8-292 show
Display available classifier instance details.
page 8-293
8.58.1 enable
Context Enable the port/service on the switch to enable Telnet configuration through the CLI. Syntax enable Parameters
None. Example WS5000.(Cfg).Telnet> enable Enabling... Status : Success. Telnet Status Session inactivity timeout WS5000.(Cfg).Telnet>
: Active. : 0 (Disabled)
Page 524
8-292
WS 5000 Series System Reference
8.58.2 disable
Context Disable the port/service on the switch to enable Telnet configuration via the CLI. Syntax disable Parameters
None. Example WS5000.(Cfg).Telnet> disable WARNING: This will disable all remote (CLI) access to the switch. Do you want to continue (yes/no)? : n WS5000.(Cfg).Telnet>
8.58.3 set
Context WS5000.(Cfg).Telnet> set kdcConfig
Enables or disables on-board KDC configuration through telnet. Syntax set <attribute> Parameters attribute
Description kdcConfig <enable_flag>
Enable or disable whether KDC configuration can be performed via Telnet connections. Possible values are: enable, disable.
Example WS5000.(Cfg).Telnet> set kdcconfig enable Setting KDC configuration rights... Status : Success. Configuration Access restriction details: Telnet access (CLI) : Enable. System access via SNMP : Enable. KDC configuration over remote console : Enable. KDC configuration through SNMP : Enable. WS5000.(Cfg).Telnet> set kdcconfig disable Setting KDC configuration rights... Status : Success. Configuration Access restriction details: Telnet access (CLI) : Enable. System access via SNMP : Enable. KDC configuration over remote console : Disable. KDC configuration through SNMP : Enable. WS5000.(Cfg).Telnet>
Page 525
CLI Command Reference
8-293
8.58.4 show
Context Display Telnet-related details based on the attribute used with the command. Syntax show or show <attribute> Parameters attribute
Description
(none)
Display statistics about the current telnet session.
configAccess
Display the permissibility of configuring the system and the KDC through telnet and SNMP.
ssh
Display information about the ssh configuration. See SSH (Secure Shell) Context for more details.
Example WS5000.(Cfg).Telnet> show Telnet Status Session inactivity timeout
: Active. : 0 (Disabled)
WS5000.(Cfg).Telnet> show configaccess Configuration Access restriction details: Telnet access (CLI) : Enable. System access via SNMP : Enable. KDC configuration over remote console : Enable. KDC configuration through SNMP : Enable. WS5000.(Cfg).Telnet> show ssh SSH configurations details: --------------------------SSH Status : Disabled Version : V2 Port : 22 Session inactivity timeout WS5000.(Cfg).Telnet>
: 0 (Disabled)
Page 526
8-294
WS 5000 Series System Reference
8.59 Tunnel Context Table 8.64 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.64 Tunnel Context Command Summary Commands
Brief 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 emergencymode
Enable or disable Emergency mode.
page 8-8 show
Display context specific attributes page 8-294 tunnel
Select a Tunnel to configure page 8-295
8.59.1 show
Context Display Tunnel-related details based on the attribute used with the command. Syntax show or show tunnels Parameters attribute tunnel
Description
Displays the tunnel details
Example WS5000.(Cfg).Tunnel> show Tunnel Details... Tunnel Name ----------1. tunnel1 2. tunnel2 3. tunnel3 WS5000.(cfg).Tunnel>
Remote IP Address -----------------1.1.1.1 2.2.2.2 3.3.3.3
Page 527
CLI Command Reference
8.59.2 tunnel
Context Display Tunnel-related details based on the attribute used with the command. Syntax tunnel or tunnel <attribute> Parameters attribute
Description
Name
Name of the GRE tunnel
Description
Description provided for the GRE tunnel
Mode
GRE
State
Active or inactive
Remote IP Address
IP Address of the Tunnel EndPoint
Time To Live
Time To Live.(1-255)
Keepalive
Keepalive timer of the Tunnel.(0-5)
Example WS5000.(Cfg).Tunnel> tunnel Tunnel details... Name : tunnel1 Description : tunnel one Mode : GRE State : active Remote IP Address : none Time To Live : 255 Keepalive : 0 WS5000.(Cfg).Tunnel>
8-295
Page 528
8-296
WS 5000 Series System Reference
8.60 Tunnel Instance Table 8.65 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.65 Tunnel Instance Command Summary Commands
Brief 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 emergencymode
Enable or disable Emergency mode.
page 8-8 set
Configure the tunnel setting page 8-296 show
Display context specific attributes page 8-297
8.60.1 set
Instance Sets the value of an attribute of this tunnel instance. Syntax set <config_parameter>, <parameter_value> set remote_ip <new_remote_ip/none> where config_parameter parameter_value
Tunnel parameter to be cofigured. Value for the Tunnel parameter.
Parameters remote_ip
Change IPaddress of the Tunnel EndPoint ttl
Change Time To Live. Value ranges from 1-255 keepalive
Change Keepalive timer of the tunnel. Value ranges from 0-5
Example WS5000.(Cfg).Tunnel.[tunnel1]> set remote_ip 1.1.1.1 Configuring Tunnel Settings... Status: Success. Tunnel details... Name : tunnel1 Description : tunnel one Mode : GRE State : active Remote IP Address : 1.1.1.1
Page 529
CLI Command Reference
Time To Live Keepalive Clear IP DF
: 255 : 0 : disable
WS5000.(Cfg).Tunnel.[tunnel1]>
8.60.2 show
Instance Display Tunnel-related details based on the attribute used with the command. Syntax show or show <attribute> Parameters tunnel displays the tunnel details.
Example WS5000.(Cfg).Tunnel.[tunnel1]> show Tunnel details... Name : tunnel1 Description : tunnel one Mode : GRE State : active Remote IP Address : 1.1.1.1 Time To Live : 255 Keepalive : 0 Clear IP DF : disable WS5000.(Cfg).Tunnel.[tunnel1]>
8-297
Page 530
8-298
WS 5000 Series System Reference
8.61 User Context The user context is where users privileges are specified for particular users of the system. Users are added, removed, and configured via the User Context. Privileges that a specific user can have are categorized as follows: •
Policy Administration
•
SNMP Administration
•
Security Administration
•
System Administration
After a user is added, administration privileges are configured via that specific user’s instance command options -- namely the allow command. Table 8.66 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.66 User 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 emergencymode
Enable or disable Emergency mode.
page 8-8 add
Add a new user to the switch.
page 8-299 remove
Remove a user from the switch.
page 8-299 user
Select a user to configure (and drop into specified user instance).
page 8-300 show
Display available classifier instance details.
page 8-300
Page 531
CLI Command Reference
8-299
8.61.1 add
Context Adds a new user to the switch. You are prompted to provide and then confirm the new user’s password. Syntax add <user_name> Parameters user_name
The name (login) of the new user. The name can be 6 to 20 characters long.
Example WS5000.(Cfg).User> add mktgmgr Enter User Password (6 - 20 characters) : ****** Re-Enter User Password (6 - 20 characters) : ****** Adding user... Status: Success. User information Available Users: 1. admin. 2. efeaheny. 3. mktgmgr. User information User Name Policy Administration SNMP Administration Security Administration System Administration
: mktgmgr : false : false : false : false
WS5000.(Cfg).User.[mktgmgr]>
8.61.2 remove
Context Removes an existing user from the switch. Syntax remove <user_name> Parameters user_name
The name the user to be removed.
Example WS5000.(Cfg).User> remove mktgmgr Removing user... Status: Success. User information Available Users: 1. admin.
Page 532
8-300
WS 5000 Series System Reference
2. techsupport. WS5000.(Cfg).User>
8.61.3 user
Context Select a user to configure and drop into specified user instance context. Syntax user <user_name> Parameters user_name
The user name of the user to be configured.
Example WS5000.(Cfg).User> user admin User information User Name Policy Administration SNMP Administration Security Administration System Administration
: admin : true : true : true : true
WS5000.(Cfg).User.[admin]>
8.61.4 show
Context Display a summary of all available users within the system, or details about a specific user, if specified. Syntax show or show <user_name> Parameters user_name
User name for which details will be displayed. If no user name parameter, then display a summary of all available users in the system.
Example WS5000.(Cfg).User> show User information Available Users: 1. admin. 2. techsupport. WS5000.(Cfg).User> show admin User information User Name
: admin