Mode: Operational Mode


'argument' is analogous to 'attribute' in the configuration mode. It is the item which contains the value in which users can specify. It cannot contain any other items, may those be other commands or other arguments.


        #define DNAME_JNX_EXAMPLED "jnx-exampled"
        command newbie {
           help "Newbie display";
           action execute DNAME_JNX_EXAMPLED;
            argument constant-text {
                help "Example newbie display";
                type string;


        user@router> show example newbie ?
        Possible completions:
          <[Enter]>            Execute this command
          constant-text        Example newbie display
          |                    Pipe through a command

See also:

Reference (to programmers guide/style guide):

2007-2008 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are trademarks of Juniper Networks, Inc.
Generated on Sun May 30 20:23:13 2010 for DDL Reference Guide by doxygen 1.4.5