Several show-type commands output a header and then several lines of information. If this option is given, the header is omitted, simplifying the parsing of the output.
This sub-command lists all ATM interfaces in the system. It takes no options or arguments.
diag config [-atm] [-hardware] [device ...]
This command prints the configuration of ATM interfaces. If no device is given, all devices are listed, otherwise only the specified devices. The option -atm instructs the command to print ATM layer configuration parameters like the number of VCI and VPI bits, whereas the -hardware option requests card specific information like the vendor or the serial number. If none of the options is given, the defaults is to assume -atm .
diag phy print [-numeric] device
This command prints the PHY registers in a (potential) human comprehensible format. If -numeric is given, the format is hex bytes. Otherwise, textual representation will be printed.
diag phy show [device ...]
This sub-command prints static information about the PHY device used in the ATM card like the type of the PHY and the media.
diag phy set device reg mask val
This sub-command allows one to change bits in PHY registers. This should be used with great care. The bits of the given PHY chip register for which the corresponding bit in mask is one are set to the values of the corresponding bits in val. All register bits that have a zero in mask are written back with their original value.
diag phy stats [-clear] device
Print the PHY statistics for the given device. When the optional -clear is given, the statistics are cleared atomically.
diag vcc [-abr] [-channel] [-traffic] [device]
Retrieve the list of currently active channels on either all or the specified interfaces. For each channel, the following information is printed depending on the options (default is -channel ).
-abr
Print ABR specific traffic parameters: ICR, TBE, NRM, TRM, ADTF, RIF, RDF, CDF.
-channel
Print basic information: VPI, VCI, AAL, traffic type, MTU and flags.
natm add dest device vpi vci encaps abr pcr mcr icr tbe nrm trm adtf rif rdf cdf
Add a new route to the routing table. The destination address (the address on the other end of the link) is given in dest. The device, vpi and vci arguments are the name of the ATM device and the VPI and VCI values for the link. The encaps argument may be either AAL5 or LLC/SNAP both of which specify AAL5 encapsulation, the first one without additional encapsulation, the second one with LLC/SNAP headers. The first two forms of the command add an UBR (unspecified bit rate) channel, where the second form allows the optional specification of a peak cell rate (PCR). The third form adds a CBR (constant bit rate) channel where a PCR must be given. The fourth form adds a VBR (variable bit rate) channel. The arguments are the peak cell rate, the sustainable cell rate and the maximum bursts size. The last form of the command adds an ABR (available bit rate) channel.
natm delete dest
natm delete device vpi vci
This commands deletes an NATM route. The route may be specified either by the destination address or by the device, vpi and vci triple.