The text of a manual · part 46 of 81
WS5000 Series Switch System Reference Guide: CH 8 CLI Command Reference, pages 413 to 422
Pages 413 to 422 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 413
CLI Command Reference
8-181
8.30 Ethernet Policy Instance An Ethernet policy instance configures the two Ethernet ports to support the LAN and the WLAN, and creates and maps VLANs to the two ports. Table 8.35 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.35 Ethernet 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 add
Create and adds a VLAN to this ethernet policy instance.
page 8-181 add tunnel
Create and add an existing GRE Tunnel to this ethernet policy instance.
page 8-182 clear
Clear the screen.
page 8-8 description
Set the description text.
page 8-15 emergencymode
Enable or disable emergency mode.
page 8-8 remove
Remove a VLAN from this ethernet policy instance.
page 8-182 remove tunnel
Remove the GRE tunnel from this ethernet policy instance.
page 8-183 set
Configure attributes of the ethernet policy instance.
page 8-183 show
Display details about the ethernet policy instance.
page 8-184 tunnel
Select a tunnel to configure.
page 8-185 vlan
Select a VLAN to configure.
page 8-185
8.30.1 add
Policy Instance Creates and adds a VLAN to this Ethernet Policy instance. Syntax add <vlan_ID> <NIC> Parameters vlan_ID
The number that’s assigned to this VLAN. Valid VLAN ID numbers are in the range [1-4095].
NIC
The NIC that will support this VLAN.
Example WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]> add 200 1
Page 414
8-182
WS 5000 Series System Reference
Adding VLAN... Status : Success. Ether Policy Name Description Rest of Network on VLANs mapped are: LAN2 VLAN 200 ID -VLAN 200
Interface --------Ethernet 1
: LabEtherPolicy : : Ethernet 2 --> Ethernet: 2 --> Ethernet: 1 Priority -------0
# of WLANs ---------0
Ethernet Policy --------------LabEtherPolicy
WS5000.(Cfg).EtherPolicy.[LabEtherPolicy].Vlan.[200]>
8.30.2 add tunnel
Policy Instance Creates/ adds a GRE Tunnel to this ethernet policy instance. Syntax addtunnel <tunnel_name> Parameters tunnel_name
Place holders for one of the existing GRE tunnels.
Example WS5000.(Cfg).EtherPolicy.[tunnelEP]> addtunnel tunnel4 Adding Tunnel... Status : Success. Ether Policy Name Description Rest of Network on VLANs mapped are: LAN1 LAN2 TUNNEL 1 TUNNEL 3 TUNNEL 4 Tunnel ------tunnel4
Interface --------Ethernet 2
: tunnelEP : : Ethernet 2 --> Ethernet: 1 --> Ethernet: 2 --> Ethernet: 2 --> Ethernet: 2 --> Ethernet: 2 Priority -------0
# of WLANs ---------0
Ethernet Policy --------------tunnelEP
WS5000.(Cfg).EtherPolicy.[tunnelEP].Tunnel.[tunnel4]>
8.30.3 remove
Policy Instance Removes a VLAN from this Ethernet Policy instance.
Page 415
CLI Command Reference
8-183
Syntax remove <vlan_id> Parameters vlan_id
The ID number of the VLAN that’s to be removed. For a list of VLAN IDs, invoke show vlan.
Example WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]> remove LAN2 Ether Policy Name : LabEtherPolicy Description : Rest of Network on : Ethernet 2 VLANs mapped are: WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]>
8.30.4 remove tunnel Removes the Tunnel from the EtherPolicy. Syntax removetunnel <tunnel_name> Parameters tunnel_name
Place holders for one of the existing GRE tunnels that you want to remove from the etherpolicy.
Example WS5000.(Cfg).EtherPolicy.[tunnelEP]> removetunnel tunnel4 Removing Tunnel... Status : Success. Ether Policy Name Description Rest of Network on VLANs mapped are: LAN1 LAN2 TUNNEL 1 TUNNEL 3
: tunnelEP : : Ethernet 2 --> Ethernet: 1 --> Ethernet: 2 --> Ethernet: 2 --> Ethernet: 2
WS5000.(Cfg).EtherPolicy.[tunnelEP]>
8.30.5 set
Policy Instance Configure attributes of the Ethernet Policy instance. Syntax set <attribute> <value>
Page 416
8-184
WS 5000 Series System Reference
Parameters attribute
Description ronnic <Ethernet_Port#>
Sets the “rest of the network” NIC. This is the NIC that connects the switch to the wired network. Possible values are: • 1 – Ethernet port 1 • 2 – Ethernet port 2 description <text_string>
Adds a description string to the Ethernet Policy instance.
Example WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]> show Ether Policy Name : LabEtherPolicy Description : Rest of Network on : Ethernet 2 VLANs mapped are: LAN2 --> Ethernet: 2 WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]> set ronnic 1 Ether Policy Name : LabEtherPolicy Description : Rest of Network on : Ethernet 1 VLANs mapped are: LAN2 --> Ethernet: 2 WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]> description “Created 3-8-05” Ether Policy Name : LabEtherPolicy Description : Created 3-8-05 Rest of Network on : Ethernet 1 VLANs mapped are: LAN2 --> Ethernet: 2 WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]>
8.30.6 show
Policy Instance Display Ethernet Policy details. Syntax show Parameters
None. Example WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]> show Ether Policy Name : LabEtherPolicy Description : Rest of Network on : Ethernet 2 VLANs mapped are: LAN2 --> Ethernet: 2 WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]>
Page 417
CLI Command Reference
8.30.7 tunnel Use this to configure a tunnel. Syntax tunnel <tunnel_name> Parameters tunnel_name
Place holders for one of the existing GRE tunnels that you want to configure.
Example WS5000.(Cfg).EtherPolicy.[tunnelEP]> tunnel tunnel3 Tunnel ------tunnel3
Interface --------Ethernet 2
Priority -------0
# of WLANs ---------0
Ethernet Policy --------------tunnelEP
WS5000.(Cfg).EtherPolicy.[tunnelEP].Tunnel.[tunnel3]>
8.30.8 vlan
Policy Instance Changes the prompt to the context of the VLAN identified by VLAN ID. Syntax vlan <vlan_ID> Parameters vlan_ID
The ID of the VLAN. For a list of VLAN IDs, invoke show vlan.
Example WS5000.(Cfg).EtherPolicy.[LabEtherPolicy]> vlan 200 Adding VLAN... Status : Success. Ether Policy Name Description Rest of Network on VLANs mapped are: LAN2 VLAN 200 ID -VLAN 200
Interface --------Ethernet 1
: LabEtherPolicy : : Ethernet 2 --> Ethernet: 2 --> Ethernet: 1 Priority -------0
# of WLANs ---------0
Ethernet Policy --------------LabEtherPolicy
WS5000.(Cfg).EtherPolicy.[LabEtherPolicy].Vlan.[200]>
8-185
Page 418
8-186
WS 5000 Series System Reference
8.31 Event Context The Event context provides a place to configure notifications and severities of system events. Table 8.36 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.36 Event 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 set
Configuration option to configure notifications and severities for events sent to the Syslog.
page 8-186 syslog
Changes the prompt to the Syslog context.
page 8-187 show
Display available system events, and notification settings for various page 8-187 system logs.
8.31.1 set
Context Provides event notification and event severity configurations for events sent to the Syslog. Syntax set <event> <target> <<enable | severity> | disable> set all <localLog | snmpTrap | syslog> <<enable | severity> | disable> set all default Parameters event
Describes the event that you’re interested in. Either all or a number in the range [1, 69]. Use the show command for a list of available events.
target
The recipient of the events. One of localLog, snmpTrap, syslog, or all.
enable, disable
Enables and disables recording of the event. If your target is syslog, then you can pass a severity value rather than simply enable’ing the event.
severity
Events that are sent to the Syslog are tagged with a severity, one of emerg(ency), alert, crit(ical), err(or), info, notice, and warning. If you enable an event without a severity, it assumes a default severity setting.
all <localLog | snmpTrap | syslog>
The first set all form of the command lets you send or repress all events to/from the specified target.
Page 419
CLI Command Reference all default
8-187
This form of the command resets all events to their factory defaults.
8.31.2 syslog
Context Changes the prompt to the Syslog Context. See page 8-189 for more details.
8.31.3 show
Context Display available system events, and notification settings in terms of the following logging: •
Local log – Events are recorded in a local log file. You can dump the log file to the screen through show sysAlerts in the System or Configuration context.
•
SNMP Traps – You can ask to have an SNMP trap thrown when a specific event occurs.
•
Syslog – The Syslog is a remote event-recording server. You have to set up the server yourself and identify the server’s host.
Syntax show Parameters
None. Example WS5000.(Cfg)> show Num Events --- -----1 License number change 2 Clock change 3 Packet discard [wrong NIC] 4 Packet discard [wrong VLAN] 5 AP adopt failure [general] 6 AP adopt failure [policy disallow] 7 AP adopt failure [acl disallow] 8 AP adopt failure [limit exceeded] 9 AP adopt failure [license disallow] 10 AP adopt failure [no image] 11 AP status [offline] 12 AP status [alert] 13 AP status [adopted] 14 AP status [reset] 15 AP config failed [no ESS] 16 AP max MU count reached 17 AP detected 18 Device msg dropped [info] 19 Device msg dropped [loadme] 20 Ether port connected 21 Ether port disconnected 22 MU assoc failed [ACL violation] 23 MU assoc failed 24 MU status [associated] 25 MU status [roamed] 26 MU status [disassociated]
Local Log --------Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled
SNMP Trap --------Disabled Disabled Disabled Disabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled
Syslog Severity --------------Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled
Page 420
8-188
WS 5000 Series System Reference
27 MU EAP auth failed Enabled 28 MU EAP auth success Enabled 29 MU Kerberos auth failed Enabled 30 MU Kerberos auth success Enabled 31 MU TKIP [decrypt failure] Enabled 32 MU TKIP [replay failure] Enabled 33 MU TKIP [MIC error] Enabled 34 WLAN auth success Enabled 35 WLAN auth failed Enabled 36 WLAN max MU count reached Enabled 37 Mgt user auth failed [radius] Disabled 38 Mgt user auth rejected Disabled 39 Mgt user auth success [radius] Enabled 40 Radius server timeout Enabled 41 KDC user [added] Enabled 42 KDC user [changed] Enabled 43 KDC user [deleted] Enabled 44 KDC DB replaced Enabled 45 KDC propagation failure Enabled 46 WPA counter-measures [active] Enabled 47 Primary lost heartbeat Enabled 48 Standby active Enabled 49 Primary internal failure [reset] Enabled 50 Standby internal failure [reset] Enabled 51 Standby auto-revert Enabled 52 Primary auto-revert Enabled 53 Auto channel select error Enabled 54 Emergency Policy [active] Enabled 55 Emergency Policy [deactivated] Enabled 56 Low flash space on switch Enabled 57 Miscellaneous debug events Disabled 58 HSB Starts Up Enabled 59 HSB Peer Connect Enabled 60 CPU/SYS Temp Notification Enabled 61 Access Changed Notification Enabled 62 Radio power is reduced [TPC] Enabled 63 Radar is detected [DFS] Enabled 64 Channel selected to avoid radar [DFS] Enabled 65 Switch to new channel [DFS] Enabled 66 Revert back to original channel [DFS] Enabled 67 Radio is suspended Enabled 68 Radio is resumed Enabled 69 Radio is moved to random channel Enabled 70 A new rogue AP is detected Enabled 71 A new approved AP is detected Enabled 72 WVPN certificate anomalies Enabled 73 WVPN Config/connection changes Enabled 74 RADIUS Accounting Log Disabled 75 RADIUS Server Status Enabled 76 Switch configuration changed Disabled 77 Tunnel Status change Enabled 78 NON IP packet received on Tunnel Enabled 79 RF Stats threshold crossed by a Portal Enabled 80 RF Stats threshold crossed by a MU Enabled 81 RF Stats threshold crossed by a WLAN Enabled 82 RF Stats threshold crossed by Switch Enabled 83 AP is converted to sensor Enabled 84 Sensor is reverted back to AP Enabled 85 Failed to communicate to a sensor Enabled 86 Sensor is no longer responding to ping Enabled WS5000.(Cfg).Event>
Enabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled Enabled Enabled Disabled Disabled Disabled Enabled Disabled Disabled Disabled Enabled Enabled Enabled Disabled Enabled Disabled Disabled Enabled Enabled Enabled Enabled Enabled Enabled Disabled Disabled Disabled Enabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled
Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled
Page 421
CLI Command Reference
8-189
8.32 Syslog Context The Syslog context is a subcontext of Event. The commands in the Syslog context let you configure and control the remote and local event logging system. The remote service sends system logging information to a remote host, which must have a message logging daemon running. The remote host is set through the add command. To tailor the types of messages that the syslog will be sent, use the set command. The local file is saved under /WS5000 Switch/Userlogs/admin (if admin is the user). All syslog messages are in RFC 3164 message format. Table 8.37 summarizes the commands within this context. Common commands between multiple contexts are described in further detail in the Common Commands section. Table 8.37 Syslog 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 add
Add a new host to the system.
page 8-189 clear
Clear the screen.
page 8-8 emergencymode
Enable or disable Emergency mode.
page 8-8 local
Enables you to debug logs stored locally page 8-190 logdir
Display the user saved log files page 8-190 logsubsys
Selects the subsystem to be sent to the remote syslog server page 8-191 ping
Sends ICMP ECHO_REQUEST packets to a network host.
page 8-9 purgelocal
Purge the local syslog contents from memory page 8-192 remlocal
Deletes the specified local syslog file page 8-193 remove
Remove the syslog host page 8-193 save local
Save local syslog in a file page 8-194 set
Set syslog host severity level.
page 8-194 show
Display available classifier instance details page 8-196 start
Start syslog service.
page 8-196 stop
Stop syslog service.
page 8-197
8.32.1 add
Context Add a new host to the system.
Page 422
8-190
WS 5000 Series System Reference
Syntax add <host_name> <IP_address> [domain] Parameters host_name
Gives a (local) name to the host.
IP_address
IP address of the remote host.
domain
Optional domain name of the remote host.
Example WS5000.(Cfg).Event.Syslog> add SFhost 111.222.111.32 domain1 Adding Host... Status: Success. Host Name --------SFhost
IP Address ---------111.222.111.32
Domain -----domain1
WS5000.(Cfg).Event.Syslog>
8.32.2 local
Context Stores the debug logs locally and maintains a ring buffer of debug logs. To save the logs to a file use the command: save local <filename>
To view the logs use the command: view local <filename>
To delete the logs to a file use the command: remlocal <filename> Syntax local <enable | disable> Parameters enable/disable
Enable/disable the local syslog.
Example WS5000.(Cfg).Event.Syslog> local enable Local Syslog enabled WS5000.(Cfg).Event.Syslog>
8.32.3 logdir
Context This command displays the contents of all directories (one directory each for each user) under /WS5000 Switch/Userlogs/ <the local log log file saved with a .syslog extension>