The text of a manual · part 45 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 403 to 412
Pages 403 to 412 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 403
CLI Command Reference
CPU Temperature System Temperature System Fan (rpm) CPU Fan (rpm) System Fan 2 System Fan 3 System Fan 4
42 C 38 C 8437 23275 OFF OFF 15340
48 C 40 C 8653 675000 15340
40 C 36 C 8437 5000 15000
8-171
0 C 30 C None None None None None
WS5000.(Cfg).Chassis> set notify cpu-temperature 40 Configuring notify temperature... Status: Success. Description ----------CPU Temperature System Temperature System Fan (rpm) CPU Fan (rpm) System Fan 2 System Fan 3 System Fan 4
Curr Value ---------45 C 37 C 8544 24107 OFF OFF 15340
Max Value --------48 C 40 C 8653 675000 15340
Min Value --------40 C 36 C 8437 5000 15000
Notify Value -----------40 C 30 C None None None None None
WS5000.(Cfg).Chassis>
8.26.2 show
Context Display a table of temperature and fan speed statistics. Under normal circumstances, both the system and the CPU should hover around 36 degrees. The Max Value and Min Value readings are the maximum and minimum temperatures since the switch was last booted. Currently, you cannot install a notification for fan speed. Syntax WS5000.(Cfg).Chassis> show Parameters
None. Example WS5000.(Cfg).Chassis> show Description ----------CPU Temperature System Temperature System Fan (rpm) CPU Fan (rpm) System Fan 2 System Fan 3 System Fan 4
Curr Value ---------34 C 36 C OFF 21093 OFF OFF 15340
Max Value --------36 C 38 C 675000 15340
Min Value --------33 C 32 C 9782 15000
Notify Value -----------45 C 45 C None None None None None
Page 404
8-172
WS 5000 Series System Reference
8.27 Ethernet Port Context There are two Ethernet ports on WS5000 Series switches. • •
Port 1 connects (by convention) to the wired LAN. Port 2 connects to the wireless LAN.
Table 8.32 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.32 Ethernet Port 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 ping
Ping a network host/IP address page 8-9 port
Changes the context to an Ethernet port instance.
page 8-172 show
Display context specific attributes page 8-173
8.27.1 port
Port Context Changes the context to an Ethernet port instance. Syntax port <port_number> Parameters port_number
The index of the Ethernet port. Either 1 or 2.
Example WS5000.(Cfg).Ethernet> port 1 Name : Ethernet 1 Network Interface Card # : 1 Description : Ethernet Adapter MAC Address : 00:A0:F8:65:94:B8 Status : Enable Online : Yes Configured Mode : auto Negotiated Mode - Duplex : Full Negotiated Mode - Speed : 100 DHCP status : Disable IP Address : 10.1.1.101
Page 405
CLI Command Reference
Network Mask Domain Name Port type (trunk/non-trunk) VLAN Tags seen Up-Time Transmit packets Received packets Gateway DNS servers 1. 111.222.111.100.
: 255.255.255.0 : domain1 : Non-Trunk : None : 12d:03h:54m : 4260726 : 4959514 : 111.222.111.254 :
WS5000.(Cfg).Ethernet.[1]>
8.27.2 show
Port Context Display Ethernet port details. Syntax show show interfaces Parameters
(none)
Display a list of Ethernet port instances.
interfaces
Shows adopted Access Port info and lists the switch’s Ethernet ports
Example WS5000.(Cfg).Ethernet> show Available EtherPorts are: Ethernet 1 Ethernet 2 WS5000.(Cfg).Ethernet>
8-173
Page 406
8-174
WS 5000 Series System Reference
8.28 Ethernet Port Instance There are two Ethernet Port instances, one for each of the WS5000’s NICs. The instances are identified by number: 1 or 2. By convention, the WLAN is connected to the switch through NIC 1, and NIC 2 connects the switch to the wired network. Table 8.33 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.33 Ethernet 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 ping
Sends ICMP ECHO_REQUEST packets to a network host.
page 8-9 description
Set description text about the Ethernet port instance.
page 8-15 ipAddress
Configure an IP address for the Ethernet port.
page 8-174 set
Configure the Ethernet port.
page 8-175 show
Display details about the Ethernet Port instance.
page 8-177
8.28.1 ipAddress
Port Instance Assigns an IP address to this Ethernet port instance. Syntax ipAddress <IP_address> <net_mask> ipaddress dhcp <enable_flag> Parameters IP_address
The IP address assigned to the Ethernet port if DHCP is disabled. Otherwise, use the “ipaddress dhcp” command.
net_mask
The network mask assigned to the Ethernet port if DHCP is disabled. Otherwise, use the “ipaddress dhcp” command.
enable_flag
When the ipaddress dhcp command is used, this flag indicates that the Ehernet port’s IP address should be assigned by DHCP. Possible value is “enable” only, because otherwise DHCP is disabled by default.
Example WS5000.(Cfg).Ethernet.[1]> ipaddress 111.222.111.33 255.255.255.0
Page 407
CLI Command Reference
8-175
Configuring IP address of Ethernet 1... Status: Success. Name : Ethernet 1 Network Interface Card # : 1 Description : Ethernet Adapter MAC Address : 00:A0:F8:65:94:B8 Status : Enable Online : Yes Configured Mode : auto Negotiated Mode - Duplex : Full Negotiated Mode - Speed : 100 DHCP status : Disable IP Address : 10.1.1.101 Network Mask : 255.255.255.0 Domain Name : domain1 Port type (trunk/non-trunk) : Non-Trunk VLAN Tags seen : None Up-Time : 12d:03h:58m Transmit packets : 4261430 Received packets : 4960275 Gateway : 111.222.111.254 DNS servers : 1. 111.222.111.100. WS5000.(Cfg).Ethernet.[1]> WS5000.(Cfg).Ethernet.[1]> ipaddress dhcp enable Configuring IP address of Ethernet 1... Status: Failed. ERROR: Cannot set parameter. DHCP can only be enabled on single interface at a time. WS5000.(Cfg).Ethernet.[1]>
8.28.2 set
Port Instance Sets an attribute of this Ethernet port instance. Syntax set <attribute> [<value>] Parameters attribute
Description cfgMode
Sets the Ethernet port mode. Possible values are: • Auto • 10_Half • 10_Ful • 100_Half • 100_Full dhcp
Enables/disables the DHCP client for this port. Possible values are: • enable • disable gateway
Sets the IP address of the gateway. Enter the IP address as a value.
Page 408
8-176
WS 5000 Series System Reference attribute
Description nonTrunk
Sets the port to be non-trunked.
trunk <primary_vLanID>
Sets the port to be a trunked.
vLanId
Sets the primary VLAN ID. The port automatically becomes trunked.
clearVlanTags
Clears the VLAN tag register.
Example WS5000.(Cfg).Ethernet.[1]> set port_parameter is a required parameter. Syntax: set <port_parameter> <value> Valid commands: set dhcp set domain set vlanid set gateway set dns set trunk set nontrunk set clearvlantags set cfgmode Incomplete command... use '?' for help.... exiting... WS5000.(Cfg).Ethernet.[1]> WS5000.(Cfg).Ethernet.[1]> set vlanid 5 Configuring Ethernet port... Status: Success. Name Network Interface Card # Description MAC Address Status Online Configured Mode Negotiated Mode - Duplex Negotiated Mode - Speed DHCP status IP Address Network Mask Domain Name Port type (trunk/non-trunk) Primary VLAN id VLAN Tags seen Up-Time Transmit packets Received packets Gateway DNS servers 1. 111.222.111.100. WS5000.(Cfg).Ethernet.[1]>
: Ethernet 1 : 1 : Ethernet Adapter : 00:A0:F8:65:94:B8 : Enable : Yes : auto : Full : 100 : Disable : 10.1.1.101 : 255.255.255.0 : domain1 : Trunk Port : 5 : None : 12d:04h:05m : 4262798 : 4961764 : 111.222.111.254 :
Page 409
CLI Command Reference
8-177
8.28.3 show
Port Instance Display Ethernet Port instance information. Syntax show show interfaces Parameters
(none)
Display a list of Ethernet port instances.
interfaces
Shows adopted Access Port info and lists the switch’s Ethernet ports
Example WS5000.(Cfg).Ethernet.[1]> show Name : Ethernet 1 Network Interface Card # : 1 Description : Ethernet Adapter MAC Address : 00:A0:F8:65:94:B8 Status : Enable Online : Yes Configured Mode : auto Negotiated Mode - Duplex : Full Negotiated Mode - Speed : 100 DHCP status : Disable IP Address : 10.1.1.101 Network Mask : 255.255.255.0 Domain Name : domain1 Port type (trunk/non-trunk) : Trunk Port Primary VLAN id : 5 VLAN Tags seen : None Up-Time : 12d:04h:07m Transmit packets : 4263145 Received packets : 4962140 Gateway : 111.222.111.254 DNS servers : 1. 111.222.111.100. WS5000.(Cfg).Ethernet.[1]> 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
Available EtherPorts are: Ethernet 1 Ethernet 2 WS5000.(Cfg).Ethernet.[1]>
Device MAC Type ------------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
Status -----Active Active Unavailable Unavailable Unavailable Unavailable
Page 410
8-178
WS 5000 Series System Reference
8.29 Ethernet Policy (EtherPolicy) Context Ethernet policies are used by the WS5000 Series switch to configure a VLAN ID to an Ethernet port. Table 8.34 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.34 Ethernet 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 Ether Policy to the system.
page 8-178 policy
Select an Ethenet policy to configure.
page 8-179 remove
Remove an Ethernet policy.
page 8-179 show
Display available classifier instance details.
page 8-179
8.29.1 add
Policy (EtherPolicy) Context Creates and names an Ethernet Policy instance, and changes the prompt to the new instance’s context. Syntax add <name> Parameters name
The name that’s given to the new Ethernet policy.
Example WS5000.(Cfg).EtherPolicy> add LabEtherPolicy Adding Ether Policy... Status : Success. Available EtherPolicies are: 1. Default Ethernet Policy. 2. eth1. 3. LabEtherPolicy. Ether Policy Name Description Rest of Network on VLANs mapped are: LAN2
: LabEtherPolicy : : Ethernet 2 --> Ethernet: 2
Page 411
CLI Command Reference
WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]>
8.29.2 policy
Policy (EtherPolicy) Context Changes the prompt to the context of the named Ethernet policy instance. Syntax policy <name> Parameters name
Selects the Ethernet policy.
Example WS5000.(Cfg).EtherPolicy> policy LabEtherPolicy Ether Policy Name : LabEtherPolicy Description : Rest of Network on : Ethernet 2 VLANs mapped are: LAN2 --> Ethernet: 2 WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]>
8.29.3 remove
Policy (EtherPolicy) Context Removes an Ethernet Policy instance. Syntax remove <name> Parameters name
The name of the Ethernet Policy that’s to be removed.
Example WS5000.(Cfg).EtherPolicy> remove "New Ethernet Port Policy" Removing EtherPolicy... Status : Success. Available EtherPolicies are: 1. Default Ethernet Policy. 2. eth1. WS5000.(Cfg).EtherPolicy>
8.29.4 show
Policy (EtherPolicy) Context Display Ethernet Policy information.
8-179
Page 412
8-180
WS 5000 Series System Reference
Syntax show Parameters
None. Example WS5000.(Cfg).EtherPolicy> show Available EtherPolicies are: 1. Default Ethernet Policy. 2. New Ethernet Port Policy. 3. eth1. WS5000.(Cfg).EtherPolicy>