[an error occurred while processing this directive][an error occurred while processing this directive]

Member Interfaces Inheriting Configuration from Configuration Groups

Interface range member interfaces inherit the config-groups configuration like any other foreground configuration. interface-range is similar to any other foreground configuration statement. The only difference is that the interface-range goes through a member interfaces expansion before the JUNOS Software reads this configuration.

groups {global {interfaces {<*> {hold-time up 10;}}}apply-groups [global];interfaces {interface-range foo {member-range ge-1/0/0 to ge-10/0/47;mtu 256;}}}

The hold-time configuration is applied to all members of interface-range foo.

This can be verified with show interfaces | display inheritance as below:


user@host# show interfaces | display inheritance
ge-1/0/0 {
    ##
    ## '256' was expanded from interface-range 'foo'
    ##
    mtu 256;
    ##
    ## 'hold-time' was inherited from group 'global'
    ## '10' was inherited from group 'global'
    ##
    hold-time up 10;
}
ge-1/0/1 {
    ##
    ## '256' was expanded from interface-range 'foo'
    ##
    mtu 256;
    ##
    ## 'hold-time' was inherited from group 'global'
    ## '10' was inherited from group 'global'
    ##
    hold-time up 10;
}
ge-10/0/47 {
    ##
    ## '256' was expanded from interface-range 'foo'
    ##
    mtu 256;
    ##
    ## 'hold-time' was inherited from group 'global'
    ## '10' was inherited from group 'global'
    ##
    hold-time up 10;
}

Published: 2010-04-20

[an error occurred while processing this directive]