flag channel

Syntax:

                  flag channel
                  flag channel-0
                  flag channel-1
                  flag channel-01
                  flag multi-channel
                  flag no-channel
                  flag no-multi-channel

Mode: Configuration Mode

Description:

Flags pertaining to the various channel options are used only in conjunction with interface-acceptable.

channel the entity is only applicable to channelized logical-interface (<type>-xx/yy/zz:ww) channel-0 this entity is only applicable to channel 0 of a channelized logical-interface (<type>-xx/yy/zz:0) channel-1 this entity is only applicable to channel 1 of a channelized logical-interface (<type>-xx/yy/zz:0) channel-01 this entity is only applicable to channel 0 or 1 of a channelized logical-interface (<type>-xx/yy/zz:0 or <type>-xx/yy/zz:1) multi-channel this entity is only applicable to interfaces with multiple logical channels defined no-channel this entity is only applicable to non-channelized interface no-multi-channel this entity is only applicable to interfaces with fewer than 2 logical channels defined

Example 1:

...src/junos/lib/ddl/input/dcd.cnf.dd

        object t3-options {
            flag remove-empty;
            help "T3 interface-specific options";
            interface-acceptable INTF_T1 {
                flag channel-0;
            }

            ...
        }

Display 1:

        user@router# set interfaces t1-0/0/0 t3-?  
        No valid completions
        [edit]
        user@router# set interfaces t1-0/0/0:0 t3-?         
        Possible completions:
        > t3-options           T3 interface-specific options
        [edit]
        user@router#

Example 2:

...src/junos/lib/ddl/input/dcd.cnf.dd

        attribute buildout {
            help "Line buildout";
            interface-acceptable INTF_T1 INTF_CT1 {
                flag no-channel;
            }
        }

Display 2:

        user@router# set interfaces t1-0/0/0:0 t1-options bu?   
        No valid completions
        [edit]
        user@router# set interfaces t1-0/0/0 t1-options bu?    
        Possible completions:
          buildout             Line buildout
        [edit]
        user@router#

Topics for further reading:

See also:
config_interface_acceptable

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