This document describes the Token Ring configuration and monitoring commands. It includes
Displaying the Token Ring Prompts
Token Ring Commands
LLC Commands
Displaying the Token Ring Prompts
To display the TKR config> prompt,
Config> prompt to display a list of interfaces.
Config>network
What is the network number [0]? 2
Token-Ring interface configuration
TKR config>
TKR> prompt,Monitor>network 2
TKR>
Press Space twice after you type a command to display the available parameters for each command for your router. Enter help for information about using the command line interface.
[C] means the command is available at the TKR config> prompt.
[M] means the command is available at the TKR> prompt.
| Command | Function |
|---|---|
| Dump [M] | Displays a dump of the RIF cache. |
| Exit [C] [M] | Returns to the previous prompt. |
| List [C] | Displays the selected Token Ring interface configuration. |
| LLC [C] [M] | Displays the LLC configuration or monitoring prompt. |
| Media [C] | Sets the media-type as shielded or unshielded. |
| Packet-Size [C] | Changes packet-size for all Token Ring networks. |
| Set [C] | Sets the aging timer for the RIF cache and the MAC address. |
| Source-routing [C] | Enables or disables source-routing on the interface. |
| Speed [C] | Sets the interface speed in MB/sec. |
| SRT-STAT [M] | Displays statistical information for transparent bridging. |
Dump [M]
When you enable source routing on the Token Ring interface, dump requests a dump of the RIF cache contents. The dump command applies to protocols only. It does not apply to DLSw or bridging.
TKR>dump
MAC address State Usage RIF
0000C90B1A57 ON_RING Yes 0220
|
MAC address
| MAC address of the Token Ring interface. |
|
State
|
Displays one of the following states: On_ring a RIF was found for a node on the ring. Have_route a RIF was found for a node on a remote ring. No_route displayed for a brief period of time as an explorer frame is sent out and the router is waiting for a return. Discovering the router sent an explorer frame to rediscover the RIF. St_route a route obtained from a Spanning tree explorer. |
|
Usage
| A RIF was used in a packet. The number is arbitrary and has no functional significance. |
|
RIF
| Displays a code that indicates the RIF in hexadecimal. |
Exit [C] [M]
Returns to the previous prompt.
exit
List [C]
Displays the current configuration for the Token Ring interface.
list
Token Ring configuration:
Packet size (INFO field: 2052
Speed: 16 Mb/sec
Media: Unshielded
RIF Aging Timer 120
Source Routing: Disabled
MAC Address: 000000000000
LLC>). LLC configuration is required to
pass packets over an SNA network. See LLC Commands
for a description of these commands.
Example: llc
LLC user configuration
LLC config>
Some routers also provide auto-config as a media option. This option automatically selects the media type.
Syntax: media shielded or unshielded
Example:media unshielded
Packet-Size [C]
Changes packet-size for all Token Ring networks. Changing packet size can greatly increase buffer memory requirements.
Table 2 shows valid packet sizes for 4 Mbps and 16 Mbps networks.
| Speed | Values (# of bytes) |
|---|---|
| 4 Mbps | 1470, 2052, 4399* |
| 16 Mbps |
1470, 2052, 4399 8130, 11407, 17749 |
|
*Configuring a packet size greater than 4399 forces the software to set the packet size at 4399. | |
packet-size
Packet (MSDU) size(1470,2052,4399,8130,11407, 17749)[2052]? 4399
MAC address in 00:00:00:00:00:00 []?
RIF aging timer value [120]? 120
This switch is completely independent of whether this interface is providing source routing via the SRT forwarder. The default is enabled.
Some stations cannot properly receive frames with a Source Routing RIF on them. This is especially common among NetWare drivers. Disabling source routing in this situation allows you to communicate with these stations.
You should enable source routing only if there are source routing bridges on this ring through which you want to bridge IP, IPX, or AppleTalk packets.
source-routing enable
Speed [C]
Changes the data speed. The options are 4 or 16. The default speed is 4 Mbps. Although you can enter this command for all Token Ring interfaces, the software accepts only entries for ProNET-4/16 interfaces.
speed 16
SRT-STAT [M]
Displays information specific to transparent bridging configured on this interface. Srt-stat applies only to hardware that contains Content Addressable Memory (CAM) chips.
srt-stat
LLC Commands
LLC configuration is required to pass packets over an SNA network. Enter configuration commands at the LLC config> prompt, which you display by entering llc at the TKR config> prompt. Enter monitoring commands at the LLC> prompt, which you display by entering llc at the TKR> prompt.
Table 3 summarizes and the following sections explain the LLC commands.
| Command | Function |
|---|---|
| Clear-Counters [M] | Clears all statistical counters. |
| Exit [C] [M] | Returns to the previous prompt. |
| List [C] [M] | Displays the selected LLC configuration. At monitoring prompt, displays interface, SAP, and session information. |
| Set [C] [M] | Sets the timers associated with LLC, and the size of the transmit and receive windows. |
Clear-Counters [M]
Clears all the LLC statistical counters.
clear-counters
Exit [C] [M]
Returns to the previous prompt.
exit
List [C] [M]
Displays information at the configuration and monitoring prompts as described below.
List [C]
Displays the current LLC configuration.
list
Reply Timer (T1): 1 seconds
Receive ACK Timer (T2): 100 milliseconds
Inactivity Timer (Ti): 30 seconds
Max Retry value (N2): 8
Rcvd I-frames before ACK (N3): 1
Transmit Window (Tw): 2
Receive Window (Rw): 2
Acks needed to increment Ww (Nw): 1
SAP Number of Sessions
F4 1
SAP value in hex (0-FE) [1]? F4
Interface 0, TKR/0
Reply Timer (T1) 1 sec
Receive ACK Timer (T2) 100 millisec
Inactivity Timer (Ti) 30 sec
MAX Retry Value (N2) 8
MAX I-Field Size (N1) 2052
Rcvd I-frames before ACK (N3) 1
Transmit Window Size (Tw) 2
Acks Needed to Inc Ww (Nw) 1
Frame Xmt Rcvd
UI-frames 4 5
TEST-frames 0 1
XID-frames 0 0
I-frames 291 26
RR-frames 81 291
RNR-frames 0 0
REJ-frames 0 0
SABME-frames 1 0
UA-frames 0 1
DISC-frames 0 0
DM-frames 0 0
FRMR-frames 0 0
I-frames discarded by LLC 0
I-frames Refused by LLC user 0
Cumulative number of sessions 1
Number of active sessions 1
Session ID Remote
(int-sap-id) Local MAC Remote MAC SAP State
00-F4-0000 00:00:C9:08:41:DB 10:00:5A:F1:02:37 F4 OPENED
session
Displays information on the specified LLC session that is open on the interface.
Session Id: [0]? 00-F4-0000
Interface 0, TKR/0
Remote MAC addr 10:00:5A:F1:02:37
Source MAC addr 00:00:C9:08:35:47
Remote SAP F4
Local SAP F4
RIF (089E 0101 0022 0010)
Access Priority 0
State LINK_OPENED
Replay Timer 1 sec
Receive ACK Timer (T2) 100 millisec
Inactivity Timer (Ti) 80 sec
MAX I-Field Size (N1) 2052
MAX Retry Value (N2) 8
Rcvd I-frames before ACK (N3) 1
Transmit Window Size (Tw) 2
Working Transmit Size (Ww) 2
Acks Needed to Inc Ww (Nw) 1
Current Send Seq (Vs) 9
Current Rcv Seq (Vr) 7
Last ACK'd sent frame (Va) 9
No. of frames in ACK pend q 0
No. of frames in Tx pend q 0
Local Busy NO
Remote Busy NO
Poll Retry count 8
Appl output flow stopped NO
Send process running YES
Frame Xmt Rcvd
I-frames 1456 2678
RR-frames 502 403
RNR-frames 0 0
REJ-frames 0 0
I-frames discarded by LLC 0
I-frames Refused by LLC user 0
|
Session Id
| Session ID number. |
|
Interface
| Interface over which this session is running. |
|
Remote MAC addr
| MAC address of the remote LLC peer. |
|
Source MAC addr
| MAC address of the local LLC. |
|
Remote SAP
| Remote router's SAP address for the LLC connection. |
|
Local SAP
| Local router's SAP for the LLC connection. |
|
RIF
| RIF of the frame. |
|
Access Priority
| Priority of the packet. 0-7 for upper layer control. |
|
State
|
The finite state(s) that results from interaction between the LLC peers. See list sap for more information. |
|
Receive ACK timer (T2)
| Time delay the LLC uses before sending an acknowledgment for a received I-frame. |
|
Inactivity timer (Ti)
| Time the LLC waits during inactivity before issuing an RR. |
|
MAX I-field size (N1)
| Maximum size of the data field (in bytes) of a frame. Default is the size of the interface. |
|
MAX Retry Value (N2)
| Number of times the LLC transmits an RR without receiving an acknowledgment |
|
Rcvd I-frames before ACK (N3)
| Value that is used with T2 timer to reduce acknowledgment traffic for received I-frames. |
|
Transmit window size (Tw)
| Number of I-frames that can be sent before receiving an RR. |
|
Working transmit size (Ww)
| Number of I-frames that are sent before receiving an RR. This can be less than Tw during the dynamic window algorithm. |
|
Acks Needed to Inc Ww (Nw)
| Number of I-frames that the LLC must receive before incrementing Ww by 1. |
|
Current send seq (Vs)
| Send state variable (Ns value for the next I-frame to be transferred). |
|
Current Rcv seq (Vr)
| Receive state variable (next in-sequence Ns to be accepted). |
|
Last ACK'd sent frame (Va)
| Acknowledged state variable (last valid Nr received). |
|
No. of frames in ACK pend q
| Transmitted I-frames waiting for acknowledgment. |
|
No. of frames in transmit pend q
| Number of frames waiting to be transmitted. |
|
Local Busy
| The local router's LLC connection is sending RNRs. |
|
Remote Busy
| The remote router's LLC is receiving RNRs. |
|
Poll Retry count
| Current value of the retry of the counter (counts down) in the LLC protocol. |
|
Appl output flow stopped
| LLC has told the application to stop giving it outgoing data frames. |
|
Send process running
| This process runs concurrently with all other frame actions and takes I-frames in the transmit queue and sends them. |
|
Frames -Xmt and Rcvd
| Displays the total number of frame types transmitted (Xmt) and (Rcvd). |
|
I-frames discarded by LLC
| I-frames discarded by the LLC, usually because the sequence number is wrong. |
|
I-frames refused by LLC user
| I-frames discarded by the software above the LLC. For example, LNM (LAN Network Manager) and DLSw (Data Link Switching). |
Set [C] [M]
Configures the LLC. At the monitoring prompt, dynamically configures the LLC parameters on the current LLC session. Changes that you make are effective for the life of session.
CAUTION:
Changing LLC parameters from the defaults can affect how the LLC protocol works.
Max Retry value (N2) [8]?
Example: set n3-frames-rcvd-before-ack
Number I-frames received before sending ACK(N3) [1]?
Example: set rw-receive-window
Receive Window (Rw), 127 Max. [2]?
Example: set nw-acks-to-inc-ww
Acks needed to increment Ww (Nw) [1]?
Reply Timer (T1) in sec. [1]?
Example: set t2-receive-ack-timer
Receive Ack timer (T2) in 100 millisec. [1]?
Example: set ti-inactivity-timer
Inactivity Timer (Ti) in sec. [30]?
Example: set tw-transmit-window
Transmit Window (Tw), 127 Max. [2]?