The text of a manual · part 56 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 513 to 522
Pages 513 to 522 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 513
CLI Command Reference
8-281
Parameters component
Description none
Display information about this Switch Policy instance.
channelInfo
Display a list of country codes and the channels each country supports.
interfaces
Display a list of Access Port instances and lists the available Ethernet ports.
Example WS5000.(Cfg).SPolicy> show Active 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
: Default Wireless Switch Policy : Switch Policy with Default Settings : None : Auto (once) : Auto (once) : Auto (once) : 20 dBm : 20 dBm : 20 dBm : Default Ethernet Policy : 1
List of APPolicies attached : 1. Default Access Port Policy. Include Adoption List details
: List is Empty.
Exclude Adoption List details
: List is Empty.
Default Adoption action for .11a : Adopt .11a with APPolicy Default Access Porty Default Adoption action for .11b : Adopt .11b with APPolicy Default Access Porty Default Adoption action for FH : Adopt FH with APPolicy Default Access Port Py Default Adoption action for .11g : Adopt .11g with APPolicy Default Access Porty DS Coexistence : Disabled WS5000.(Cfg).SPolicy> WS5000.(Cfg).SPolicy> show interfaces Interface information Access Ports -----------a_name g_name
Radio MAC --------00:09:5B:63:33:81 00:04:E2:5E:B5:3A
Device MAC Type ------------00:09:5B:63:33:81 B 00:04:E2:5E:B5:3A FH
Status -----Unavailable Unavailable
Available EtherPorts are: Ethernet 1 Ethernet 2 WS5000.(Cfg).SPolicy> WS5000.(Cfg).SPolicy> show channelinfo Generating country/channel tables. Please wait for few seconds... Country Name Code RF Channels (A, B, G and FH) -----------------------------------------Argentina AR B Ch: 1-11 G Ch: 1-11 FH Ch: 2-80 A Ch: 149,153,157,161 Australia AU B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80
Page 514
8-282
WS 5000 Series System Reference
Austria
AT
Bahrain
BH
Belarus
BL
Belgium
BE
Brazil
BR
Bulgaria
BG
Canada
CA
Press any key to continue...or (q)uit
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 515
CLI Command Reference
8-283
8.56 Switch Policy Instance Table 8.61 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.61 Switch Policy 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 description
Set description text.
page 8-283 edit
Edit adoption list entry.
page 8-284 name
Set or change the name of the switch policy.
page 8-284 restrictedchannel
Select a radio type to configure restricted channels.
page 8-285 set adoptionList
Adds/removes an entry to/from the access port adoption-inclusion and adoption-exclusion lists.
page 8-285 set
Configure various parameters for the switch policy (name, description, country code, channel, power, AP policy, Ethernet policy, DS co-existence).
page 8-286 show
Display available switch policy instance details.
page 8-287
8.56.1 description
Policy Instance Set description text. Syntax description <description_text> Parameters description_text
Brief description of the switch policy instance.
Example WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy]> description Sample descrn Adding description... Status : Success. Active Switch Policy details ---------------------------Policy Name Description Country
: Default Wireless Switch Policy : Sample description : None
Page 516
8-284
WS 5000 Series System Reference
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
: Auto (once) : Auto (once) : Auto (once) : 20 dBm : 20 dBm : 20 dBm : Default Ethernet Policy : 1
List of APPolicies attached : 1. Default Access Port Policy. Include Adoption List details
: List is Empty.
Exclude Adoption List details
: List is Empty.
Default Adoption action for .11a : Adopt .11a with APPolicy Default Access Porty Default Adoption action for .11b : Adopt .11b with APPolicy Default Access Porty Press any key to continue...or (q)uit
8.56.2 edit
Policy Instance Edit adoption list entry to include or exclude a radio type. Same as “include” and “exclude” options within the set adoptionList command. Syntax edit include <old_radio_type> <start_MAC> [<end_MAC>] <app_name | remove> edit exclude <old_radio_type> <start_MAC> [<end_MAC>] [remove] Parameters old_radio_radio
The radio type that this list applies to. Valid values are: A, B, G, or FH (case-insensitive). For exclude, ALL is also a valid value.
start_MAC, end_MAC
Identifies the access ports that are part of this list entry. If end_MAC is excluded, the entry consists of the AP identified by start_MAC; otherwise, the entry contains all APs between start_MAC and end_MAC.
app_name
The access port policy used when an AP is adopted.
remove
Removes the entry from the list. To remove an address range, you need only supply the starting address.
Example
8.56.3 name
Policy Instance Set or change the name of the switch policy. Same as when “name” parameter is used with the set command. Syntax name <new_name>
Page 517
CLI Command Reference
8-285
Parameters new_name
New name to set or change the switch policy name to.
Example WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy]> name newname Configuring name... Status : Success. WS5000.(Cfg).SPolicy.[newname]>
8.56.4 restrictedchannel
Policy Instance Changes the prompt to the Restricted Channel context, where channels that cannot be chosen by Automatic Channel Selection for a particular radio type can be specified. See Restricted Channel Instance on page 8-289 for more details. Syntax restrictedchannel <radio_type> Parameters radio_type
Type of radio to configure restricted channels for. Valid values are a, b, g, for 802.11a, 802.11b, or 802.11g, respectively.
Example WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy]> restrictedchannel A Radio ----A A
Restricted Ch. -------------153 46
Description -----------
WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy].Restricted.[A]>
8.56.5 set adoptionList
Policy Instance Adds/removes an entry to/from the access port adoption-inclusion and adoption-exclusion lists. APs that are in the inclusion list are adopted through a specified access port policy. APs in the exclusion list are never adopted. This command to also used to set the default action (adopt or not) for APs that are in neither list. APs are identified by MAC address. Each entry in either listed as a single MAC address or a range of MAC addresses. The adoption lists are based on radio type. There is a different list for each radio type: 802.11a, 802.11b, 802.11g, and frequency hopping radios. In addition, the switch policy contains a master adoption list that is applied to all radios.
Page 518
8-286
WS 5000 Series System Reference
Syntax set adoptionList <radio> include <start_MAC> [<end_MAC>] <app_name | remove> set adoptionList <radio> exclude <start_MAC> [<end_MAC>] [remove] set adoptionList <radio> default allow <app_name> set adoptionList <radio> default deny [traps <enable | disable>] Parameters radio
The radio type that this list applies to. Valid values are: A, B, G, or FH (case-insensitive). For exclude, ALL is also a valid value.
start_MAC, end_MAC
Identifies the access ports that are part of this list entry. If end_MAC is excluded, the entry consists of the AP identified by start_MAC; otherwise, the entry contains all APs between start_MAC and end_MAC.
app_name
The access port policy used when an AP is adopted.
remove
Removes the entry from the list. To remove an address range, you need only supply the starting address.
traps <enable | disable>
If the default action is deny, you can ask to have the apAdoptFail SNMP trap sent when an unknown AP asks to be adopted. Pass enable to ask for the trap, and disable to ask that the trap not be sent. By default the trap is sent.
Example
8.56.6 set
Policy Instance Configures the switch policy. Adds or removes an access port policy to or from the switch policy. Syntax set <attribute> <value> [remove] Parameters attribute and value
Description adoptionList
See set adoptionList on page 8-285.
apPolicy name [remove]
Adds or removes the named Access Port Policy to/from the Switch Policy’s list of AP Policies.
channel <integer>
Sets the default channel. The set of candidate channel numbers depends on the country code setting.
countryCode <ISO_3166_code>
Sets the country code. The switch won’t adopt Access Ports until the country is set.
!
IMPORTANT! IT IS THE RESPONSIBILITY OF THE SWITCH OWNER TO CORRECTLY SET THE COUNTRY CODE. AN INCORRECT COUNTRY SETTING CAN CAUSE THE SWITCH TO USE ILLEGAL BROADCAST SETTINGS.
Page 519
CLI Command Reference attribute and value dsCoexistence <enable_flag>
8-287
Description
Frequence hopping/direct sequence (FH/DS) coexistence. With coexistence enabled, the access port divides the frequency spectrum such that FH devices use one portion, and DS devices use the other. Possible values are: enable or disable. Note: FH/DS co-existence isn't legal in all countries. The dsCoexistence attribute is always turned off in these countries.
description <description_text>
Brief descriptive text to identify the switch policy.
etherPolicy <etherpolicy_name>
Sets the switch policy’s active ethernet policy name <SwitchPolicyName>
Sets the switch policy’s name.
power <power_setting> <radio_type>
Sets the power, in milliWatts, for the specified 802.11x radio type. Valid power settings are in the range 4 through 20. Valid radio types are a, b, g, for 802.11a, 802.11b, or 802.11g respectively.
8.56.7 show
Policy Instance Display details about the switch policy instance, or other entities if specified in the command. Syntax show Display context specific attributes show accessports Display access port details show acl Display ACL information show appolicy Display Access Port Policy show channelinfo Display channel no and country code details show ethernet Display Ethernet Port details show etherpolicy Display EtherPolicy details show interfaces Display interface details show restrictedchannels Display the restricted channels show securitypolicy Display security policy details show switchpolicy Display Switch Policy show system Display system information Parameters
None. Example WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy]> show Active Switch Policy details ---------------------------Policy Name : Default Wireless Switch Policy Description : Switch Policy with Default Settings Country : None 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 : Default Ethernet Policy
Page 520
8-288
WS 5000 Series System Reference
# of APPolicies attached
: 1
List of APPolicies attached : 1. Default Access Port Policy. Include Adoption List details
: List is Empty.
Exclude Adoption List details
: List is Empty.
Default Adoption action for .11a : Adopt .11a with APPolicy Default Access Porty Default Adoption action for .11b : Adopt .11b with APPolicy Default Access Porty Default Adoption action for FH : Adopt FH with APPolicy Default Access Port Py Default Adoption action for .11g : Adopt .11g with APPolicy Default Access Porty DS Coexistence : Disabled WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy]> WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy]> show interfaces Interface information Access Ports -----------a_name g_name
Radio MAC --------00:09:5B:63:33:81 00:04:E2:5E:B5:3A
Device MAC Type ------------00:09:5B:63:33:81 B 00:04:E2:5E:B5:3A FH
Status -----Unavailable Unavailable
Available EtherPorts are: Ethernet 1 Ethernet 2 WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy]> WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy]> show channelinfo Generating country/channel tables. Please wait for few seconds... Country Name Code RF Channels (A, B, G and FH) -----------------------------------------Argentina AR B Ch: 1-11 G Ch: 1-11 FH Ch: 2-80 A Ch: 149,153,157,161 Australia AU 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 Austria AT 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 Bahrain BH B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: Belarus BL B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: Belgium BE B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: 36,40,44,48,52,56,60,64 Brazil BR B Ch: 1-11 G Ch: 1-11 FH Ch: 2-80 A Ch: 149,153,157,161 Bulgaria BG B Ch: 1-13 G Ch: 1-13 FH Ch: 2-80 A Ch: Canada CA 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 Press any key to continue...or (q)uit
Page 521
CLI Command Reference
8-289
8.57 Restricted Channel Instance Restricted Channel is a subcontext of a Switch Policy instance. There are three Restricted Channel instances, one for each of the three 802.11x radio types. You drop into an instance by invoking restrictedchannel command from a Switch Policy instance. Restricted channels are removed from the set of channels that can be chosen during Automatic Channel Selection (ACS). Table 8.62 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.62 Classifier 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 add
Add a channel to the restricted list.
page 8-289 remove
Remove a channel from the restricted list.
page 8-290 show
Display available restricted channel instance details.
page 8-290
8.57.1 add
Channel Instance Add a channel to the list of restricted channels. Use show channelinfo to see a list of channels for the radio type for which instance you are in. Syntax add channel [optional_description] Parameters channel_num
The channel that you want to restrict. The set of valid channel numbers depends on the country setting and radio type.
description
Optional description that explains why the channel is restricted.
Example WS5000.(Cfg).SPolicy.[Name].Restricted.[Radio]> add channel 153 Adding 153 to the restricted list... Status: Success. WS5000.(Cfg).SPolicy.[Name].Restricted.[Radio]>
Page 522
8-290
WS 5000 Series System Reference
8.57.2 remove
Channel Instance Remove a channel from the list of restricted channels, thus making it available for use during Automatic Channel Selection. Syntax remove <channel_num> Parameters channel_num
The channel that you want to “unrestrict”. The set of valid channel numbers depends on the country setting and radio type.
Example WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy].Restricted.[A]> remove 153 Removing 153 from the restricted list... Status : Success.
8.57.3 show Display restricted channel details. Syntax show or show <attribute> Parameters attribute channelInfo
Description
Display a list of country codes and the channels each country supports. If channelInfo is not used, a list of restricted channels is displayed.
Example WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy].Restricted.[A]> show Radio ----A A
Restricted Ch. -------------153 46
Description -----------
WS5000.(Cfg).SPolicy.[Default Wireless Switch Policy].Restricted.[A]>