unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (SunOS-5.10)
Page:
Section:
Apropos / Subsearch:
optional field

llc2_config(1)                   User Commands                  llc2_config(1)



NAME
       llc2_config - configure LLC2 interface parameters

SYNOPSIS
       /usr/lib/llc2/llc2_config [-P | -U | -d | -q | -i ppa | -r ppa]

DESCRIPTION
       The llc2_config utility is used to start/stop the LLC2 subsystem and to
       configure LLC2 interface parameters.

OPTIONS
       The following options are supported:

       -d       Turns on debug mode.   Extra  debugging  information  will  be
                printed out.



       -i ppa   Initializes   the   corresponding  interface  using  the  file
                /etc/llc2/default/llc2.ppa.



       -P       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.



       -q       Queries the LLC2 subsystem. Information similar to the follow-
                ing example will be printed out for all PPAs  (Physical  Point
                of Attachment) available under the LLC2 module:



                tab()   center;   cw(0.478261i)   cw(0.478261i)  cw(0.478261i)
                cw(1.195652i)   cw(0.956522i)   cw(0.717391i)    cw(0.717391i)
                cw(0.478261i).           PPAStateIDMACAddrTypeMaxSDUMinSDUMode
                0up00000800208a217eethernet150003


                  The fields displayed are described below:

                PPA             The relative logical position  of  the  inter-
                                face.




                State           The state of the interface:


                                up       The   interface  is  initialized  and
                                         operational.




                                down     The interface was "discovered" by the
                                         LLC2  driver,  has  passed its bootup
                                         diagnostics, and is awaiting initial-
                                         ization.



                                bad      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 diagnos-
                                         tics.



                ID              The interface ID.



                MACAddr         The MAC address currently in  effect  for  the
                                interface.



                Type            The MAC type. Current types supported include:


                                csma/cd  10 Megabit Ethernet




                                ethernet Ethernet type device



                                tkn-ring 4/16 Megabit Token Ring



                                fddi     100  Megabit  Fiber  Distributed Data
                                         Interface



                MaxSDU          The Maximum Service Data Unit size transmitted
                                on this interface.



                Mode            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.





       -r ppa   Uninitializes  the  corresponding  interface.  By  using  this
                option,  and  then using the -i option, the parameters associ-
                ated with an interface can be changed.



       -U       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.



FILES
       /etc/llc2/default/llc2.*        LLC2 configuration files



ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:


       tab()    allbox;    cw(2.750000i)|     cw(2.750000i)     lw(2.750000i)|
       lw(2.750000i).  ATTRIBUTE TYPEATTRIBUTE VALUE AvailabilitySUNWllc


SEE ALSO
       llc2_autoconfig(1), llc2(4), attributes(5), llc2(7D)



SunOS 5.10                        18 May 1999                   llc2_config(1)