cc/td/doc/product/lan/cat5000/rel_5_1
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

show time
show timezone
show tokenring
show top
show top report

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 time
Thu Apr 15 1999, 02:54:50
Console> 
 

The output shows the day of the week, month, day, year, hour, minutes, and seconds.

Related Command

set time

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 timezone
Timezone set to 'pst', offset from UTC is -8 hours
Console> 
Related Commands

clear timezone
set timezone

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/4
Ports   Crf/Brf      Ring#    Port-Mode        Early-Token    AC-bits
-----   ---------    -----    -------------    -----------    --------
 3/4    1003/0       3276     auto             enabled        disabled
 
Ports   Prior-Thresh    Min-Xmit    MAC-Address
-----   ------------    --------    -----------------
 3/4    3               4           00:05:77:01:bb:11
 
Ports   Cfg-Loss-Thresh  Cfg-Loss-Intvl  Cfg-Loss-Count  Cfg-Loss-Reason
-----   ---------------  --------------  --------------  ---------------
 3/4    8                1               0               none
Console> 
 

Table 2-72 describes the fields in the show tokenring command output.


Table 2-72: show tokenring Command Output Fields
Field Description

Ports

Module and port number.

Crf/Brf

TrCRF to which a port is assigned and the parent BRF associated with the CRF.

Ring

Logical ring number (in hexadecimal format) assigned to the TrCRF. Possible values are auto and 01 through FFF.

Port-Mode

Operation mode of the port. Possible values are auto, fdxcport, fdxstation, hdxcport, hdxstation, passive, or riro. Only FDX and HDX modes are detected automatically. The operation mode of riro applies to fiber ports only.

Early-Token

Status of whether the port is enabled for early token release. Possible values are yes and no; the default is yes. Early token release is valid for 16-Mbps media only. If the early token release is enabled and the media speed is 4 Mbps, the switch forces early token release to be disabled.

AC-bits

Status of whether the AC-bits should be set unconditionally on repeated source-routed LLC frames. These include source-routed frames with RIF length greater than 2 and all Spanning-Tree Explorer and All-Routes Explorer frames; the default is no. If you set this parameter to no, the setting of these bits is based on whether the frame was actually forwarded.

Prior-Thresh

Highest Token Ring frame priority in the Frame Control field of the frame that the switch should place in the low-priority transmit queue. Possible values are 0 through 7; the default is 3.

Min-Xmit

Minimum reservation priority used when requesting a token on a busy ring. Possible values are 0 through 6; the default is 4.

MAC-Address

MAC address of the port.

Cfg-Loss-Thresh

Value used to control the number of configuration losses that can occur within the configuration loss sampling interval. Configuration loss occurs when a port completes a connection, allows data traffic to flow, and subsequently closes. When the threshold is exceeded, the port is disabled and you must enable it via this panel or an SNMP manager. Possible values are 1 through 100; the default is 8.

Cft-Loss-Intvl

Sampling period (in minutes) for measuring the number of configuration losses. Possible values are 1 through 60; the default is 1.

Cfg-Loss-Count

Number of Token Ring configuration loss events after the port has completed the join process and then lost communication.

Cfg-Loss-Reason

Error code of the latest configuration loss event. Possible values are None, Wire Fault, Lobe Test Fail, TKP Frame Error, Heart Beat Fail, TXI New Station, TXI Prot Error, Speed Error, or Remove Received.

Related Commands

show port
show module

show top

Use the show top command to start the TopN process.

show top [N] [metric] [interval interval] [port_type] [background]
Syntax Description

N

(Optional) Number of ports displayed. Valid values are 1 to a maximum number of physical ports.

metric

(Optional) Port statistic to sort on. Valid values are as follows:

util---utilization

bytes---in/out bytes

pkts---in/out packets

bcst---in/out broadcast packets

mcst---in/out multicast packets

errors---in errors

overflow---buffer overflow

interval

(Optional) Keyword to specify duration of sample (in seconds).

interval

(Optional) Number of seconds for sample. Valid values include 0, 10...999 seconds. If the value is 0, the N topmost ports by absolute counter values are displayed.

port_type

(Optional) Type of switch ports to use for report. Valid values are as follows:

all---all port types are used

eth---All Ethernet port types are used

10e---10Mbps Ethenet ports types are used

fe---Fast Ethernet port types are used

ge---Gigabit Ethernet port types are used

tr---Token Ring port types are used

fddi---FDDI port types are used

background

(Optional) Keyword to specify the TopN report not to print to the screen when the task is done. Instead, send a notification out when the reports are ready.

Default

The defaults are as follows:

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 10 background
03/21/1999,14:05:38:MGMT-5: TopN report 2 started by telnet/172.20.22.7/.
Console> 
03/21/1999,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 10 
Start Time:     04/09/1999,01:12:48
End Time:       04/09/1999,01:12:58
PortType:       all
Metric:         util
Port  Band- Uti Bytes                Pkts       Bcst       Mcst       Error Over
      width  %  (Tx + Rx)            (Tx + Rx)  (Tx + Rx)  (Tx + Rx)  (Rx)  flow
----- ----- --- -------------------- ---------- ---------- ---------- ----- ----
 3/1    100   0                13824          9          0          0    11    0
 6/48    10   0                    0          0          0          0     0    0
 6/47    10   0                    0          0          0          0     0    0
 6/46    10   0                    0          0          0          0     0    0
 6/45    10   0                    0          0          0          0     0    0
 6/44    10   0                    0          0          0          0     0    0
 6/43    10   0                    0          0          0          0     0    0
 6/42    10   0                    0          0          0          0     0    0
 6/41    10   0                    0          0          0          0     0    0
Console> 
Related Commands

clear top
show top

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

report_num

(Optional) TopN report number for each process.

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 report
Rpt  Start time          Int N   Metric      Status   Owner (type/machine/user)
---  ------------------- --- --- ----------  -------- -------------------------
  1  03/21/1999,11:34:00 60  20  Tx/Rx-Bytes done     telnet/172.20.22.7/
  2  03/21/1999,11:34:08 600 10  Util        done     telnet/172.34.39.6/
  4  03/21/1999,11:35:17 300 20  In-Errors   pending  Console//
  5  03/21/1999,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 5
Rpt  Start time          Int N   Metric     Status   Owner (type/machine/user)
---  ------------------- --- --- ---------- -------- -------------------------
5  03/21/1999,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 2
Start Time:     03/21/1999,11:34:00
End Time:       03/21/1999,11:34:33
PortType:       all
Metric:         util
Port  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  321    
 5/48 10    75  44532                5389       87         2          0    0    
 5/47 10    67  5432                 398        87         2          0    0    
 5/46 10    56  1432                 398        87         2          0    0    
 5/45 10    54  432                  398        87         2          0    0    
 5/44 10    48  3210                 65         10         10         15   5    
 5/43 10    45  432                  5398       87         2          2    0    
 5/42 10    37  5432                 398        87         2          0    0    
 5/41 10    36  1432                 398        87         2          0    0    
 5/40 10    14  2732                 398        87         2          0    0    
Console> 
Related Commands

clear top
show top


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Jul 19 13:21:59 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.