Interfaces Inheriting Common Configuration
Configuring Inheritance Range Priorities
Configuration Expansion Where Interface Range Is Used
Copyright © 2015, Juniper Networks, Inc.
If an interface is a member of several interface ranges, that interface will inherit the
common configuration from all of those interface ranges.
[edit]
interfaces {
interface-range range-1 {
member-range ge-1/0/0 to ge-10/0/47;
mtu 256;
}
}
interfaces {
interface-range range-1 {
member-range ge-10/0/0 to ge-10/0/47;
hold-time up 10;
}
}
In this example, interfaces ge-10/0/0 through ge-10/0/47 will have both
mtu
.
The interface ranges are defined in the order of inheritance priority, with the first interface
range configuration data taking priority over subsequent interface ranges.
[edit]
interfaces {
interface-range int-grp-one {
member-range ge-0/0/0 to ge-4/0/40;
member ge-1/1/1;
/*Common config is added part of the interface-range definition*/
mtu 256;
hold-time up 10;
}
}
interfaces {
interface-range int-grp-two {
member-range ge-5/0/0 to ge-10/0/40;
member ge-1/1/1;
mtu 1024;
}
}
Interface ge-1/1/1 exists in both
This interface inherits
mtu 256
first.
In this example,
interface-range range-1
[edit]
interfaces {
interface-range range-1 {
interface-range int-grp-one
from
interface-range int-grp-one
is used under the
Chapter 2: Configuration Tasks
and
hold-time
and
interface-range int-grp-two
because it was defined
protocols
hierarchy:
.
73