product

Mode: Configuration Mode

Description:

the product statement specifies the product or products on which part of the configuration is implemented.

When the platform is not the one that is specified, the object or the attribute acts like a hidden command. Users can still configure the object/attribute but the configuration is not effective and an warning message is printed when the configuration is being displayed.

Example:

        object m5-newbie {
            help "Specialized newbie for m5 platform only";
            product m5;
        }

        object newbie {
            help "Newbie section";
            product olive;
        }

Display:

        user@router> show version
        Hostname: router
        Model: olive

        user@router> configure
        Entering configuration mode:

        [edit]
        user@router# set m5?
        No valid completions
        [edit]
        user@router# set new?
        Possible completions:
        > newbie               Newbie section
        [edit]
        user@router# set m5-newbie
        
        [edit]
        user@router# set newbie 

        [edit]
        user@router# show
        version "8.1I0 [user]";
        newbie;
        ##
        ## Warning: statement ignored: unsupported platform (olive)
        ##
        m5-newbie;

        [edit]
        user@router# commit check
        configuration check succeeds

        [edit]

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:12 2010 for DDL Reference Guide by doxygen 1.4.5