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

WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 383 to 392

Pages 383 to 392 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 383

CLI Command Reference

8-151

Table 8.26 Access Port Map Context Command Summary (Continued) Command

Description

BSS Map (AP Type)

Ref.

set bw

Set the guaranteed bandwidth that is assigned to a WLAN.

1BSS-to-16ESS (AP200a) 4BSS-to-16ESS (AP200b, AP300, AP4121)

page 8-152 set primaryWLAN

Set the primary WLAN for this map.

1BSS-to-16ESS (AP200a) 4BSS-to-16ESS (AP200b, AP300, AP4121)

page 8-153 unselect

Unassign a WLAN to the map.

4BSS-to-4ESS (AP100) 1BSS-to-1ESS (AP302x)

page 8-153 show commands

Display context specific attributes.

All page 8-154

8.21.1 select

Port Map Context Assigns a WLAN to the map. Note This command applies only to: 4BSS-to-4ESS (AP100), 1BSS-to-1ESS (AP302x).

Syntax select <wlan_name> Parameters wlan_name

The name of the WLAN to take on the BSS ID assignment.

Example WS5000.(Cfg).APPolicy.[NY_APpolicy].Map.[4BSS-4ESS]> select WLAN_NE Success. 4BSS-4ESS mapping (used for AP100): WLAN Name Selected ---------------WLAN_NE * Total BandWidth:

BW(%) ----5.00% 5.00%

WS5000.(Cfg).APPolicy.[NY_APpolicy].Map.[4BSS-4ESS]>

Page 384

8-152

WS 5000 Series System Reference

8.21.2 set bss

Port Map Context Assigns a BSS index ID to a WLAN. The WLAN must already be part of the Access Port Policy that owns this Map. Note This command applies only to: 4BSS-to-16ESS (AP200b, AP300, AP4121)

Syntax set bss <bss_index> <wlan_name> Parameters bssid

The BSS index ID that is being assigned to the WLAN. Possible values are: 1 - 4.

wlan_name

The name of the WLAN to take on the BSS index assignment.

Example WS5000.(Cfg).APPolicy.[NY_APpolicy].Map.[4BSS-16ESS]> set bss 1 WLAN_NE Configuring a Access Port Policy... Status: Success. 4BSS-16BSS mapping (used for AP200 11b radio, AP300 and AP4121): WLAN Name BSS Primary BW(%) --------------------WLAN_NE 1 * 5.00% Total BandWidth: 5.00% WS5000.(Cfg).APPolicy.[NY_APpolicy].Map.[4BSS-16ESS]>

8.21.3 set bw

Port Map Context Sets the guaranteed bandwidth that’s assigned to a WLAN. The total bandwidth for all WLANs within a Map must equal 100. This command applies only to: 1BSS-to-16ESS (AP200a), 4BSS-to-16ESS (AP200b, AP300, AP4121) Syntax set bw <bandwidth> <wlan_name> Parameters bandwidth

The percentage of bandwidth assigned to the WLAN. Valid percentages are in the range from 5 to 100.

wlan_name

The name of the WLAN.

Example WS5000.(Cfg).APPolicy.[NY_APpolicy].Map.[4BSS-16ESS]> set bw 20 WLAN_NE Configuring a Access Port Policy...

Page 385

CLI Command Reference

8-153

Status: Success. 4BSS-16BSS mapping (used for AP200 11b radio, AP300 and AP4121): WLAN Name BSS Primary BW(%) --------------------WLAN_NE 1 * 20.00% Total BandWidth: 20.00% WS5000.(Cfg).APPolicy.[NY_APpolicy].Map.[4BSS-16ESS]>

8.21.4 set primaryWLAN

Port Map Context Sets the Primary WLAN for this map. Note This command applies only to: 1BSS-to-16ESS (AP200a), 4BSS-to-16ESS (AP200b, AP300, AP4121). Syntax set primaryWLAN <wlan_name> Parameters wlan_name

The name of the WLAN.

Example WS5000.(Cfg).APPolicy.[QIAPPolicy01].Map.[4BSS-16ESS]> set primarywlan QIWLAN01 Configuring a Access Port Policy... Status: Success. 4BSS-16BSS mapping (used for AP200 11b radio, AP300, AP4121 and AP4131): WLAN Name BSS Primary BW(%) --------------------QIWLAN01 1 * 100.00% Total BandWidth: 100.00% WS5000.(Cfg).APPolicy.[QIAPPolicy01].Map.[4BSS-16ESS]>

8.21.5 unselect

Port Map Context Unassigns a WLAN to the map. Note This command applies only to: 4BSS-to-4ESS (AP100), 1BSS-to-1ESS (AP302x)

Syntax select <wlan_name> Parameters wlan_name

The name of the WLAN to be unassigned from the BSSID assignment.

Page 386

8-154

WS 5000 Series System Reference

