Complete Software Guide for Junos
Interfaces Inheriting Common Configuration
Configuring Inheritance Range Priorities
1322
®
OS for EX Series Ethernet Switches, Release 10.4
##
## 'hold-time' was inherited from group 'global'
## '10' was inherited from group 'global'
##
hold-time up 10;
}
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
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
exists in both
ge-1/1/1
This interface inherits
mtu 256
first.
through
ge-10/0/0
ge-10/0/47
interface-range int-grp-one
from
interface-range int-grp-one
will have both
hold-time
and
interface-range int-grp-two
because it was defined
Copyright © 2010, Juniper Networks, Inc.
and
.