flag allow-mask

Mode: Configuration Mode


Traditionally, netmasks in JUNOS are defined with the number of the netmask bits counting from the most-significant bit. Another way to define netmasks is to use the ip-address format.

1. users are more familiar with naming netmasks in ip-address formats 2. non-contaguious netmasks

The allow-mask flag relax the netmask specification to both number-of-bit and ip-address formats.


        object newbie {
            help "Newbie settings";

            attribute host-addr {
                help "Test host address";
                type ipv4prefix;


Topics for further reading:

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