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

WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 353 to 362

Pages 353 to 362 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 353

CLI Command Reference

8-121

Syntax remove <port_name> Parameters port_name

Removes the port with the given name.

Example WS5000.(Cfg).APort> remove "00:a0:f8:11:12:14 [B]" Removing the dsp device of the radio 00:a0:f8:11:12:14 [B].... Status: Success.

8.15.4 show

Port (APort) Context Shows the Access Port configuration values. Syntax show show interfaces show channelInfo Parameters

(none)

Display a list of Access Port instances.

interfaces

Display a list of Access Port instances and lists the available Ethernet ports.

channelInfo

Display a list of country codes and the channels each country supports.

Example WS5000.(Cfg).APort> show

1 2 3 4

Access Ports Radio MAC Device MAC ----------------------------00:A0:F8:CD:C9:5A [B] 00:A0:F8:B5:7A:D0 00:A0:F8:CD:C9:5A [A] 00:A0:F8:CD:D0:DE 00:A0:F8:CF:20:1B [G] 00:A0:F8:CE:80:10 00:A0:F8:CF:20:1B [A] 00:A0:F8:CE:D8:48

Type Status --------00:A0:F8:CD:C9:5A 00:A0:F8:CD:C9:5A 00:A0:F8:CF:20:1B 00:A0:F8:CF:20:1B

No. of Active Access Ports/Radios: 0/0 WS5000.(Cfg).APort.[00:A0:F8:CF:20:1B [G]]> show Access Port details... Name Device type Radio MAC Address Device MAC Address Port Type Description Status Tx Channel Current Tx Channel Policy Attached Tx Power Current Tx Power Location

: 00:A0:F8:CF:20:1B [G] : AP300 : 00:A0:F8:CE:80:10 : 00:A0:F8:CF:20:1B : G : : Unavailable : Auto (once) : 0 : Default Access Port Policy : 20 dBm : 0 dBm :

B Unavailable A Unavailable G Unavailable A Unavailable

Page 354

8-122

WS 5000 Series System Reference

NIC Connected VLAN id VLAN Tags seen CCA Mode CCA Threshold Diversity Maximum MUs allowed No. of MUs associated Up Time Statistics gathering Tx Packets/second ERP Protection Short Slot Antenna DTIM per BSS

: Ethernet 2 : None : None : 1 : 1 : Full : 256 : 0 : 0d:0h:0m : Disable : 0 : off : on : external : Enabled

WS5000.(Cfg).APort.[00:A0:F8:CF:20:1B [G]]> .. WS5000.(Cfg).APort> WS5000.(Cfg).APort> show interfaces Interface information Access Ports -----------00:A0:F8:A2:91:7C [B] 00:A0:F8:5D:B9:0C [A] 00:A0:F8:6E:4A:7A [G] 00:A0:F8:6E:4A:7A [A] 00:A0:F8:BB:B3:6D [G] 00:A0:F8:BB:B3:6D [A]

Radio MAC --------00:A0:F8:A2:91:7C 00:A0:F8:60:BC:3D 00:A0:F8:6E:55:30 00:A0:F8:6E:4C:60 00:A0:F8:BB:F6:E8 00:A0:F8:BB:C7:6C

Device MAC ---------00:A0:F8:A2:91:7C 00:A0:F8:5D:B9:0C 00:A0:F8:6E:4A:7A 00:A0:F8:6E:4A:7A 00:A0:F8:BB:B3:6D 00:A0:F8:BB:B3:6D

Type ---B A G A G A

Status -----Active Active Unavailable Unavailable Unavailable Unavailable

Available EtherPorts are: Ethernet 1 Ethernet 2 WS5000.(Cfg).APort> WS5000.(Cfg).APort> show channelinfo Country Name -----------Argentina

Code ---AR

Australia

AU

Austria

AT

Bahrain

BH

Belarus

BL

Belgium

BE

Brazil

BR

Bulgaria

BG

Canada

CA

...

RF Channels (A, B, G and FH) ---------------------------B Ch: 1-11 G Ch: 1-11 FH Ch: 2-80 A Ch: 149,153,157,161 B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: 36,40,44,48,52,56,60,64,149,153,11 B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: 36,40,44,48,52,56,60,64,100,104,10 B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: 36,40,44,48,52,56,60,64 B Ch: 1-11 G Ch: 1-11 FH Ch: 2-80 A Ch: 149,153,157,161 B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: 36,40,44,48,52,56,60,64,149,153,11

Page 355

CLI Command Reference

8-123

8.16 Access Port Instance To drop into an Access Port instance, use the port <name> command from within the APort context. Table 8.19 summarizes the commands within this context.Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.19 Access Port 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 emergencymode

Enable or disable Emergency mode.

page 8-8 history

Display command history within a context or instance.

page 8-9 description

Create a description for thr Access Port instance.

page 8-123 name

Set the Access Port name.

page 8-123 reset

Resets the Access Port or its radio.

page 8-124 set

Configures settings for a particular Access Port.

