/usr/lib/llc2/llc2_config [-P | -U | -d | -q | -i ppa | -r ppa]
The llc2_config utility is used to start/stop the LLC2 subsystem and to configure LLC2 interface parameters.
The following options are supported:
Turns on debug mode. Extra debugging information will be printed out.
Initializes the corresponding interface using the file /etc/llc2/default/llc2.ppa.
Reads in all /etc/llc2/default/llc2.* configuration files, opens those devices defined in the files, and sets up the streams needed for LLC2 to use those devices. Before doing this, llc2_config -q will not show anything.
Queries the LLC2 subsystem. Information similar to the following example will be printed out for all PPAs (Physical Point of Attachment) available under the LLC2 module:
PPA State ID MACAddr Type MaxSDU MinSDU Mode 0 up 0000 0800208a217e ethernet 1500 0 3
The fields displayed are described below:
The relative logical position of the interface.
The state of the interface:
The interface is initialized and operational.
The interface was "discovered" by the LLC2 driver, has passed its bootup diagnostics, and is awaiting initialization.
The interface is known to the LLC2 driver, but failed one or more of the integrity checks performed at boot time. This might include detecting Interrupt Request and shared memory conflicts or failures detected during the execution of the level 0 diagnostics.
The interface ID.
The MAC address currently in effect for the interface.
The MAC type. Current types supported include:
10 Megabit Ethernet
Ethernet type device
4/16 Megabit Token Ring
100 Megabit Fiber Distributed Data Interface
The Maximum Service Data Unit size transmitted on this interface.
The Service Modes supported by this interface. This field consists of the bitwise logical-ORing of the supported modes, also defined in /usr/include/sys/dlpi.h.
Uninitializes the corresponding interface. By using this option, and then using the -i option, the parameters associated with an interface can be changed.
Destroys all streams used by the LLC2 subsystem. This is the reverse of the -P option. After this is executed, llc2_config -q will not show anything.
See attributes(5) for descriptions of the following attributes: