interface-exclude

Mode: Configuration Mode

Description:

interface-acceptable is a specialized version of constraint verification. Developers can specify what types of interfaces the configuration does not applies. It is the opposite of 'interface-acceptable'.

interface-exclude [!] <list of interfaces> interface-exclude [!] <list of interfaces> { flags <channel-flags>; }

negate the list of interfaces, ie '! fxp', all interface except for fxp <list of interfaces> space separated list of interface prefixes.

List of interfaces that this attribute should/shouldn't be displayed under.

One of "no-multi-channel", "no-channel", "multi-channel", "channel", "channel-0", "channel-1". The following is the mapping of the string the flags...

"no-multi-channel" - ~IIF_MULTI_CHNL "no-channel" - ~IIF_CHANNEL "multi-channel" - IIF_MULTI_CHNL "channel" - IIF_CHANNEL "channel-0" - IIF_CH0 "channel-1" - IIF_CH1 "channel-01" - IIF_CH01

Many of the items that reside under the interface hierarchy are dependent on the type of interface being configured. For example, 'modem-options' are relevant only on "umd" interfaces. This attribute should be hidden if the user is configuring the management port, but shown when editing the 'umd' interfaces.

Example:

        1. Display dce under serial type interfaces

         attribute dce {
             interface-exclude so t3 e3 e1 t1 j1;
         }

        What would be nice is it we had some defines for 'types' of
        interfaces, like in the above example, a define for serial
        interfaces...

        #define INTF_SERIAL_PREFIXES so t3 e3 e1 t1 j1

        attribute dce {
            interface-exclude INTF_SERIAL_PREFIXES;
        }

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