netadm(8) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

netadm(8)

System Administration Commands                                       netadm(8)



NAME
       netadm - administer External Network Modifiers (ENMs)

SYNOPSIS
       netadm enable enm-name


       netadm disable enm-name


       netadm list [ -x ] [ enm-name ]


       netadm show-events


       netadm help

DESCRIPTION
       The  netadm  utility  is  used to administer External Network Modifiers
       (ENMs) and interact with the NWAM daemon.


       There can be zero or more active ENMs at any given time. Thus  enabling
       or disabling one ENM has no effect on other active ENMs.


       Enabling  and  disabling of ENMs is performed asynchronously. Thus, the
       request to enable or disable  can  succeed,  while  the  action  itself
       fails. A failure of this sort will be reflected in the ENM state; main‐
       tenance state indicates that the last action taken  failed.  Note  that
       enabling  or  disabling  an  ENM can be time-consuming depending on how
       long its script takes to complete. Completion can be verified by check‐
       ing the ENM state with the netadm list subcommand.

SUB-COMMANDS
       The following subcommands are supported:

       enable enm-name

           Enable the specified ENM.


       disable enm-name

           Disable the specified ENM.


       list [ -x ] [ enm-name ]

           List  all  available  ENMs and their current state. If a particular
           ENM is specified by name, list only the current state of that ENM.

           The -x option causes the list subcommand to display a third  column
           of output, headed AUXILIARY STATE, after the first two column head‐
           ings in the default display, ENM and  STATE.  The  AUXILIARY  STATE
           column shows why an ENM is in a given state.

           Possible STATE values are:

           disabled

               A manually-activated ENM that has not been activated.


           offline

               A  conditionally-activated  ENM that has not been activated. It
               might not be active because its conditions have not been satis‐
               fied.


           online

               A  conditionally-activated  ENM  whose conditions have been met
               and that has been successfully activated; or  a  manually-acti‐
               vated  ENM  that has been successfully activated at the request
               of the user.


           maintenance

               Activation of the ENM was attempted, but failed.


           initialized

               The ENM represents a valid configuration for  which  no  action
               has yet been taken.


           uninitialized

               The ENM represents a configuration not present in the system.



       show-events

           Listen  for stream of events from the NWAM daemon and display them.
           Along with events for ENMs, events for  links  and  interfaces  are
           also  displaced.  These  events  occur when links are added or when
           interfaces and addresses are configured.


       help

           Display a usage message with short descriptions  for  each  subcom‐
           mand.


EXAMPLES
       Example 1 Enabling an ENM



       The following command enables an ENM.


         # netadm enable myenm1
         Enabling enm 'myenm1'.


       Example 2 Listing All ENMs



       The following command lists all ENMs.


         # netadm list -x
         ENM            STATE          AUXILIARY STATE
         myenm1         enabled        active
         myenm2         disabled       disabled by administrator
         myenm3         offline        conditions for activation are unmet


       Example 3 Monitoring nwamd



       The  following  command monitors nwamd(8) when an ENM myenm1 is enabled
       followed by enabling the interface net0 with ipadm(8) command.


         # netadm show-events
         EVENT           DESCRIPTION
         OBJECT_ACTION   enm myenm1 -> action enable
         OBJECT_STATE    enm myenm1 -> state offline*, method/service executing
         OBJECT_STATE    enm myenm1 -> state online, active
         IF_STATE        net0 -> state flags 1004843 addr 10.15.24.22/24
         OBJECT_STATE    interface net0 -> state online, active
         IF_STATE        net0 -> state flags 2080841 addr
         ^C
         #


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


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/network _ Interface StabilityCommit‐
       ted


SEE ALSO
       attributes(7), netcfg(8), netcfgd(8), nwamd(8)



Oracle Solaris 11.4               24 Dec 2014                        netadm(8)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3