kernel: Sync ACPICA with Intel's version 20140424.
[dragonfly.git] / sbin / atm / atm / atm.8
1 .\"
2 .\" ===================================
3 .\" HARP  |  Host ATM Research Platform
4 .\" ===================================
5 .\"
6 .\"
7 .\" This Host ATM Research Platform ("HARP") file (the "Software") is
8 .\" made available by Network Computing Services, Inc. ("NetworkCS")
9 .\" "AS IS".  NetworkCS does not provide maintenance, improvements or
10 .\" support of any kind.
11 .\"
12 .\" NETWORKCS MAKES NO WARRANTIES OR REPRESENTATIONS, EXPRESS OR IMPLIED,
13 .\" INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY
14 .\" AND FITNESS FOR A PARTICULAR PURPOSE, AS TO ANY ELEMENT OF THE
15 .\" SOFTWARE OR ANY SUPPORT PROVIDED IN CONNECTION WITH THIS SOFTWARE.
16 .\" In no event shall NetworkCS be responsible for any damages, including
17 .\" but not limited to consequential damages, arising from or relating to
18 .\" any use of the Software or related support.
19 .\"
20 .\" Copyright 1994-1998 Network Computing Services, Inc.
21 .\"
22 .\" Copies of this Software may be made, however, the above copyright
23 .\" notice must be reproduced on all copies.
24 .\"
25 .\" @(#) $FreeBSD: src/sbin/atm/atm/atm.8,v 1.3.2.2 2002/12/29 16:35:37 schweikh Exp $
26 .\" @(#) $DragonFly: src/sbin/atm/atm/atm.8,v 1.2 2003/06/17 04:27:32 dillon Exp $
27 .\"
28 .\"
29 .de EX          \"Begin example
30 .ne 5
31 .if n .sp 1
32 .if t .sp .5
33 .nf
34 .in +.5i
35 ..
36 .de EE
37 .fi
38 .in -.5i
39 .if n .sp 1
40 .if t .sp .5
41 ..
42 .TH ATM 8 "1998-08-20" "HARP"
43 .SH NAME
44 atm \- user configuration and display command for HARP ATM interface
45 .SH SYNOPSIS
46 Interface management subcommands:
47 .in +10
48 .ti -5
49 .B atm attach
50 <interface> <sigmgr>
51 .ti -5
52 .B atm detach
53 <interface>
54 .ti -5
55 .B atm set MAC
56 <interface> <MAC/ESI address>
57 .ti -5
58 .B atm set netif
59 <interface> <prefix> <count>
60 .ti -5
61 .B atm set prefix
62 <interface> <NSAP prefix>
63 .ti -5
64 .B atm show config
65 [<interface>]
66 .ti -5
67 .B atm show interface
68 [<interface>]
69 .ti -5
70 .B atm show netif
71 [<netif>]
72 .ti -5
73 .B atm show stats interface
74 [<interface> [phy | dev | atm | aal0 | aal4 | aal5 | driver]]
75 .sp
76 .ti -10
77 VCC management subcommands:
78 .ti -5
79 .B atm add PVC
80 <interface> <vpi> <vci> <aal> <encaps> <owner> ...
81 .ti -5
82 .B atm delete PVC
83 <interface> <vpi> <vci>
84 .ti -5
85 .B atm delete SVC
86 <interface> <vpi> <vci>
87 .ti -5
88 .B atm show stats VCC
89 [<interface> [<vpi> [<vci>]]]
90 .ti -5
91 .B atm show VCC
92 [<interface> [<vpi> [<vci>] | SVC | PVC]]
93 .sp
94 .ti -10
95 IP management subcommands:
96 .ti -5
97 .B atm add ARP
98 [<netif>] <host> <ATM address>
99 .ti -5
100 .B atm add PVC
101 <interface> <vpi> <vci> <aal> <encaps> IP <netif> <host> | dynamic
102 .ti -5
103 .B atm delete ARP
104 [<netif>] <host>
105 .ti -5
106 .B atm set arpserver
107 <netif> <ATM address> | local [<IP prefix> ...]
108 .ti -5
109 .B atm show ARP
110 [<host>]
111 .ti -5
112 .B atm show arpserver
113 [<netif>]
114 .ti -5
115 .B atm show IPVCC
116 [<host> | <netif>]
117 .ti -5
118 .sp
119 .ti -10
120 Miscellaneous subcommands:
121 .ti -5
122 .B atm help
123 .ti -5
124 .B atm show version
125 .in -10
126 .fi
127 .SH DESCRIPTION
128 .I atm
129 configures and displays the status of the Host ATM Research Platform
130 (HARP) networking software.
131 The subcommands fall into several categories:
132 .PP
133 \fIInterface management\fP subcommands allow manipulation of the
134 ATM interface.
135 Functions include assigning a signalling manager to an interface,
136 setting the ATM address, associating network interfaces with
137 an interface, and displaying information about interfaces.
138 .PP
139 \fIVCC management\fP subcommands allow for managing ATM virtual
140 channel connections (VCCs).
141 Functions include opening and closing VCCs and displaying information
142 about them.
143 .PP
144 \fIIP management\fP subcommands allow for managing the interface
145 between IP and the ATM software.
146 Functions include displaying and manipulating the ATMARP cache,
147 opening a PVC connected to IP,
148 assigning an ATMARP server to a network interface,
149 and displaying information about IP VCCs.
150 .PP
151 \fIMiscellaneous\fP subcommands allow for displaying the version
152 of the ATM software and for getting help with the \fIatm\fP command.
153 .SS "Signalling Managers"
154 The signalling manager is responsible for the opening and closing of
155 VCCs.
156 Four signalling managers are supported:
157 .PP
158 .in +10
159 .ti -5
160 PVC - for PVCs only,
161 .ti -5
162 SPANS - supports SPANS, FORE's proprietary signalling protocol,
163 .ti -5
164 UNI 3.0 - supports the signalling protocol from The ATM Forum's
165 \fIATM User-Network Interface Specification, Version 3.0\fP.
166 .ti -5
167 UNI 3.1 - supports the signalling protocol from The ATM Forum's
168 \fIATM User-Network Interface Specification, Version 3.1\fP.
169 .in -10
170 .PP
171 All four signalling managers support the opening and closing of PVCs
172 (see the \fIadd\fP and \fIdelete\fP subcommands).
173 .PP
174 A signalling manager must be attached to a physical interface
175 (see the \fIattach\fP subcommand)
176 before any VCCs can be created on the interface.
177 .SS "Physical and Network Interfaces"
178 Two types of interfaces are supported:
179 physical interfaces and network interfaces.
180 A physical interface represents a physical point of attachment to an
181 ATM network.
182 A physical interface has an ATM address associated with it, except
183 when the PVC-only signalling manager is being used.
184 .PP
185 A network interface is a logical interface.
186 One or more network interfaces are associated with a physical
187 interface;  each network interface has an IP address associated with it.
188 For UNI-controlled interfaces, there can be up to 256 network
189 interfaces associated with a physical interface.
190 In this case, the correspondence between the network interface and
191 the ATM address is determined by the selector field (the last
192 byte) of the physical interface's ATM address.
193 For PVC-only interfaces, there can be up to 256 logical interfaces
194 associated with each physical interface.
195 For interfaces controlled by the SPANS signalling manager,
196 there must be one and
197 only one network interface associated with each physical interface.
198 .SS "Keyword and Documentation Conventions"
199 Command and subcommand keywords can be abbreviated by simply giving
200 enough of the first part of the keyword to make it unique.
201 Thus, \fIatm sh v\fB gives the same result as \fIatm show vcc\fB.
202 .PP
203 All keywords are case-insensitive.
204 .PP
205 Where a host address needs to be given to the \fIatm\fP command,
206 either a DNS name or an IP address in dotted decimal format can
207 be used.
208 .PP
209 ATM addresses are specified as strings of hex digits, with an
210 optional leading "0x".
211 Fields within the address may be separated by periods, but periods
212 are for readability only and are ignored.
213 SPANS addresses are 8 bytes long, while NSAP-format addresses
214 are 20 bytes long.
215 The full address, including any leading zeroes, must be given.
216 For example:
217 .in +5
218 0x47.0005.80.ffe100.0000.f21a.0170.0020481a0170.00 (NSAP format)
219 .br
220 0x00000010.f2050aa9 (SPANS format)
221 .in -5
222 .fi
223 .SH SUBCOMMANDS
224 .SS Interface Management Subcommands:
225 .in +5
226 .ti -5
227 \fIatm add PVC <interface> <vpi> <vci> <aal> <encaps> <owner> ...\fP
228 .in -5
229 .PP
230 the format of the \fIadd PVC\fP subcommand varies depending on the
231 owner of the PVC.
232 See the description under "IP Management Subcommands."
233 .PP
234 \fIatm attach <interface> <sigmgr>\fP
235 .PP
236 where:
237 .in +10
238 .ti -5
239 \fI<interface>\fP specifies the physical interface to which the
240 signalling manager is to be attached,
241 .ti -5
242 \fI<sigmgr>\fP specifies which signalling manager is to be attached.
243 Valid choices are "SIGPVC", "SPANS", "UNI30", and "UNI31".
244 .in -10
245 .PP
246 This command attaches a signalling manager to an interface.
247 Until this is done, VCCs cannot be opened or closed.
248 Only one signalling manager at a time can be attached to an interface.
249 .PP
250 \fIatm detach <interface>\fP
251 .PP
252 where:
253 .in +10
254 .ti -5
255 \fI<interface>\fP specifies the physical interface whose signalling
256 manager is to be detached.
257 .in -10
258 .PP
259 This command detaches a signalling manager from an interface.
260 All VCCs that the signalling manager has created will be closed,
261 and no new VCCs can be created until a signalling manager (either
262 the same or a different one) is attached again.
263 .PP
264 \fIatm set MAC <interface> <MAC/ESI address>\fP
265 .PP
266 where:
267 .in +10
268 .ti -5
269 \fI<interface>\fP specifies the physical interface whose
270 MAC address is to be set,
271 .ti -5
272 \fI<MAC/ESI address>\fP specifies the 6-byte MAC part of the NSAP
273 address for the interface.
274 The MAC address is specified as a string of 12 hexadecimal
275 digits with an optional leading "0x".
276 Fields in the address may be separated by periods.
277 .in -10
278 .PP
279 This command sets the MAC address for a UNI-controlled interface.
280 The first 13 bytes (the prefix) of the 20-byte NSAP-format address
281 are set by the \fIatm set prefix\fP command or the ILMI daemon
282 (\fIilmid\fP (8)),
283 the next 6 bytes (the End System Identifier (ESI)) are set by
284 this command,
285 and the last byte (the selector) will be determined by which
286 network interface is to be associated with the address.
287 .PP
288 The \fIatm set MAC\fP command can be used to override the MAC
289 address in the interface hardware.
290 .PP
291 \fIatm set netif <interface> <prefix> <count>\fP
292 .PP
293 where:
294 .in +10
295 .ti -5
296 \fI<interface>\fP specifies the physical interface that the network
297 interface(s) are to be associated with,
298 .ti -5
299 \fI<prefix>\fP specifies the invariant part of the network
300 interface name,
301 .ti -5
302 \fI<count>\fP specifies the number of network interface to be
303 created.
304 .in -10
305 .PP
306 This command creates one or more network interfaces and associates them
307 with the specified physical interface.
308 The network interface names are determined by the prefix and the count.
309 The names will be of the form <prefix><nn>, where <prefix> is the
310 prefix specified in the \fIset\fP subcommand and <nn> is a number
311 in the range 0 - <count>-1.  For example, the command:
312 .PP
313 .ti +5
314 atm set netif hfa0 ni 2
315 .PP
316 would create two network interfaces, named ni0 and ni1, and associate
317 them with physical interface hfa0.
318 .PP
319 \fIatm set prefix <interface> <NSAP prefix>\fP
320 .PP
321 where:
322 .in +10
323 .ti -5
324 \fI<interface>\fP specifies the physical interface whose NSAP
325 prefix is to be set,
326 .ti -5
327 \fI<NSAP prefix>\fP specifies the first 13 bytes of the NSAP address
328 for the interface.
329 The prefix is specified as a string of hexadecimal digits with an
330 optional leading "0x".
331 Fields in the prefix may be separated by periods.
332 .in -10
333 .PP
334 This command sets the address for a UNI-controlled interface.
335 The first 13 bytes (the prefix) of the 20-byte NSAP-format address
336 are set by this command,
337 the next 6 bytes (the End System Identifier (ESI)) will be the
338 MAC address taken from the physical interface or set by the
339 \fIset MAC\fP subcommand,
340 and the last byte (the selector) will be determined by which
341 network interface is to be associated with the address.
342 .PP
343 The NSAP prefix must be set before a UNI-controlled
344 interface can become active.
345 This can be accomplished either by the ILMI daemon (\fIilmid\fP (8))
346 or the \fIset prefix\fP subcommand.
347 .PP
348 .I atm show config [<interface>]
349 .PP
350 displays the following information:
351 .PP
352 .B Interface
353 \- the name of the physical interface.
354 .PP
355 .B Vendor
356 \- the name of the adapter vendor.
357 .PP
358 .B Model
359 \- the model of the adapter.
360 .PP
361 .B Media
362 \- the communications medium used by the adapter.
363 .PP
364 .B Bus
365 \- the type of bus the adapter is attached to.
366 .PP
367 .B Serial No.
368 \- the adapter's serial number.
369 .PP
370 .B MAC address
371 \- the MAC address of the interface.
372 Note that this is the MAC address encoded in the hardware of
373 the adapter, even if the \fIatm set MAC\fP command has been used
374 to change the effective MAC address of the interface.
375 .PP
376 .B Hardware version
377 \- the hardware revision level reported by the interface.
378 .PP
379 .B Firmware version
380 \- the firmware revision level reported by the interface.
381 .PP
382 If no parameters are specified on the \fIshow config\fP subcommand,
383 the configurations of all physical interfaces will be displayed.
384 If an interface name is specified, only the configuration of the given
385 interface is displayed.
386 .PP
387 .I atm show interface [<interface>]
388 .PP
389 displays the following information:
390 .PP
391 .B Interface
392 \- the name of the physical interface.
393 .PP
394 .B Sigmgr
395 \- the name of the signalling manager which has been attached to the
396 interface.
397 A dash (-) is shown if no signalling manager has been attached.
398 .PP
399 .B State
400 \- the state of the signalling manager for the interface.
401 Each signalling manager has its own set of states.
402 They are:
403 .in +21
404 .ti -16
405 PVC:
406 .ti -11
407 ACTIVE\ ---\ The signalling manager is active.
408 .ti -11
409 DETACH\ ---\ The signalling manager is being detached.
410 .ti -16
411 SPANS:
412 .ti -11
413 ACTIVE\ ---\ The signalling manager is active.
414 .ti -11
415 DETACH\ ---\ The signalling manager is being detached.
416 .ti -11
417 INIT\ -----\ The signalling manager's initial state.
418 .ti -11
419 PROBE\ ----\ The signalling manager is attempting to make
420 contact with the ATM switch.
421 .ti -16
422 UNI 3.0 or UNI 3.1:
423 .ti -11
424 NULL\ -----\ The signalling manager's initial state.
425 .ti -11
426 ADR_WAIT\ -\ The signalling manager is waiting for the NSAP
427 prefix to be set.
428 .ti -11
429 INIT\ -----\ The signalling manager is attempting to establish
430 contact with the switch.
431 .ti -11
432 ACTIVE\ ---\ The signalling manager is active.
433 .ti -11
434 DETACH\ ---\ The signalling manager is being detached.
435 .ti -21
436 .PP
437 .B ATM address
438 \- the ATM address of the interface.
439 .PP
440 .B Network interfaces
441 \- the names of network interfaces, if any, associated with the
442 physical interface.
443 .PP
444 If no parameters are specified on the \fIshow interface\fP subcommand,
445 information about all physical interfaces will be displayed.
446 If an interface name is specified, only information about the given
447 interface is displayed.
448 .PP
449 .I atm show netif [<netif>]
450 .PP
451 displays the following information:
452 .PP
453 .B Net Intf
454 \- the name of the network interface.
455 .PP
456 .B IP Address
457 \- the IP address of the network interface.
458 .PP
459 If no parameters are specified on the \fIshow netif\fP subcommand,
460 information about all network interfaces will be displayed.
461 If an interface name is specified, only information about the given
462 network interface is displayed.
463 .PP
464 \fIatm show stats interface [<interface> [phy | dev | atm | aal0 |
465 aal4 | aal5 | driver]]\fP
466 .PP
467 displays statistics associated with one or more interfaces.
468 Subject-area keywords
469 (\fIphy\fP, \fIdev\fP, \fIatm\fP, \fIaal0\fP,
470 \fIaal4\fP, \fIaal5\fP, or \fIdriver\fP)
471 can be specified to change the scope of the statistics displayed.
472 .PP
473 If no subject area keyword is specified, the following information is
474 displayed:
475 .PP
476 .B Interface
477 \- the name of the physical ATM interface.
478 .PP
479 .B Input PDUs
480 \- the number of Protocol Data Units (PDUs) which have been received
481 by the interface.
482 .PP
483 .B Input Bytes
484 \- the number of bytes which have been received by the interface.
485 .PP
486 .B Input Errs
487 \- the number of input errors which the interface has experienced.
488 .PP
489 .B Output PDUs
490 \- the number of Protocol Data Units (PDUs) which have been transmitted
491 by the interface.
492 .PP
493 .B Output Bytes
494 \- the number of bytes which have been transmitted by the interface.
495 .PP
496 .B Output Errs
497 \- the number of output errors which the interface has experienced.
498 .PP
499 .B Cmd Errs
500 \- the number of command errors which the interface has experienced.
501 .PP
502 If a subject-area keyword is specified, then statistics for
503 that subject are displayed.
504 The statistics displayed depend on the adapter.
505 If requested statistics are not available for an adaptor,
506 an error will be noted.
507 .PP
508 If no parameters are specified on the \fIshow stats interface\fP
509 subcommand, statistics for all ATM interfaces are displayed.
510 If an interface name is specified, only statistics for the given
511 interface are displayed.
512 .PP
513 .SS VCC Management Subcommands:
514 .PP
515 \fIatm delete PVC <interface> <vpi> <vci>\fP
516 .br
517 \fIatm delete SVC <interface> <vpi> <vci>\fP
518 .PP
519 where:
520 .in +10
521 .ti -5
522 \fIPVC\fP specifies that the VCC to be closed is a PVC,
523 .ti -5
524 \fISVC\fP specifies that the VCC to be closed is an SVC,
525 .ti -5
526 \fI<interface>\fP specifies the physical interface at which the
527 VCC to be closed terminates,
528 .ti -5
529 \fI<vpi>\fP specifies the Virtual Path Identifier (VPI) of the VCC,
530 .ti -5
531 \fI<vci>\fP specifies the Virtual Channel Identifier (VCI) of the VCC.
532 .in -10
533 .PP
534 This command closes a VCC.
535 The two forms differ only in that the first specifies that the
536 VCC is a PVC (that was created by the \fIadd PVC\fP subcommand) and
537 the second specifies that the VCC is an SVC.
538 Reserved VCCs (with VCI values less than 32) cannot be closed
539 with this command.
540 .PP
541 \fIatm show stats VCC [<interface> [<vpi> [<vci>]]]\fP
542 .PP
543 displays the following information:
544 .PP
545 .B Interface
546 \- the physical interface on which the VCC terminates.
547 .PP
548 .B VPI
549 \- the Virtual Path Identifier (VPI) for the VCC.
550 .PP
551 .B VCI
552 \- the Virtual Channel Identifier (VCI) for the VCC.
553 .PP
554 .B Input PDUs
555 \- the number of Protocol Data Units (PDUs) which have been received
556 on the VCC.
557 .PP
558 .B Input Bytes
559 \- the number of bytes which have been received on the VCC.
560 .PP
561 .B Input Errs
562 \- the number of input errors which the VCC has experienced.
563 .PP
564 .B Output PDUs
565 \- the number of Protocol Data Units (PDUs) which have been transmitted
566 on the VCC.
567 .PP
568 .B Output Bytes
569 \- the number of bytes which have been transmitted on the VCC.
570 .PP
571 .B Output Errs
572 \- the number of output errors which the VCC has experienced.
573 .PP
574 If no parameters are specified on the \fIshow VCC\fP subcommand, all
575 active VCCs are displayed.
576 If an interface name is specified, all active VCCs for the given
577 interface are displayed.
578 If an interface and VPI are specified, all active VCCs for the VPI
579 on the given interface are displayed.
580 If an interface, VPI, and VCI are specified, only the specified VCC on
581 the given interface is displayed (note that this could actually be
582 two VCCs, since SPANS considers SVCs to be unidirectional).
583 .PP
584 \fIatm show VCC [<interface> [<vpi> [<vci>] | SVC | PVC]]\fP
585 .PP
586 displays the following information:
587 .PP
588 .B Interface
589 \- the physical interface on which the VCC terminates.
590 .PP
591 .B VPI
592 \- the Virtual Path Identifier (VPI) for the VCC.
593 .PP
594 .B VCI
595 \- the Virtual Channel Identifier (VCI) for the VCC.
596 .PP
597 .B AAL
598 \- the ATM Adaptation Layer (AAL) in use on the VCC.
599 Possible values are null and AAL 1-5.
600 .PP
601 .B Type
602 \- specifies whether the VCC is an SVC or a PVC.
603 .PP
604 .B Dir
605 \- the direction of information flow on the VCC.
606 VCCs can be inbound, outbound, or both.
607 .PP
608 .B State
609 \- the state of the VCC, as reported by the signalling manager.
610 Each signalling manager has its own set of states.
611 They are:
612 .in +21
613 .ti -16
614 PVC:
615 .ti -11
616 NULL\ -----\ No state.
617 .ti -11
618 ACTIVE\ ---\ The VCC is active.
619 .ti -11
620 FREE\ -----\ The VCC is closed and the signalling manager is waiting for
621 its resources to be freed.
622 .ti -16
623 SPANS:
624 .ti -11
625 NULL\ -----\ No state.
626 .ti -11
627 ACTIVE\ ---\ The VCC is a PVC and is active.
628 .ti -11
629 ACT_DOWN\ -\ The VCC is a PVC and the interface is down.
630 .ti -11
631 POPEN\ ----\ The VCC is being opened.
632 .ti -11
633 R_POPEN\ --\ The VCC is being opened by a remote host.
634 .ti -11
635 OPEN\ -----\ The VCC is active.
636 .ti -11
637 CLOSE\ ----\ The VCC is being closed.
638 .ti -11
639 ABORT\ ----\ The VCC is being aborted.
640 .ti -11
641 FREE\ -----\ The VCC is closed and the signalling manager is waiting for
642 its resources to be freed.
643 .ti -16
644 UNI 3.0 or UNI 3.1:
645 .ti -11
646 NULL\ -----\ No state.
647 .ti -11
648 C_INIT\ ---\ A VCC is being initiated.
649 .ti -11
650 C_OUT_PR\ -\ An outgoing VCC request is proceeding.
651 .ti -11
652 C_PRES\ ---\ A VCC is being initiated by the network.
653 .ti -11
654 CONN_REQ\ -\ A VCC request has been accepted by a HARP user.
655 .ti -11
656 C_IN_PR\ --\ An incoming VCC request is proceeding.
657 .ti -11
658 ACTIVE\ ---\ The VCC is active.
659 .ti -11
660 REL_REQ\ --\ The VCC is being closed.
661 .ti -11
662 REL_IND\ --\ The network is clearing a VCC.
663 .ti -11
664 SSCF_REC\ -\ The SSCF session on the signalling channel is in
665 recovery from an error.
666 .ti -11
667 FREE\ -----\ The VCC is closed and the signalling manager is waiting
668 for its resources to be freed.
669 .ti -11
670 ACT_DOWN\ -\ The VCC is a PVC and the interface is down.
671 .ti -21
672 .PP
673 .B Encaps
674 \- the encapsulation in effect on the VCC.
675 Possible encapsulations are null and LLC/SNAP.
676 .PP
677 .B Owner
678 \- the owner or owners of the VCC.
679 Shows the name(s) of the function(s) using the VCC.
680 .PP
681 .B Destination
682 \- the ATM address of the host at the remote end of the VCC.
683 .PP
684 If no parameters are specified on the \fIshow VCC\fP subcommand, all
685 active VCCs are displayed.
686 If an interface name is specified, all active VCCs for the given
687 interface are displayed.
688 If an interface and VPI are specified, all active VCCs for the VPI
689 on the given interface are displayed.
690 If an interface, VPI, and VCI are specified, only the specified VCC on
691 the given interface is displayed (note that this could actually be
692 two VCCs, since SPANS considers SVCs to be unidirectional).
693 .PP
694 .SS IP Management Subcommands:
695 \fIatm add ARP [<netif>] <host> <ATM address>\fP
696 .PP
697 where:
698 .in +10
699 .ti -5
700 \fI<netif>\fP is the optional name of the network interface the
701 ATMARP entry is to be associated with.
702 If no name is specified, a network interface is chosen depending
703 on the IP address of the host being added.
704 .ti -5
705 \fI<host>\fP is the host name or IP address of the host to
706 be added to the ATMARP table,
707 .ti -5
708 \fI<ATM address>\fP is the ATM address of the host.
709 .in -10
710 .PP
711 This command adds an entry to the ATMARP table for ATM.
712 The given host's IP address is associated with the given ATM address.
713 When IP needs to transmit data to the host, the specified ATM
714 address will be used to open an SVC.
715 .PP
716 The entry will be marked as permanent in the ATMARP table and will not
717 be subject to aging.
718 .PP
719 .in +5
720 .ti -5
721 \fIatm add PVC <interface> <vpi> <vci> <aal> <encaps> IP <netif> <host> | dynamic\fP
722 .in -5
723 .PP
724 where:
725 .in +10
726 .ti -5
727 \fI<interface>\fP specifies the physical interface where the PVC
728 is to terminate,
729 .ti -5
730 \fI<vpi>\fP specifies the Virtual Path Identifier (VPI) of the PVC,
731 .ti -5
732 \fI<vci>\fP specifies the Virtual Channel Identifier (VCI) of the PVC,
733 .ti -5
734 \fI<aal>\fP specifies the ATM Adaptation Layer (AAL) for the PVC.
735 Valid choices are "null" or "AAL0" for the null AAL; "AAL1" for
736 AAL 1; "AAL2" for AAL 2; "AAL3", "AAL4", or "AAL3/4" for AAL 3/4;
737 and "AAL5" for AAL 5,
738 .ti -5
739 \fI<encaps>\fP specifies the encapsulation for the PVC.
740 Valid choices are "null" or "none" for null encapsulation, and
741 "LLC/SNAP", "LLC", or "SNAP" for LLC/SNAP encapsulation,
742 .ti -5
743 \fIIP\fP specifies that the owner of the PVC is IP.
744 .ti -5
745 \fI<netif>\fP specifies the network interface which the PVC is
746 to be associated with.
747 The network interface must exist and be associated with the
748 specified physical interface,
749 .ti -5
750 \fI<host> | dynamic\fP gives the address of the host at
751 the far end of the PVC, or the word "dynamic" if its address
752 is to be determined with Inverse ARP.
753 If "dynamic" is specified, LLC/SNAP encapsulation must also
754 be specified.
755 .PP
756 This command creates a PVC with the specified attributes and attaches
757 it to IP.
758 .PP
759 \fIatm delete ARP [<netif>] <host>\fP
760 .PP
761 where:
762 .in +10
763 .ti -5
764 \fI<netif>\fP is the optional name of the network interface the
765 ATMARP entry is associated with.
766 If no name is specified, the specified host is deleted from the
767 cache regardless of what network interface it is associated with.
768 .ti -5
769 \fI<host>\fP is the host name or IP address of the host to
770 be deleted from the ATMARP table.
771 .PP
772 This command deletes the specified host's entry from the ATMARP table.
773 .PP
774 \fIatm set arpserver <netif> <ATM address> | local [<IP prefix> ...]\fP
775 .PP
776 where:
777 .in +10
778 .ti -5
779 \fI<netif>\fP specifies the network interface for which the
780 ATMARP server address is to be set.
781 .ti -5
782 \fI<ATM address>\fP specifies the ATM address of the host which is to
783 provide ATMARP service.
784 If "local" is specified instead of an ATM address, the host on
785 which the command is issued will become the ATMARP server.
786 .ti -5
787 \fI<IP prefix> ...\fP is an optional list of IP prefixes
788 that the ATMARP server will provide information about.
789 An IP prefix is specified as a dotted decimal IP address, followed by
790 a slash, followed a number specifying how many bits of the IP address
791 are significant.
792 For example, 10.0.0.0/8 indicates that the ATMARP server will provide
793 services for all addresses on IP network 10.
794 The IP subnetwork which the network interface belongs to is
795 automatically included.
796 .in -10
797 .PP
798 This command sets the address of the ATMARP server for a network
799 interface.
800 .PP
801 .I atm show ARP [<host>]
802 .PP
803 displays the following information:
804 .PP
805 .B Net Intf
806 \- the network interface which traffic for the entry will use.
807 .PP
808 .B Flags
809 \- flags showing whether the entry is valid and whether it is
810 permanent.
811 \- flags giving further information about the ATMARP entry.
812 The meanings of the characters in the flags are:
813 .PP
814 .in +5
815 P - the entry is permanent
816 .br
817 R - the entry has been refreshed
818 .br
819 V - the entry is valid
820 .in -5
821 .PP
822 .B Age
823 \- the number of minutes for which the entry will remain valid.
824 .PP
825 .B Origin
826 \- the source of the ATMARP entry.
827 Possible values are:
828 .in +16
829 .ti -11
830 LOCAL\ ----\ The entry is for an interface on the host.
831 .ti -11
832 PERM\ -----\ The entry is permanent.
833 This is used for entries that are created with the
834 \fIadd ARP\fP command.
835 .ti -11
836 REG\ ------\ The entry was created as the result of a host
837 registering with the ATMARP server.
838 .ti -11
839 SCSP\ -----\ The entry was learned via SCSP.
840 .ti -11
841 LOOKUP\ ---\ The entry was created as the result of a host
842 performing an ATMARP lookup.
843 .ti -11
844 PEER_RSP\ -\ The entry was created as the result of a host
845 answering an InARP Request.
846 .ti -11
847 PEER_REQ\ -\ The entry was created as the result of a host
848 sending an InARP Request.
849 .in -5
850 .PP
851 .B ATM address
852 \- the ATM address of the host the entry refers to.
853 .PP
854 .B IP address
855 \- the IP address or domain name of the host the entry refers to.
856 .PP
857 If no parameters are specified on the \fIshow ARP\fP subcommand,
858 the whole ATMARP table will be displayed.
859 If a host name or IP address is specified, only information about the
860 given host is displayed.
861 .PP
862 This command displays both information that has been learned dynamically
863 (through one form or another of ATMARP and via SCSP) and information
864 which has been configured by the user (through the \fIadd ARP\fP
865 subcommand).
866 .PP
867 .I atm show arpserver [<netif>]
868 .PP
869 displays the following information:
870 .PP
871 .B Net Intf
872 \- the network interface for which information is being displayed.
873 .PP
874 .B State
875 \- the state of the connection to the ATMARP server.
876 Possible values are:
877 .in +16
878 .ti -11
879 NOT_CONF\ -\ No ATMARP server has been configured for the interface.
880 .ti -11
881 SERVER\ ---\ The host is the ATMARP server.
882 .ti -11
883 PEND_ADR\ -\ No ATM address has been set for the interface.
884 .ti -11
885 POPEN\ ----\ The host is attempting to open a VCC to the ATMARP server.
886 .ti -11
887 REGISTER\ -\ The host has a VCC open to the ATMARP server and is in
888 the process of registering with the server.
889 .ti -11
890 ACTIVE\ ---\ The ATMARP server connection is active.
891 .in -16
892 .PP
893 .B ATM Address
894 \- the ATM address of the ATMARP server.
895 .PP
896 If no parameters are specified on the \fIshow arpserver\fP subcommand,
897 the ATMARP servers for all network interfaces will be displayed.
898 If an interface name is specified, only information about the given
899 network interface is displayed.
900 .PP
901 .I atm show IPVCC [<host> | <netif>]
902 .PP
903 displays the following information:
904 .PP
905 .B Net Intf
906 \- the name of the network interface at which the VCC terminates.
907 .PP
908 .B VPI
909 \- the Virtual Path Identifier (VPI) for the VCC.
910 .PP
911 .B VCI
912 \- the Virtual Channel Identifier (VCI) for the VCC.
913 .PP
914 .B State
915 \- the state of the VCC.
916 Possible values are:
917 .in +15
918 .ti -10
919 PMAP\ ----\ The host has an IP packet to send and is waiting for
920 an ATMARP mapping.
921 .ti -10
922 POPEN\ ---\ The VCC is being opened.
923 .ti -10
924 PACCEPT\ -\ A VCC from a remote host is being accepted.
925 .ti -10
926 ACTPENT\ -\ A PVC is open, but no ATMARP information is
927 available for it yet.
928 .ti -10
929 ACTIVE\ --\ The VCC is active.
930 .in -15
931 .PP
932 .B Flags
933 \- flags giving further information about the VCC.
934 The meanings of the characters in the flags are:
935 .PP
936 .in +5
937 S - the VCC is an SVC
938 .br
939 P - the VCC is a PVC
940 .br
941 L - the VCC uses LLC/SNAP encapsulation
942 .br
943 M - the IP-to-ATM address mapping for the VCC is valid
944 .br
945 N - there is no idle timeout for the VCC
946 .in -5
947 .PP
948 .B IP Address
949 \- the name and IP address of the host at the remote end of the VCC.
950 .PP
951 If no parameters are specified on the \fIshow IPVCC\fP subcommand, all
952 active VCCs are displayed.
953 If a host name is specified, the active VCC(s) for the given
954 host are displayed.
955 If a network interface name is specified, the active VCC(s) for the
956 given network interface are displayed.
957 .PP
958 .SS Miscellaneous Subcommands:
959 .I atm help
960 .PP
961 displays a synopsis of the atm command with its subcommands
962 and their parameters.
963 .PP
964 .I atm show version
965 displays the version of the running HARP software.
966 .fi
967 .SH "SEE ALSO"
968 \fIilmid\fP (8); \fIscspd\fP (8); \fIatmarpd\fP (8).
969 .fi
970 .SH BUGS
971 Care must be taken to avoid confusing physical interfaces and
972 network interfaces.
973 .PP
974 Please report any bugs to harp-bugs@magic.net.
975 .fi
976 .SH COPYRIGHT
977 Copyright (c) 1994-1998, Network Computing Services, Inc.
978 .fi
979 .SH AUTHORS
980 John Cavanaugh, Network Computing Services, Inc.
981 .br
982 Mike Spengler, Network Computing Services, Inc.
983 .br
984 Joe Thomas, Network Computing Services, Inc.
985 .fi
986 .SH ACKNOWLEDGMENTS
987 This software was developed with the support of the Defense
988 Advanced Research Projects Agency (DARPA).