Example WS5000.(Cfg).APPolicy.[NY_APpolicy].Map.[4BSS-4ESS]> unselect WLAN_NE Success. 4BSS-4ESS mapping (used for AP100): WLAN Name Selected ---------------WLAN_NE Total BandWidth:

BW(%) ----% 0.00%

WS5000.(Cfg).APPolicy.[NY_APpolicy].Map.[4BSS-4ESS]>

8.21.6 show

Port Map Context Syntax show Parameters

None. Example WS5000.(Cfg).APPolicy.[NY_APPolicy].Map.[4BSS-4ESS]> show 4BSS-4ESS mapping (used for AP100): WLAN Name Selected ---------------WLAN_NE * Total BandWidth:

BW(%) ----5.00% 5.00%

WS5000.(Cfg).APPolicy.[NY_APPolicy].Map.[4BSS-4ESS]>

Page 387

CLI Command Reference

8-155

8.22 Classifier Context (CE) A Classifier is a predicate that tests various aspects of a network packet: Source and destination IP, transport protocol, and so on. A packet will either “pass” or “fail” the predicate. The action that is taken when a packet passes or fails a Classifier isn’t included in the Classifier definition - that is the job (primarily) of a Classification Group. See the Network Policy (NP) Context for an overview of the objects that are involved in the packet filtering mechanism. This mechanism also involves Classification Group (CG) Context and Classification Group (CG) Context. Table 8.27 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.27 Classifier 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 Classifier.

page 8-155 ce

Select a Classifier to configure.

page 8-156 remove

Remove a Classifier.

page 8-156 show

Display available classification groups.

page 8-157

8.22.1 add

Context (CE) Creates and names a Classifier instance, and changes the prompt to the instance’s context. Syntax add <ce_name> Parameters ce_name

Name given to the new Classifier.

Example WS5000.(Cfg).CE> add TestClassifier Adding Classifier... Status: Success. Classifier information...

Page 388

8-156

WS 5000 Series System Reference

Available Classifiers (CE): 1. Ex HTTP Traffic. 2. Ex Telnet Traffic. 3. RTP_Data. 4. Spectra_Link_Phone. 5. VoIP_Call_Setup_In. 6. VoIP_Call_Setup_Out. 7. VoIP_Ext_Services_Out. 8. VoIP_Ext_Services_In. 9. VoIP_RAS_In. 10. VoIP_RAS_Out. 11. Spectralink_Multicast. 12. TestClassifier. Classifier information... Classifier Name CE Description # of Matching Criteria assigned

: TestClassifier : : 0

WS5000.(Cfg).CE.[TestClassifier]> ..

8.22.2 ce

Context (CE) Changes the prompt to the context for the named Classifier instance. Syntax ce <ce_name> Parameters ce_name

Selects the Classifier by name.

Example WS5000.(Cfg).CE> ce 1 Classifier information... Classifier Name CE Description # of Matching Criteria assigned

: Ex HTTP Traffic : : 3

Matching Criteria details for 'Destination Port' : (MC Offset: 10) 1. 80. Matching Criteria details for 'EtherType' : (MC Offset: 2) 1. 800. Matching Criteria details for 'Protocol' : (MC Offset: 5) 1. 6 : TCP Transmission Control WS5000.(Cfg).CE.[Ex HTTP Traffic]>

8.22.3 remove

Context (CE) Use remove to remove a classifier.

[RFC793].

Page 389

CLI Command Reference

Syntax remove <name> Parameters name

The name of the Classifier that is to be removed.

Example WS5000.(Cfg).CE> remove TestClassifier Removing Classifier... Status: Success. Classifier information... Available Classifiers (CE): 1. Ex HTTP Traffic. 2. Ex Telnet Traffic. 3. RTP_Data. 4. Spectra_Link_Phone. 5. VoIP_Call_Setup_In. 6. VoIP_Call_Setup_Out. 7. VoIP_Ext_Services_Out. 8. VoIP_Ext_Services_In. 9. VoIP_RAS_In. 10. VoIP_RAS_Out. 11. Spectralink_Multicast. WS5000.(Cfg).CE>

8.22.4 show

Context (CE) WS5000.(Cfg).CE> show

Shows Classifier details. Syntax show Parameters

None. Example WS5000.(Cfg).CE> show Classifier information... Available Classifiers (CE): 1. Ex HTTP Traffic. 2. Ex Telnet Traffic. 3. RTP_Data. 4. Spectra_Link_Phone. 5. VoIP_Call_Setup_In. 6. VoIP_Call_Setup_Out. 7. VoIP_Ext_Services_Out. 8. VoIP_Ext_Services_In. 9. VoIP_RAS_In. 10. VoIP_RAS_Out. 11. Spectralink_Multicast. WS5000.(Cfg).CE>

8-157

Page 390

8-158

WS 5000 Series System Reference

