|
|
Use the show time command to display the current time of day in the system clock.
show timeThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current time:
Console> show time
Thu Aug 10 1998, 02:54:50 Console>
The output shows the day of the week, month, day, year, hour, minutes, and seconds.
Use the show timezone command to display the current time zone and offset.
show timezoneThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
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>
Use the show tokenring command to display the current values of various Token Ring-specific configuration parameters.
show tokenringThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This command is supported on Token Ring modules only.
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-66 describes the fields in the show tokenring command output.
| 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. |
Use the show top command to start the TopN process.
show top [N] [metric] [interval interval] [port_type] [background]
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 in-errors---in errors buf-ovflw---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---Ethernet port 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. |
The defaults are as follows:
Switch command.
Normal.
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 completely displays. Other commands are blocked until the report has displayed.
This example shows how to start the TopN process with the background option:
Console> show top 10 util interval 600 background
09/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 600
Start Time: 09/11/1998,12:04:16
End Time: 09/11/1998,12:14:18
PortType: all
Metric: util
Port 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 0
5/48 10 0 3543 45 0 34 0 0
5/47 10 0 45367 124 0 219 0 0
5/46 10 0 23456 49 0 108 0 0
5/45 10 0 2314 218 0 701 0 0
Console>
Use the show top report command to list all TopN processes and specific TopN report.
show top report [report_num]
report_num | (Optional) TopN report number for each process. |
This command has no default setting.
Switch command.
Normal.
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.
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 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 5
Rpt 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 2
Start Time: 09/11/1998,11:34:00
End Time: 09/11/1998,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>
|
|