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

WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 393 to 402

Pages 393 to 402 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 393

CLI Command Reference

8.23.4 removeMC

Instance Removes the matching criterion for the named criteria. Syntax removeMC <parameters> Parameters

See parameters described in addMC command on page 8-158. Example WS5000.(Cfg).CE.[HTTP_ce]> removemc IPsource Removing Matching Criteria... Status: Success. Classifier information... Classifier Name CE Description # of Matching Criteria assigned

: HTTP_ce : : 2

Matching Criteria details for 'Destination IP' : (MC Offset: 8) Matching Criteria details for 'Source Port' : (MC Offset: 9) 1. 7001. 2. 7001-7010. WS5000.(Cfg).CE.[HTTP_ce]>

8.23.5 setMC

Instance Sets the value of an existing matching criterion. Syntax setMC <paremeters> Parameters

See parameters described in addMC command on page 8-158. Example WS5000.(Cfg).CE.[HTTP_ce]> setmc sourceport 7001 7010 Configuring CE Matching Criteria... Status: Success. Classifier information... Classifier Name CE Description # of Matching Criteria assigned

: HTTP_ce : : 3

Matching Criteria details for 'Source IP' : (MC Offset: 7) Matching Criteria details for 'Destination IP' : (MC Offset: 8) Matching Criteria details for 'Source Port' : (MC Offset: 9) 1. 7001.

8-161

Page 394

8-162

WS 5000 Series System Reference

2. 7001-7010. WS5000.(Cfg).CE.[HTTP_ce]>

8.23.6 show

Instance Shows details for this Classifier instance. Syntax show show mc Parameters

None. Example WS5000.(Cfg).CE.[Name]> show Classifier information... Classifier Name CE Description # of Matching Criteria assigned

: HTTP_ce : : 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 395

8-163

CLI Command Reference

8.24 Classification Group (CG) Context A Classification Group (CG) is a collection of classifiers that evaluate network packets as they are sent to or received from wireless devices (in Layer 2/layer 3 filters) and wired devices in firewall filters. The CG collects classifiers and specifies what the classifier should do after it evaluates a packet. It declares whether a packet that passes the classifier evaluation is accepted (allowed to proceed along the network) or denied (thrown away). See the Network Policy (NP) Context for an overview of the objects that are involved in the packet filtering mechanism. Also, see Classifier Context (CE) and Policy Object (PO) Context for more details. Table 8.29 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.29 Classification Group 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

Creates and names a new Classification Group instance.

page 8-163 cg

Changes the prompt to the context to a specified Classification Group instance.

page 8-164 remove

Removes a Classification Group instance.

page 8-164 show commands

Display available classification groups.

page 8-165

8.24.1 add

Group (CG) Context Creates and names a new Classification Group instance, and changes the prompt to the instance’s context. Syntax add <cg_name> Parameters cg_name

The name to be given to the new Classification Group.

Example WS5000.(Cfg).CG> add voip_in_cg Adding Classification Groups... Status: Success.

Page 396

8-164

WS 5000 Series System Reference

Classification Group information... Available Classification Groups: 1. NetVision_VoIP_In. 2. NetVision_VoIP_Out. 3. New Classification Group. 4. voip_in_cg. Classification Group information... Classification Group Name CG Description No of classifiers for this CG

: voip_in_cg : : 0

WS5000.(Cfg).CG.[voip_in_cg]>

8.24.2 cg

Group (CG) Context Changes the prompt to the context for a Classification Group instance. Syntax cg <cg_name> Parameters cg_name

The selected Classification Group.

Example WS5000.(Cfg).CG> cg voip_in_cg Classification Group information... Classification Group Name CG Description No of classifiers for this CG

: voip_in_cg : : 1

Classifiers & Action details: 1. RTP_Data --> Allow WS5000.(Cfg).CG.[voip_in_cg]>

8.24.3 remove

Group (CG) Context Removes a Classification Group instance. Syntax remove <cg_name> Parameters cg_name

The name of the Classification Group to be removed.

Example WS5000.(Cfg).CG> remove "New Classification Group" Removing Classification Group... Status: Success.

Page 397

CLI Command Reference

Classification Group information... Available Classification Groups: 1. NetVision_VoIP_In. 2. NetVision_VoIP_Out. 3. voip_in_cg. WS5000.(Cfg).CG>

8.24.4 show

Group (CG) Context Display information about a system component or named context instance. Syntax show show ce Parameters

None. Example WS5000.(Cfg).CG> show Classification Group information... Available Classification Groups: 1. NetVision_VoIP_In. 2. NetVision_VoIP_Out. 3. new_CG. WS5000.(Cfg).CG>

8-165

Page 398

8-166

WS 5000 Series System Reference

8.25 Classification Group Instance When you drop into a Classification Group instance, the CG’s set of Classifiers and associated actions are displayed. Table 8.30 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.30 Classification Group 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 description

Add a text string to describe the Classification Group in more detail.

page 8-166 emergencymode

Enable or disable Emergency mode.