8.23 Classifier Instance A Classifier instance contains a collection of “matching criteria” (MC). Each MC consists of a network packet attribute and the value to which the attribute is compared. As packets arrive from or are sent to the wireless network, they’re evaluated by the Classifier. If the packet attribute matches the value, then the packet “passes” the MC; if the attribute doesn’t match, the packet “fails.” The action that’s taken when a packet passes or fails a Classifier isn’t defined by the Classifier itself - it’s defined by the higher-level Classification Group object. A Classifier’s collection of MCs are evaluated and conjoined consecutively, in the order they were added. If successive criteria identify the same packet attribute, the criteria are OR’d, otherwise they’re AND’d. You don't have any control over the grouping of the criteria other than savvy ordering. In general, you should stick to simple Classifier MCs and build more complicated tests by combining Classifiers in a Classification Group.

!

IMPORTANT! THE MATCHING CRITERIA ARE EVALUATED USING A CASESENSITIVE STRING COMPARISON.

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

Add a new matching criteria.

page 8-158 name

Change the name of the Classifier.

page 8-160 description

Configure a brief description for the Classifier.

page 8-160 removeMC

Remove a matching criteria.

page 8-161 setMC

Configure matching criteria variables.

page 8-161 show

Show details about the Classifier.

page 8-162

8.23.1 addMC

Instance Adds a new matching criterion to the Classifier. Syntax addMC <parameters>

Page 391

CLI Command Reference

8-159

Parameters

MACsource <MAC_address>

The MAC address of the device that sent the packet. The value is a MAC address in the usual form.

MACdestination <dest_MAC_address>

The MAC address of the device to which the packet is being sent. The value is a MAC address in the usual form.

ethertype <RFC1700 Ethernet type values>

Ethernet type values, as defined by RFC 1700. Values are hex numbers in the range [0 - FFFF].

vlanid <IDnumber>

The ID of the VLAN to/from which the packet is being sent/has been received. The value is a number.

userpriority <priority_value>

Relative priority value. The value is a number in the range [0 - 7].

protocol <protocol_value>

Ethernet protocol. The value is a (decimal) number in the range [0 - 254].

tos <tos_value>

Type of Service identifier. The value is a number in the range [0 - 63].

IPsource <IPaddress> <subnet_mask>

The IP address and subnet mask of the device from which the packet emerged. The subnet mask is passed as a second argument (subnet_mask). Both arguments are dot-separated IP addresses.

IPdestination <IPaddress> <subnet_mask>

The IP address and subnet mask of the device to which the packet is being sent. The subnet mask is passed as a second argument (subnet_mask). Both arguments are dot-separated IP addresses.

sourceport <port#> [end_port#]

The Ethernet port number, on the originating device, through which the packet was sent. Optionally, a specific port can be declared (as a decimal number), or a range of ports by supplying a second port number as the end_port argument. Valid port numbers are in the range [0, 65535].

destinationport <port#> [end_port#]

The Ethernet port number, on the recipient device, to which the packet is being sent. Optionally, a specific port can be declared (as a decimal number), or a range of ports by supplying a second port number as the end_port argument. Valid port numbers are in the range [0, 65535].

MCMask <MAC_address>

Multicast mask. The value is a MAC address that’s used to mask the range of recipients of a broadcast packet.

Example WS5000.(Cfg).CE.[HTTP_ce]> addmc IPsource 172.39.80.2 255.255.255.0 Adding Matching Criteria for the CE... Status: Success. Classifier information... Classifier Name : HTTP_ce CE Description : # of Matching Criteria assigned : 3 Matching Criteria details for 'Destination IP' : (MC Offset: 8) Matching Criteria details for 'Source Port' : (MC Offset: 9) 1. 7001. 2. 7001-7010. Matching Criteria details for 'Source IP' : (MC Offset: 7) 1. 172.39.80.2 IP Mask: 255.255.255.0 WS5000.(Cfg).CE.[HTTP_ce]>

Page 392

8-160

WS 5000 Series System Reference

8.23.2 name

Instance This CLI is used to change the name of the classifier. Syntax name <name> Parameters name

The new name placeholder

Example WS5000.(Cfg).CE.[NewTraffic]> name "Ex HTTP Traffic" Configuring name... Status : Success. WS5000.(Cfg).CE.[Ex HTTP Traffic]>

8.23.3 description This CLI is used to set the description for the policy or item selected in the context. Syntax description <description_text> Parameters description_text

The content of the description can be entered in this placeholder.

Example WS5000.(Cfg).CE.[Ex Telnet Traffic]> description "This classifier is related to Telnet Traffic" Adding description... Status : Success. Classifier information... Classifier Name CE Description Traffic # of Matching Criteria assigned

: Ex Telnet Traffic : This classifier is related to

Telnet

: 3

Matching Criteria details for 'Destination Port' : (MC Offset: 10) 1. 23. Matching Criteria details for 'EtherType' : (MC Offset: 2) 1. 800. Matching Criteria details for 'Protocol' : (MC Offset: 5) 1. 6 : TCP Transmission Control WS5000.(Cfg).CE.[Ex Telnet Traffic]>

[RFC793].