page 8-124 show

Display context specific attributes page 8-127

8.16.1 description

Port Instance Create a description for the Access Port instance. Syntax description <description_text> Parameters description_text

Brief text to describe the Access Port instance.

Example WS5000.(Cfg).APort.[ap_name]> description “This is a generic AP”

8.16.2 name

Port Instance Set the Access Port name.

Page 356

8-124

WS 5000 Series System Reference

Syntax name <AP_name> Parameters

AP_name

Name defined for the Access Port.

Example WS5000.(Cfg).APort.[ap_name]> name New_AP_name WS5000.(Cfg).APort.[New_AP_name]>

8.16.3 reset

Port Instance Resets the Access Port or its radio, depending on the parameter value. Syntax reset <reset_flag> Parameters reset_flag

Indicates whether to reset the access port or radio. Valid options are: • ap – Resets the Access Port that contains this radio that’s represented by this instance. radio • radio – Resets the radio that’s represented by this instance.

Example WS5000.(Cfg).APort.[ap_name]> reset radio WS5000.(Cfg).APort.[ap_name]> reset ap

8.16.4 set

Port Instance The set command includes a group of different configuration commands to “set” or change Access Port device parameters. The set of parameters that can be set or changed depends on the AP model, as shown inTable 8.20. Table 8.20 Access Port Instance “Set” Command Summary Set Command

Description

AP Models

Syntax name

Set the Access Port name.

All set name <ap_name> description

Access Port description string.

All set description <desc_text> policy

Access Port policy thats applied to this Access Port. See Access Port Policy (APPolicy) Context on page 8-136.

All set policy <policy_name>

Page 357

CLI Command Reference

8-125

Table 8.20 Access Port Instance “Set” Command Summary (Continued) Set Command

Description

AP Models

Syntax channel

Access Port transmit channel. Possible values are: • <channel#> – Specific channel number • auto-once – The AP uses Automatic Channel Selection (ACS) the first time it’s adopted by the switch, and then sticks to that channel thereafter. • auto-always – The AP uses ACS every time it’s adopted. • random – The AP chooses a random channel every time it's adopted.

All except: • AP 3020 • AP 3021 set channel <value> power

Access Port transmission power. Possible values are 4-20 dBm

All except: • AP 3020 • AP 3021 set power <power_value> muPower

The amount in which associated mobile units are told to adjust (increase) their power. Although this is a drain on MU batteries, it can help improve signal fidelity. The possible adjustment values are in positive, integral dB.

All except: • AP 3020 • AP 3021 set muPower <mupwr_value> location

Access Port location description.

All set location <location_text> ccaMode

Sets the Access Port’s CCA mode. Possible values are: • 0– • 1 – Energy above threshold • 2 – Carrier sense only • 3 – Carrier sense with energy above threshold

All set ccaMode <CCA_mode#> ccaThreshold

Sets the Clear Channel Assessment threshold, which is the maximum level of traffic that the AP will accept and still consider the channel to be clear. 0 means no traffic; 31 means jampacked.

All set ccaThreshold <value> diversity

Access port diversity antenna setting. Possible values are: • full – The AP dynamically chooses the antenna with the strongest signal. • primary – Use this AP as a Primary antenna. • secondary – Use this AP as a Secondary antenna.

All set diversity <setting> vLanId

VLAN ID that the Access Port is to be part of.

All set vLanId <vLAN_ID> clearVLanTags

Clears the VLAN tag register.

All set clearVLanTags

Page 358

8-126

WS 5000 Series System Reference

Table 8.20 Access Port Instance “Set” Command Summary (Continued) Set Command

Description

AP Models

Syntax statistics

Enable/disable Access Port information gathering. When enabled, the Access Port reports throughput in packets-per-second, as well as the amount of time that it has been adopted by the switch. Use the show command with no argument to display.

All set statistics <enable_flag> dwellTime

Frequency-hopping maximum dwell time.

AP 3020 AP 3021 AP 100 set dwellTime <maxdwelltime> hopSeq

Frequency-hopping hop sequence. maxChannels is the maximum number of channels (allowed by the country setting) divided by three.

AP 3020 AP 3021 AP 100 set hopseq <maxchannels> hopSet

Frequency-hopping hop set.

AP 3020 AP 3021 AP 100 set hopSet <value> antCorrection

The power correction (increase) due to the AP’s (isotropic) antenna; in dB (dBi).

AP 300 set antCorrection <value> indoor

Indicates whether the AP is being used indoors (true) or outdoors (false).

AP 300 set indoors <true_or_false> simulateRadar

Tells the Access Port to pretend that radar has been discovered.

AP 300 set simmulateRadar user-802.1x

Declares a username for the AP, for information only.

AP 300 set user-802.1x <username> detectorap

Scans for rougue APs in all the channels

AP 3020 AP 3021 AP 100 set detectorap onchannelscan

Scans for rougue APs in its operating channel.

AP 3020 AP 3021 AP 100 set onchannelscan

Syntax set <attribute> <value> Parameters

