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

WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 503 to 512

Pages 503 to 512 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 503

CLI Command Reference

8-271

8.53 SSL (Secure Socket Layer) Context The SSL context defines the protocol (http or https) that a client needs to access the WS5000 Series Switch applet, or graphical user interface. With SSL enabled, the applet can only be accessed through the (secure) https protocol; if it’s disabled, the applet can only be accessed through (non-secure) http. Table 8.58 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.58 SSL 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

Enables SSL client authentication.

page 8-271 disable

Disables SSL client authentication.

page 8-271 revert certificate

Tells the Web server to use the currently installed authentication certificate.

page 8-272 show

Display the Web server’s accessibility setting.

page 8-272

8.53.1 enable

(Secure Socket Layer) Context Turns on SSL client authentication. To access the applet, a client must use https. For example: https://192.0.0.1 Syntax enable Parameters

None. Example WS5000.(Cfg).SSL> enable

8.53.2 disable

(Secure Socket Layer) Context Turns off SSL client authentication. To access the applet, a client must use https. For example: https://192.0.0.1

Page 504

8-272

WS 5000 Series System Reference

Syntax disable Parameters

None. Example WS5000.(Cfg).SSL> disable

8.53.3 revert certificate

(Secure Socket Layer) Context Tells the Web server to use the currently installed authentication certificate. You use this command after uploading a new certificate. Until the certificate is reverted, clients will not be able to establish new connections to the applet. Reverting the certificate causes the Web server to restart. Syntax revert certificate Parameters

None. Example WS5000.(Cfg).SSL> revert certificate

8.53.4 show

(Secure Socket Layer) Context Display the Web server’s accessibility setting. Syntax show show https Parameters

None. Example WS5000.(Cfg).SSL> show Web based configuration (Applet) access by : https.

Page 505

CLI Command Reference

8-273

8.54 Standby Context The Standby context lets you configure the failover system (aka “Standby” or “warm Standby”). You need two switches to implement the failover system: The “Primary” switch handles all network traffic; the Standby switch takes over if the Primary switch goes down. After the Primary comes back up, it can automatically take over active duty, or you can configure the switch so that it waits to be re-activated manually. Except for the declarations of their roles in the failover system, the configurations of the two WS5000s must be exactly the same. If you modify one of them, you must modify the other in the same way. The failover system must be disabled (disable) before you can call most of the commands defined in the Standby context. Moreover, it’s a good idea to disable the failover system before making any significant changes to the WS5000. Re-configuring the Primary switch while the Standby system is enabled could cause the switch to fail.

!

Warning! A WS5000 model switch is not compatible to be configured as a standby for a WS5100 model switch.

Table 8.59 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.59 Standby 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

Adds the switch to the Standby system.

page 8-274 disable

Removes the switch from the Standby system.

page 8-274 set autorevert

Enables or disables the automatic reversion feature.

page 8-274 set arDelay

Enables or disables the (sending of the) heartbeat on a particular NIC.

page 8-275 set heartbeat

Sets the heartbeat for the Standby switch.

page 8-275 set mac

Sets the Ethernet port on the other WS5000 to which this WS5000 sends its heartbeat (per NIC).

page 8-275 set mode

Set the mode that the switch should be running in (that is primary, standby, etc.).

page 8-276 show

Display available Standby context details.

page 8-276

Page 506

8-274

WS 5000 Series System Reference

8.54.1 enable

Context Adds the switch to the Standby system. Syntax enable Parameters

None. Example WS5000.(Cfg).standby> enable

8.54.2 disable

Context Removes the switch from the Standby system. Syntax disable Parameters

None. Example WS5000.(Cfg).standby> disable

8.54.3 set autorevert

Context Enables or disables the automatic reversion feature. When auto-revert is enabled, a Standby switch that has become active due to a failover automatically reverts to its monitoring role after the Primary switch comes back up. If you disable auto-revert, you can manually revert the Standby switch through the revert option of the set mode command. Note Be sure to call the disable command before calling this command.

“Auto-revert delay.” If auto-revert is enabled, this is the amount of time to wait, in minutes, before the Primary switch becomes active after it has come back up. Syntax set autorevert <enable_flag> Parameters enable_flag

Enable of disable auto-revert, as applicable.

Example WS5000.(Cfg).standby> set autorevert enable

Page 507

CLI Command Reference

8-275

8.54.4 set arDelay

Context Enables or disables the (sending of the) heartbeat on a particular NIC by setting an auto-revert delay, in minutes. Note You must call disable before calling this command.

Syntax set arDelay <delay> Parameters delay

The delay time, in minutes. An integer in the range [0, 9999].

Example WS5000.(Cfg).StandBy> set ardelay 10

8.54.5 set heartbeat

Context Sets the heartbeat for the Standby switch. Syntax set heartbeat <enable_flag> <NIC> Parameters enable_flag

Valid values are enable, to enable the heartbeat, or disable - to disable the heartbeat.

NIC

The NIC through which the heartbeat is sent.

Example WS5000.(Cfg).standby> set heartbeat enable

8.54.6 set mac

Context Sets the Ethernet port on the other WS5000 to which this WS5000 sends its heartbeat (per NIC). You can set the port by its MAC address, or you can ask the switch to discover the port automatically. Note You must call disable before calling this command.

Syntax set mac <port> <NIC>

Page 508

8-276

WS 5000 Series System Reference

Parameters port

Either the MAC address of the port, or auto for automatic discovery.

NIC

The local NIC through which the heartbeat is sent. Either 1 or 2.

Example WS5000.(Cfg).standby> set mac auto 1

8.54.7 set mode

Context Set the mode that the switch should be running in (that is primary, standby, etc.). The mode command is used for three things: •