page 8-8 name

Rename a classification Group Instance.

page 8-167 set

Set configuration parameters regarding the specific Classification Group Instance. Parameters such as name, adding and removing classifiers, and setting actions page 8-167 show

Display available classification groups.

page 8-168

8.25.1 description

Group Instance Configures a brief description for the Classification Group instance. Syntax description <description_text> Parameters description_text

Brief description of the Classification Group instance.

Example WS5000.(Cfg).CG.[anotherName]> description "This is a VOIP Group" Adding description... Status : Success. Classification Group information... Classification Group Name CG Description No of classifiers for this CG WS5000.(Cfg).CG.[anotherName]>

: anotherName : This is a VOIP Group : 0

Page 399

CLI Command Reference

8-167

8.25.2 name

Group Instance Rename a Classification Group Instance. Syntax name <new_name> Parameters new_name

New Name that the current Classification Group will be renamed.

Example WS5000.(Cfg).CG.[new_CG]> name anotherName Configuring name... Status : Success. WS5000.(Cfg).CG.[anotherName]>

8.25.3 set

Group Instance Performs an operation on the Classification Group instance. Syntax set <attribute> <value> Parameters attribute

Description name <cg_name>

Sets the name of the Classification Group. Same as name command.

addCE <ce_name>

Adds the named Classifier instance to the CG.

removeCE <ce_name>

Removes the named Classifier instance from the CG.

action

Associates an action with a Classifier (ce_name) that has been added to the CG. Possible values are: • allow <ce_name> – If this is set, packets that pass the Classifier are allowed to continue and they’re marked as being part of this Classification Group instance (this will be important when we bump up a level to Input and Output Policies). Packets that don’t pass the evaluation are not immediately thrown away - they’re allowed or denied according to the default action defined in the Input or Output Policy that uses this CG. • deny <ce_name> – Packets that pass the Classifier are thrown away. Packets that don’t pass are allowed to continue (again, with no CG marking).

Example WS5000.(Cfg).CG.[voip_in_cg]> set name VoIP_in_CG WS5000.(Cfg).CG.[VoIP_in_CG]>

Page 400

8-168

WS 5000 Series System Reference

WS5000.(Cfg).CG.[voip_in_cg]> show ce 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. New HTTP Traffic Classifier. WS5000.(Cfg).CG.[voip_in_cg]> set addce Spectra_Link_Phone Configuring Classification Group... done. Classification Group information... Classification Group Name : voip_in_cg CG Description : No of classifiers for this CG : 2 Classifiers & Action details: 1. RTP_Data 2. Spectra_Link_Phone

--> Allow --> Allow

WS5000.(Cfg).CG.[voip_in_cg]> WS5000.(Cfg).CG.[voip_in_cg]> set removece Spectra_Link_Phone Configuring Classification Group... done. Classification Group information... Classification Group Name : voip_in_cg CG Description : No of classifiers for this CG : 1 Classifiers & Action details: 1. RTP_Data --> Allow WS5000.(Cfg).CG.[voip_in_cg]> WS5000.(Cfg).CG.[voip_in_cg]> set action deny Spectra_Link_Phone Configuring Classification Group... done. Classification Group information... Classification Group Name : voip_in_cg CG Description : No of classifiers for this CG : 2 Classifiers & Action details: 1. RTP_Data 2. Spectra_Link_Phone

--> Allow --> Deny

WS5000.(Cfg).CG.[voip_in_cg]>

8.25.4 show

Group Instance Display information about this Classification Group instance.

Page 401

CLI Command Reference

Syntax show Parameters

None. Example WS5000.(Cfg).CG.[CG_name]> show Classification Group information... Classification Group Name CG Description No of classifiers for this CG WS5000.(Cfg).CG.[CG_name]>

: anotherName : This is a VOIP Group : 0

8-169

Page 402

8-170

WS 5000 Series System Reference

8.26 Chassis Context Display and manage CPU and system temperature. 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.31 Chassis 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 set notify

Tells the switch to send a notification if the temperature of the CPU or of the system, in general, rises above a given threshold.

page 8-170 show

Display context specific attributes page 8-171

8.26.1 set notify

Context Tells the switch to send a notification if the temperature of the CPU or of the system rises above a given threshold. Notifications are sent to the local system log, the Syslog, and cause an SNMP trap to be thrown.

!

IMPORTANT! THE SYSTEM AUTOMATICALLY SHUTS DOWN IF THE CPU OR SYSTEM TEMPERATURE RISES ABOVE 105 DEGREES.

Syntax set notify <cpu-temperature | system-temperature> <threshold> Parameters threshold

The temperature threshold is expressed in degrees centigrade and must fall in the range [0, 105]. The notification is only sent when the temperature rises from below to above the threshold temperature - it isn’t sent when the temperature drops from above to below the threshold.

Example WS5000.(Cfg).Chassis> set notify system-temperature 30 Configuring notify temperature... Status: Success. Description -----------

Curr Value ----------

Max Value ---------

Min Value ---------

Notify Value ------------