See the applicable set command in Table 8.20 for more details, as applicable. Example

When access port device attributes are set, all access port settings for the access port instance are displayed, with the change in place. For example, in the following, the CCA Threshold value was changed from 0 to 10. See the Syntax examples in Table 8.20 for details on each set command. WS5000.(Cfg).APort.[00:A0:F8:A2:91:7C [B]]> set ccathreshold 10

Page 359

CLI Command Reference

Configuring Access Port device... Status: Success. Access Port details... Name Device type Radio MAC Address Device MAC Address Port Type Description Status Tx Channel Current Tx Channel Policy Attached Tx Power Current Tx Power Location NIC Connected VLAN id VLAN Tags seen CCA Mode CCA Threshold Diversity No. of MUs associated Up Time Statistics gathering Tx Packets/second Antenna Indoor/Outdoor Antenna Correction MU Power Adjustment All Channels Valid Power Range DetectorAP On Channel Scan

: 00:A0:F8:A2:91:7C [B] : AP100 : 00:A0:F8:A2:91:7C : 00:A0:F8:A2:91:7C : B : : Active : 6 : 6 : appol1 : 20 dBm1 : 20 dBm : : Ethernet 1 : None : None : 1 : 10 : Full : 1 : 6d:20h:36m : Disable : 0 : unknown : in : 0 : 0 : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, : 4-20 : disable : enable

WS5000.(Cfg).APort.[00:A0:F8:A2:91:7C [B]]>

8.16.5 show

Port Instance Display the configured details for the specified Access Port instance. Syntax show Parameters

None. Example WS5000.(Cfg).APort.[00:A0:F8:A2:91:7C [B]]> show Access Port details... Name Device type Radio MAC Address Device MAC Address Port Type Description Status Tx Channel

: 00:A0:F8:A2:91:7C [B] : AP100 : 00:A0:F8:A2:91:7C : 00:A0:F8:A2:91:7C : B : : Active : 6

8-127

Page 360

8-128

WS 5000 Series System Reference

Current Tx Channel Policy Attached Tx Power Current Tx Power Location NIC Connected VLAN id VLAN Tags seen CCA Mode CCA Threshold Diversity No. of MUs associated Up Time Statistics gathering Tx Packets/second Antenna Indoor/Outdoor Antenna Correction MU Power Adjustment All Channels Valid Power Range DetectorAP On Channel Scan

: 6 : appol1 : 20 dBm1 : 20 dBm : : Ethernet 1 : None : None : 1 : 10 : Full : 1 : 6d:20h:36m : Disable : 0 : unknown : in : 0 : 0 : 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, : 4-20 : disable : enable

WS5000.(Cfg).APort.[00:A0:F8:A2:91:7C [B]]

Page 361

8-129

CLI Command Reference

8.17 Access Control List (ACL) Context An Access Control List is a set of rules that governs the adoption of mobile units. Each rule contains a MAC address or MAC address range, and an allow or deny declaration deeming whether the device can have associations with access ports or not. When a device attempts to associate with an access port, the switch searches for the device (by MAC address) in the port’s ACL. An ACL’s rules must be non-overlapping with regard to MAC addresses. If you try to create a rule that includes an address that already appears in the ACL - whether it appears as an individual address or as part of an address range - the creation attempt is denied. You apply an ACL to a WLAN through the WLAN context’s set command. Table 8.21 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.21 ACL 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 history

Display command history within a context or instance page 8-9 acl

Display the ACL and related details.

page 8-129 add

Adds a new ACL (and changes to that instance context).

page 8-130 remove

Removes an ACL.

page 8-130 show

Display all defined ACLs within the switch.

page 8-131

8.17.1 acl

Control List (ACL) Context Display the ACL, including device MAC addresses, associated allow or deny rule, as well as the default ACL action for the ACL if no rule is assigned to a particular device. Syntax acl <ACLname> Parameters name

Name assigned to the ACL to be added.

Example WS5000.(Cfg).ACL> acl "New ACL"

Page 362

8-130

WS 5000 Series System Reference

ACL Name Default action on ACL items

: New ACL : allow

MAC address (range) ------------------00:A0:F8:6E:4A:7A

Rule ---allow

WS5000.(Cfg).ACL.[New ACL]>

8.17.2 add

Control List (ACL) Context Adds a new ACL and then changes the context to the named ACL instance context. Syntax add <ACLname> Parameters

ACLname

Name of the ACL to be added.

Example WS5000.(Cfg).ACL> add 2-10ACL Adding ACL... Status: Success. Available ACLs: 1. newacl. 2. 2-10ACL. ACL Name Default action on ACL items

: 2-10ACL : allow

MAC address (range) -------------------

Rule ----

WS5000.(Cfg).ACL.[2-10ACL]>

8.17.3 remove

Control List (ACL) Context Removes the named ACL. Syntax remove <ACLname> Parameters

ACLname

The name of the ACL to be removed.

Example WS5000.(Cfg).ACL> remove newacl Removing ACL...