xref: /csrg-svn/old/dlmpcc/mpcctab.4 (revision 49639)
1*49639Scael.\" Copyright (c) 1987, 1991 The Regents of the University of California.
235864Sbostic.\" All rights reserved.
331008Smckusick.\"
435864Sbostic.\" This code is derived from software contributed to Berkeley by
535864Sbostic.\" Computer Consoles Inc.
631008Smckusick.\"
7*49639Scael.\"	%sccs.include.redist.roff%
835864Sbostic.\"
9*49639Scael.\"     @(#)mpcctab.4	6.5 (Berkeley) 05/10/91
1035864Sbostic.\"
11*49639Scael.Dd
12*49639Scael.Dt MPCCTAB 4
13*49639Scael.Os
14*49639Scael.Sh NAME
15*49639Scael.Nm mpcctab
16*49639Scael.Nd
17*49639Scael.Tn MPCC
18*49639Scaelconfiguration file
19*49639Scael.Sh DESCRIPTION
20*49639ScaelThe
21*49639Scael.Tn ASCII
22*49639Scaelfile
23*49639Scael.Nm mpcctab
24*49639Scaelis used to configure
25*49639Scael.Tn CCI Ns 's
26*49639ScaelMulti-Protocol
27*49639ScaelCommunication Controller
28*49639Scael.Pq Tn MPCC .
2931008SmckusickThe controller provides high-speed
30*49639Scaelsynchronous communications for the
31*49639Scael.Tn POWER
32*49639Scaelfamily
3331008Smckusickof computers.
34*49639ScaelThis file determines the
35*49639Scael.Tn MPCC
36*49639Scaelboard
3731008Smckusickconfigurations. You can download either a synchronous , bisync or
38*49639Scaelan asynchronous protocol to an
39*49639Scael.Tn MPCC
40*49639Scaelboard.
41*49639Scael(See
42*49639Scael.Xr dlmpcc 8
43*49639Scaelfor details.)
44*49639Scael.Pp
45*49639ScaelA
46*49639Scael.Nm mpcctab
47*49639Scaelfile is supplied
48*49639Scaelwith each
49*49639Scael.Tn MPCC
50*49639Scaelrelease; however,
51*49639Scaelyou can modify this file or create your own file.
52*49639Scael.Pp
5331008SmckusickThe contents of the file
5431008Smckusickconsists of entries that describe supported communication
5531008Smckusickprotocols and their unique attributes. The protocols supported are
56*49639Scael.Tn X Ns \&.25 ,
57*49639Scael.Tn SNA ,
58*49639Scael.Tn ASYNC ,
59*49639Scaeland
60*49639Scael.Tn BISYNC .
61*49639ScaelFor
62*49639Scael.Tn ASYNC
63*49639Scaeltwo different entries are possible in the
64*49639Scael.Em procol
65*49639Scaelfield - if 16 port
66*49639Scael.Tn MPCC
67*49639Scaelasync is configured, then
68*49639Scael.Tn ASYNC
69*49639Scaelis
70*49639Scaelentered; 32 port
71*49639Scael.Tn MPCC
72*49639Scaelasync is specified by entering
73*49639Scael.Pf \&32 Tn PORT .
7431008SmckusickThis file must reside in the directory
75*49639Scael.Pa /usr/libdata .
76*49639Scael.Sh Entry Line Format
77*49639ScaelAn entry line consists of an
78*49639Scael.Em item identifier
79*49639Scaelfollowed by
8031008Smckusickvariable width arguments separated by colons. There are three
81*49639Scaelitem identifiers:
82*49639Scael.Tn MPCC ,
83*49639Scael.Tn PROTOCOL ,
84*49639Scael.Tn PORT .
85*49639ScaelThe
86*49639Scael.Tn MPCC
87*49639Scaelline in this file
88*49639Scaelidentifies the board number. The
89*49639Scael.Tn PROTOCOL
90*49639Scaelline identifies
9131008Smckusickthe specific communication protocol.
92*49639ScaelThe
93*49639Scael.Tn PORT
94*49639Scaelline describes
9531008Smckusickthe port for the immediately preceding protocol. The number
96*49639Scaelof arguments for the
97*49639Scael.Tn PROTOCOL
98*49639Scaeland
99*49639Scael.Tn PORT
100*49639Scaellines,
10131008Smckusickand the arguments themselves,
10231008Smckusickare protocol dependent. See the individual
10331008Smckusickargument descriptions for details.
104*49639Scael.Pp
10531008SmckusickNotes: Use upper case letters for clarity when specifying the item
10631008Smckusickidentifier and the protocol name. Make sure that you enter
10731008Smckusickthe argument values in the order specified below. Also, use comments
10831008Smckusickliberally, and indicate comment lines by placing a
109*49639Scaelpound sign
110*49639Scael.Pq Sy #
111*49639Scaelin column one.
112*49639Scael.Pp
11331008SmckusickThe item identifiers and their corresponding line
11431008Smckusickformats, with valid argument values, follow:
115*49639Scael.Pp
116*49639Scael.Sy MPCC Line
117*49639Scael.Pp
11831008SmckusickFormat:
119*49639Scael.Bd -filled -offset indent
120*49639Scael.Sm off
121*49639Scael.Xo
122*49639Scael.Sy MPCC: Em bdno Sy \&:
123*49639Scael.Op Sy FCCS, Em portno , timer
124*49639Scael.Sy \&:
125*49639Scael.Op Sy SOC , Em portno
126*49639Scael.Xc
127*49639Scael.Sm on
128*49639Scael.Ed
129*49639Scael.Pp
13031008SmckusickArgument Explanations:
131*49639Scael.Bl -tag -width indent -offset indent
132*49639Scael.It Em bdno
13331008SmckusickSpecifies the board number.
134*49639Scael.It Sy FCCS
135*49639Scael.Tn FCCS
136*49639Scaelis a fault-tolerant support system that allows backup ports
13731008Smckusickto assume the functions of failed ports.
13831008SmckusickFor example,
13931008Smckusickif port 0 fails for any reason,
14031008Smckusickanother port may be configured to assume the duties of the failed port.
141*49639ScaelThe keyword
142*49639Scael.Sy FCCS
143*49639Scaelidentifies this feature and must be
14431008Smckusickfollowed by the list of fail-safe port numbers and a time increment,
14531008Smckusickdescribed below.
14631008SmckusickThis feature is optional.
147*49639Scael.It Sy SOC
148*49639ScaelAn
149*49639Scael.Tn FCCS
150*49639Scaelport can also be an
151*49639Scael.Tn SOC
152*49639Scael(Switch On Close) port,
15331008Smckusickmeaning that the port will switch when it is closed.
154*49639ScaelAnd as with
155*49639Scael.Tn FCCS ,
156*49639Scaelthe port will switch if it fails.
15731008SmckusickThis feature is optional.
158*49639Scael.It Em portno
159*49639Scael.Em Portno
160*49639Scaelis a list of port numbers,
16131008Smckusickseparated by commas,
16231008Smckusickspecifying the primary ports you want protected by backup ports.
163*49639Scael.Tn FCCS
164*49639Scaelboards have either 4 primary and 4 backup ports,
16531008Smckusickor 8 primary and 8 backup ports.
16631008SmckusickThe valid port numbers are
167*49639Scael.Sy 0
16831008Smckusickthrough
169*49639Scael.Sy 3
17031008Smckusickfor the 4-port version,
17131008Smckusickand
172*49639Scael.Sy 0
17331008Smckusickthrough
174*49639Scael.Sy 7
17531008Smckusickfor the 8-port version.
176*49639Scael.Pp
17731008SmckusickEach of the ports has a switched connector.
17831008SmckusickIf the board fails for any reason,
17931008Smckusickthe traffic on these ports is automatically routed
18031008Smckusickthrough the switched connector.
181*49639ScaelThese connectors must be cabled to secondary ports on the other
182*49639Scael.Tn FCCS
18331008Smckusickconnector panels.
18431008SmckusickThe secondary ports are numbered 8 through 11 on the 4-port version and
18531008Smckusick8 through 15 on the 8-port version.
186*49639ScaelOnly the primary ports need be designated in the
187*49639Scael.Tn FCCS
188*49639Scaelconfiguration line,
189*49639Scaelhowever all ports must be identified as described in the
190*49639Scael.Tn PORT
191*49639ScaelLine section
19231008Smckusickbelow.
193*49639Scael.It Em time
19431008SmckusickSpecifies the time period for the sentinel relay timer.
19531008SmckusickEach board resets its sentinel timer after the specified
19631008Smckusicktime period. If the
19731008Smckusickboard fails, and therefore can't set the timer, then control
19831008Smckusickis passed automatically to another board, which continues
199*49639Scaelthe current processing. This feature ensures
200*49639Scael.Dq PerpetualProcessing
20131008Smckusickand is transparent to the user. The valid range of values
202*49639Scaelin milliseconds is from
203*49639Scael.Sy 50
204*49639Scaelto
205*49639Scael.Sy 5950
206*49639Scaelin
20731008Smckusick50 millisecond increments.
208*49639Scael.El
209*49639Scael.Pp
210*49639Scael.Sy PROTOCOL Line
211*49639Scael.Pp
21231008SmckusickFormat:
213*49639Scael.Pp
214*49639Scael.Bd -filled -offset indent
215*49639Scael.Sm off
216*49639Scael.Sy PROTOCOL: Em procol Sy \&: Em depargs
217*49639Scael.Sm on
218*49639Scael.Ed
219*49639Scael.Pp
22031008SmckusickArgument Explanations:
221*49639Scael.Bd -filled -offset indent
222*49639Scael.Bl -tag -width indent
223*49639Scael.It Em procol
22431008SmckusickSpecifies the protocol you want associated with the
225*49639Scaelboard specified in the previous
226*49639Scael.Tn MPCC
227*49639Scaelline.
228*49639Scael.It Em depargs
229*49639ScaelSpecifies the protocol-dependent protocol attributes.
230*49639ScaelX.25
231*49639Scaeland
232*49639Scael.Tn SNA
233*49639Scaelhave ten (10)
23431008Smckusickarguments,
235*49639Scael.Tn ASYNC
236*49639Scaelhas just
237*49639Scael.Em one 1
238*49639Scaelargument, and
239*49639Scael.Tn BISYNC
240*49639Scaelhas no arguments.
241*49639Scael.El
242*49639Scael.Pp
243*49639Scael.Em X.25 Dependent Attributes
244*49639Scael.Pp
24531008SmckusickNote: You must be familiar with the
246*49639ScaelX.25
247*49639Scael.Tn CCITT
248*49639ScaelYellow Book (1980)
24931008Smckusickin order to understand the following values.
250*49639Scael.Bl -tag -width indent
251*49639Scael.It Em "N1"
25231008SmckusickSpecifies the maximum frame size in bytes.
253*49639Scael.It Em "N2"
25431008SmckusickSpecifies the retry count.
255*49639Scael.It Em "T1"
25631008SmckusickSpecifies the retry timer in milliseconds.
257*49639Scael.It Em "T2"
25831008SmckusickSpecifies the response delay timer in milliseconds.
259*49639Scael.It Em "T3"
26031008SmckusickSpecifies the inactive link timer in milliseconds.
261*49639Scael.It Em "T4"
26231008SmckusickSpecifies the idle channel timer in milliseconds.
263*49639Scael.It Em K
26431008SmckusickSpecifies the Level 2 window size.
265*49639Scael.It Em xid1
266*49639ScaelSpecifies the destination type in the
267*49639Scael.Tn XID
268*49639Scaelcommand. It must be a number
26931008Smckusickfrom 1-5:
270*49639Scael.Bd -unfilled -offset indent
271*49639Scael1 = AXE
272*49639Scael2 = CTSS
273*49639Scael3 = DEX
274*49639Scael4 = DMS
275*49639Scael5 = WESCOM
276*49639Scael.Ed
277*49639Scael.It Em xid2
278*49639ScaelSpecifies the destination identity in the
279*49639Scael.Tn XID
280*49639Scaelcommand. It can be three to
281*49639Scaelnine
282*49639Scael.Tn ASCII
283*49639Scaelcharacters.
284*49639Scael.It Em xid3
285*49639ScaelSpecifies the additional information in the
286*49639Scael.Tn XID
287*49639Scaelcommand. It can be any
288*49639Scael.Tn ASCII
289*49639Scaelstring up to 20 characters long.
290*49639Scael.El
291*49639Scael.Pp
292*49639Scael.Em ASYNC and 32PORT Dependent Attribute
293*49639Scael.Bl -tag -width indent
294*49639Scael.It Em bufsize
29531008SmckusickSpecifies the size of the transmit/receive buffers in bytes.
296*49639Scael.El
297*49639Scael.Ed
298*49639Scael.Pp
299*49639Scael.Sy PORT Line
300*49639Scael.Pp
30131008SmckusickFormat:
302*49639Scael.Bd -filled -offset indent
303*49639Scael.Sm off
304*49639Scael.Xo
305*49639Scael.Sy PORT: Em portno
306*49639Scael.Sy \&: Em procol
307*49639Scael.Sy \&: Em depargs
308*49639Scael.Xc
309*49639Scael.Sm on
310*49639Scael.Ed
311*49639Scael.Pp
31231008SmckusickArgument Explanations:
313*49639Scael.Bd -filled -offset indent
314*49639Scael.Bl -tag -width indent
315*49639Scael.It Em portno
31631008SmckusickSpecifies the port number of the previously specified board.
317*49639Scael.It Em procol
31831008SmckusickSpecifies the protocol. You must state the same protocol
319*49639Scaelas you stated in the preceding
320*49639Scael.Tn PROTOCOL
321*49639Scaelline.
322*49639Scael.It Em depargs
32331008SmckusickSpecifies the protocol-dependent port attributes. X.25 has
324*49639Scaelfourteen (14) arguments.
325*49639Scael.Tn ASYNC ,
326*49639Scael.Pf 32 Tn PORT
327*49639Scaeland
328*49639Scael.Tn BISYNC
329*49639Scaelhave none.
330*49639Scael.Tn SNA
331*49639Scaelhas 14
33231008Smckusickfixed arguments.
333*49639Scael.El
334*49639Scael.Pp
335*49639Scael.Em X.25 Dependent Arguments
336*49639Scael.Pp
337*49639ScaelNote: You must be familiar with the X.25
338*49639Scael.Tn CCITT
339*49639ScaelYellow
34031008SmckusickBook (1980) in order to understand the following values.
341*49639Scael.Bl -tag -width surecvbuf
342*49639Scael.It Em ixmitbuf
34331008SmckusickSpecifies the number of transmit buffers allocated
34431008Smckusickfor I frames.
345*49639Scael.It Em suxmitbuf
34631008SmckusickSpecifies the number of transmit buffers allocated for
347*49639Scael.Tn S/U
348*49639Scaelframes.
349*49639Scael.It Em irecvbuf
35031008SmckusickSpecifies the number of receive buffers allocated for
35131008SmckusickI frames.
352*49639Scael.It Em surecvbuf
35331008SmckusickSpecifies the number of receive buffers allocated for
354*49639Scael.Tn S/U
355*49639Scaelframes.
356*49639Scael.It Em xmito
35731008SmckusickSpecifies the Level 1 transmit timeout.
358*49639ScaelThis argument should be
359*49639Scael.Sy 0
360*49639Scaelso that Level 1 calculates timeout from
36131008Smckusickthe baud rate.
362*49639Scael.It Em rts
36331008SmckusickSpecifies the modem control value
364*49639Scaelfor rts. Valid values are
365*49639Scael.Sy 1
366*49639Scaelwhich equals
367*49639Scael.Xr assert ,
368*49639Scael.Sy 2
369*49639Scaelwhich equals
370*49639Scael.Sy drop ,
371*49639Scaeland
372*49639Scael.Sy 3
373*49639Scaelwhich equals
374*49639Scael.Sy auto .
375*49639Scael.It Em dtr
37631008SmckusickSpecifies the modem control value for dtr.
377*49639ScaelValid values are
378*49639Scael.Sy 1
379*49639Scaelwhich equals
380*49639Scael.Xr assert ,
381*49639Scaeland
382*49639Scael.Sy 2
383*49639Scaelwhich equals
384*49639Scael.Sy drop .
385*49639Scael.It Em lineidle
38631008SmckusickSpecifies the line state between transmissions.
387*49639ScaelValid values are
388*49639Scael.Sy 0
389*49639Scaelwhich specifies a flag
390*49639Scaelfill, and
391*49639Scael.Sy 1
392*49639Scaelwhich specifies a mark fill.
393*49639Scael.It Em rcvadr
394*49639ScaelSpecifies the port configuration. A
395*49639Scael.Sy 1
396*49639Scaelmakes the port
397*49639Scaela
398*49639Scael.Tn DCE ,
399*49639Scaelwhile a
400*49639Scael.Sy 3
401*49639Scaelmakes the port a
402*49639Scael.Tn DTE .
403*49639Scael.It Em mask
40431008SmckusickSpecifies the data link receive mask. This argument must be
405*49639Scael.Sy 3 .
406*49639Scael.It Em xmtrty
40731008SmckusickSpecifies the number of data link retries after a transmit
40831008Smckusicktimeout. This argument should be zero since upper levels of X25 do retries.
409*49639Scael.It Em baud
41031008SmckusickSpecifies the baud rate of a transmission. All standard rates
411*49639Scaelare supported. Some common rate values are
412*49639Scael.Sy 0
413*49639Scaelequals a modem,
414*49639Scael.Sy 13
415*49639Scaelequals 9600, and
416*49639Scael.Sy 26
417*49639Scaelequals
418*49639Scael.Pf \&56 Tn KB .
419*49639ScaelSee the header file
420*49639Scael.Pa mp_port.h
421*49639Scaelfor other values.
422*49639Scael.It Em encode
423*49639ScaelSpecifies the physical data encoding. A
424*49639Scael.Sy 0
425*49639Scaelindicates
426*49639Scael.Tn NRZ ,
427*49639Scaeland a
428*49639Scael.Sy 1
429*49639Scaelindicates
430*49639Scael.Tn NRZI.
431*49639Scael.It Em trace
432*49639ScaelSpecifies the data link receive trace mode. This argument must be
433*49639Scael.Sy 0 .
434*49639Scael.El
435*49639Scael.Ed
436*49639Scael.Sh EXAMPLES
437*49639ScaelThe following entry configures five
438*49639Scael.Tn MPCC
439*49639Scaelboards: one for X.25,
440*49639Scael.Tn ASYNC ,
441*49639Scael.Pf 32 Tn PORT ,
442*49639Scael.Tn BISYNC
443*49639Scaeland
444*49639Scael.Tn SNA .
445*49639ScaelEach has two ports.
446*49639Scael.Bd -literal
44731008SmckusickMPCC:0
44831008SmckusickPROTOCOL:X25:272:2:6000:1000:30000:20000:8:2:ccice1:remote
44931008SmckusickPORT:0:X25:8:16:8:16:0:1:1:0:1:3:0:0:0:0
45031008SmckusickPORT:1:X25:8:16:8:16:0:1:1:0:3:3:0:0:0:0
45131008Smckusick
45231008SmckusickMPCC:1
45331008SmckusickPROTOCOL:ASYNC:128
45431008SmckusickPORT:0:ASYNC
45531008SmckusickPORT:1:ASYNC
45631008Smckusick
45731008SmckusickMPCC:2
45831008SmckusickPROTOCOL:32PORT:128
45931008SmckusickPORT:0:32PORT
46031008SmckusickPORT:1:32PORT
46131008Smckusick
46231008SmckusickMPCC:3
46331008SmckusickPROTOCOL:BISYNC
46431008SmckusickPORT:0:BISYNC
46531008SmckusickPORT:1:BISYNC
46631008Smckusick
46731008SmckusickMPCC:4
46831008SmckusickPROTOCOL:SNA:272:4:800:200:20000:20000:8:2:acey:deucy
46931008SmckusickPORT:0:SNA:8:10:10:24:5:3:1:0:193:193:1:0:0:0
47031008SmckusickPORT:1:SNA:8:10:10:24:5:3:1:0:193:193:1:0:0:0
471*49639Scael.Ed
472*49639Scael.Sh FILES
473*49639Scael.Bl -tag -width /usr/libdata/mpcctab -compact
474*49639Scael.It Pa /usr/libdata/mpcctab
475*49639Scael.It Pa /usr/libdata/mpcca
476*49639Scael.It Pa /usr/libdata/mpccb
477*49639Scael.It Pa /usr/libdata/mpcc32
478*49639Scael.It Pa /usr/libdata/mpccx
479*49639Scael.El
480*49639Scael.Sh SEE ALSO
481*49639Scael.Xr dlmpcc 8
482*49639Scael.Sh HISTORY
483*49639ScaelThe
484*49639Scael.Nm mpcc
485*49639Scaelconfiguration file appeared in
486*49639Scael.Bx 4.3 tahoe .
487