It can set the switch to be the Primary or the Standby.

•

It can manually revert the switch to its original role after a failover.

•

It can enable and disable the switch’s participation in the standby system.

!

IMPORTANT! YOU MUST CALL DISABLE BEFORE SETTING THE SWITCH’S FAILOVER ROLE.

Syntax set mode <option> Parameters option

Description primary

Sets the switch to be the Primary.

standby

Sets the switch to be secondary.

revert

Standby mode–Reverts the switch to its original role. Primary (active) mode–Switchs back to standby mode enable

Adds the switch to the standby system. Same as the enable command.

disable

Removes the switch from the standby system. Same as the disable command.

8.54.8 show

Context Display Standby details for the switch. Syntax show Parameters

None.

Page 509

CLI Command Reference

Example WS5000.(Cfg).StandBy> show Standby Management: StandBy mode Standby Status State Failover Reason Standby Connectivity status Standby AutoRevert Mode Standby AutoRevert Delay

: Primary : Disable : Startup : : Not Connected : Disable : 15 Minutes

Interface (Ethernet) 1 ---------------------StandBy Heart-Beat MAC Heart-Beat status Received Heart-Beat

: Auto Discovery Enabled : Enable : No

Interface (Ethernet) 2 ---------------------StandBy Heart-Beat MAC Heart-Beat status Received Heart-Beat

: Auto Discovery Enabled : Disable : No

WS5000.(Cfg).StandBy>

8-277

Page 510

8-278

WS 5000 Series System Reference

8.55 Switch Policy (SPolicy) Context A Switch Policy acts as a container for all the other policies. Although you can define any number of Switch Policies, only one of them can be active at a time. The WS5000 lets you designate an “Emergency Switch Policy” (ESP). The ESP, which you can quickly activate from any of the WS5000 access venues (CLI, SNMP, and GUI), is meant to serve as a known, safe, and conservative policy that you use in the case of an emergency, such as a security breach. To designate the ESP, see set emergencypolicy. To activate the ESP, use the enable option with the emergencymode command within any context In addition to containing all the other policies, the Switch Policy defines an adoption list that defines the types of Access Ports that can be adopted. Table 8.60 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.60 Switch Policy 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 Switch Policy to the system.

page 8-278 policy

Select a Switch Policy to configure.

page 8-279 remove

Remove a Switch Policy from the system.

page 8-280 show

Display available Switch Policy details.

page 8-280

8.55.1 add

Policy (SPolicy) Context Creates and adds a new Switch Policy instance. Syntax add <name> Parameters name

The name of the new Switch policy.

Example WS5000.(Cfg).SPolicy> add new_policy Adding Switch Policy... Status: Success.

Page 511

CLI Command Reference

Active Switch Policy name: Default Wireless Switch Policy Available Switch Policies: 1. Default Wireless Switch Policy. 2. EmerPolicy2-10. 3. new_policy. Switch Policy details --------------------Policy Name Description Country Channel for .11a Channel for .11b Channel for .11g Power Level for .11a Power Level for .11b Power Level for .11g Active EtherPolicy Name # of APPolicies attached

: new_policy : : US : Auto (once) : Auto (once) : Auto (once) : 20 dBm : 20 dBm : 20 dBm : Default Ethernet Policy : 0

Include Adoption List details

: List is Empty.

Exclude Adoption List details

: List is Empty.

Default Adoption action for .11a : Deny. Default Adoption action for .11b : Deny. Default Adoption action for FH : Deny. Default Adoption action for .11g : Deny. Send SNMP trap on adoption deny : Disabled Press any key to continue...or (q)uit

8.55.2 policy

Policy (SPolicy) Context Changes the prompt to the context to the named Switch policy instance. Syntax policy <name> Parameters name

The name of the Switch Policy.

Example WS5000.(Cfg).SPolicy> policy sw1 Active Switch Policy details ---------------------------Policy Name : sw1 Description : Country : US Channel for .11a : Auto (once) Channel for .11b : Auto (once) Channel for .11g : Auto (once) Power Level for .11a : 20 dBm Power Level for .11b : 20 dBm Power Level for .11g : 20 dBm Active EtherPolicy Name : eth1 # of APPolicies attached : 1 List of APPolicies attached 1. appol1.

:

8-279

Page 512

8-280

WS 5000 Series System Reference

Include Adoption List details

: List is Empty.

Exclude Adoption List details

: List is Empty.

Default Adoption action for .11a : Adopt .11a with APPolicy appol1 Default Adoption action for .11b : Adopt .11b with APPolicy appol1 Default Adoption action for FH : Deny. Default Adoption action for .11g : Deny. Send SNMP trap on adoption deny : Disabled DS Coexistence : Not Applicable for current country setting. WS5000.(Cfg).SPolicy.[sw1]>

8.55.3 remove

Policy (SPolicy) Context Removes the named Switch Policy instance. Syntax remove <name> Parameters name

The name of the Switch Policy to be removed.

Example WS5000.(Cfg).SPolicy> remove new_policy Removing Switch Policy... Status: Success. Active Switch Policy name: Default Wireless Switch Policy Available Switch Policies: 1. Default Wireless Switch Policy. 2. EmerPolicy2-10. WS5000.(Cfg).SPolicy>

8.55.4 show

Policy (SPolicy) Context Display switch policy details, or details about other entities if specified in the command. Syntax show show accessports show acl show appolicy show channelinfo show ethernet show etherpolicy show interfaces show securitypolicy show switchpolicy show system

Display context specific attributes Display access port details Display ACL information Display Access Port Policy Display channel no and country code details Display Ethernet Port details Display EtherPolicy details Display interface details Display security policy details Display Switch Policy Display system information