Table Of Contents
show time
Use the show time command to display the current time of day in the system clock.
show time
Syntax Description
This command has no keywords or arguments.
Default
This command has no default setting.
Command Type
Switch command.
Command Mode
Normal.
Example
This example shows how to display the current time:
Console> show timeThu Aug 10 1998, 02:54:50Console>The output shows the day of the week, month, day, year, hour, minutes, and seconds.
Related Command
show timezone
Use the show timezone command to display the current time zone and offset.
show timezone
Syntax Description
This command has no arguments or keywords.
Default
This command has no default setting.
Command Type
Switch command.
Command Mode
Normal.
Example
This example shows how to display the current time zone and offset:
Console> show timezoneTimezone set to 'pst', offset from UTC is -8 hoursConsole>Related Commands
show tokenring
Use the show tokenring command to display the current values of various Token Ring-specific configuration parameters.
show tokenring
Syntax Description
This command has no arguments or keywords.
Default
This command has no default setting.
Command Type
Switch command.
Command Mode
Normal.
Usage Guidelines
This command is not supported by the Catalyst 4000 and 2948G series switches.
This command is supported on Token Ring modules only.
Example
This example shows how to display the Token Ring settings for port 4 on module 3:
Console> show tokenring 3/4Ports Crf/Brf Ring# Port-Mode Early-Token AC-bits----- --------- ----- ------------- ----------- --------3/4 1003/0 3276 auto enabled disabledPorts Prior-Thresh Min-Xmit MAC-Address----- ------------ -------- -----------------3/4 3 4 00:05:77:01:bb:11Ports Cfg-Loss-Thresh Cfg-Loss-Intvl Cfg-Loss-Count Cfg-Loss-Reason----- --------------- -------------- -------------- ---------------3/4 8 1 0 noneConsole>describes the fields in the show tokenring command output.
Related Commands
show top
Use the show top command to start the TopN process.
show top [N] [metric] [interval interval] [port_type] [background]
Syntax Description
Default
The defaults are as follows:
•
Number of ports displayed is 20
•
Port statistics to report on is util
•
Sample duration is 30 seconds
•
Switch port types is all
Command Type
Switch command.
Command Mode
Normal.
Usage Guidelines
You can terminate TopN processes with the background option specified only by using the clear top [report_num] command. You cannot terminate TopN processes by pressing Ctrl-C.
TopN reports with the background option specified are not displayed on the screen unless you enter a show top report [report_num] command.
If you do not specify the background option, the output TopN results are dumped to the screen when the task is done, and the results are printed one time only and are not saved.
You can terminate TopN processes (without the background option) by pressing Ctrl-C in the same Telnet/console session, or by entering a clear top [report_num] command from a separate Telnet/console session. The prompt is not printed before the TopN report is displayed completely. Other commands are blocked until the report has displayed.
The tr and fddi port_type options are not supported by the Catalyst 4000 and 2948G series switches.
Examples
This example shows how to start the TopN process with the background option:
Console> show top 10 util interval 600 background09/11/1998,14:05:38:MGMT-5: TopN report 2 started by telnet/172.20.22.7/.Console>09/11/1998,14:15:38:MGMT-5: TopN report 2 available.This example shows how to start the TopN process without the background option:
Console> show top 10 util interval 600Start Time: 09/11/1998,12:04:16End Time: 09/11/1998,12:14:18PortType: allMetric: utilPort Band- Uti Tx/Rx-bytes Tx/Rx-pkts Tx/Rx-bcst Tx/Rx-mcst In- Buf-width % err Ovflw----- ----- --- -------------------- ---------- ---------- ---------- ---- -----1/1 100 0 65433 824 0 719 0 05/48 10 0 3543 45 0 34 0 05/47 10 0 45367 124 0 219 0 05/46 10 0 23456 49 0 108 0 05/45 10 0 2314 218 0 701 0 0Console>Related Commands
show top report
Use the show top report command to list all TopN processes and specific TopN report.
show top report [report_num]
Syntax Description
Default
This command has no default setting.
Command Type
Switch command.
Command Mode
Normal.
Usage Guidelines
If you do not specify report_num, this command lists all the active TopN processes and all the available TopN reports for the switch. Each process is associated with a unique report number. All TopN processes (both with and without background option) are shown in the list.
An asterisk displayed after the pending status field indicates that it is not a background TopN and the results are not saved.
Examples
This example shows how to display all the active TopN processes and all the available TopN reports for the switch:
Console> show top reportRpt Start time Int N Metric Status Owner (type/machine/user)--- ------------------- --- --- ---------- -------- -------------------------1 09/11/1998,11:34:00 60 20 Tx/Rx-Bytes done telnet/172.20.22.7/2 09/11/1998,11:34:08 600 10 Util done telnet/172.34.39.6/4 09/11/1998,11:35:17 300 20 In-Errors pending Console//5 09/11/1998,11:34:26 60 20 In-Errors pending* Console//Console>This example shows an attempt to display a TopN report 5 (shown in the first example) that is still in pending status:
Console> show top report 5Rpt Start time Int N Metric Status Owner (type/machine/user)--- ------------------- --- --- ---------- -------- -------------------------5 09/11/1998,11:34:26 60 20 In-Errors pending* Console//Console>This example shows how to display the available TopN report 2 (shown in the first example) for the switch:
Console> show top report 2Start Time: 09/11/1998,11:34:00End Time: 09/11/1998,11:34:33PortType: allMetric: utilPort Band- Uti Tx/Rx-bytes Tx/Rx-pkts Tx/Rx-bcst Tx/Rx-mcst In- Buf-width % err Ovflw----- ----- --- -------------------- ---------- ---------- ---------- ---- -----/15 100 88 98765432109876543210 9876543210 98765 12345 123 3215/48 10 75 44532 5389 87 2 0 05/47 10 67 5432 398 87 2 0 05/46 10 56 1432 398 87 2 0 05/45 10 54 432 398 87 2 0 05/44 10 48 3210 65 10 10 15 55/43 10 45 432 5398 87 2 2 05/42 10 37 5432 398 87 2 0 05/41 10 36 1432 398 87 2 0 05/40 10 14 2732 398 87 2 0 0Console>Related Commands
