Regex or wildcards are not supported for interface-type prefixes. For example, prefixes
ge, fe, and xe must be mentioned explicitly.
An interface-range definition can contain both member and member-range statements
within it. There is no maximum limit on the number of member or member-range
statements within an interface-range. However, at least one member or member-range
statement must exist within an interface-range definition.
Example: Interface
Range Common
Configuration
Configuration common to an interface range can be added as a part of the interface-range
definition, as follows:
[edit]
interfaces {
+ interface-range foo {
+ member-range ge-1/0/0 to ge-4/0/40;
+ member ge-0/1/1;
+ member ge-5/[1-10]/*;
/*Common configuration is added as part of interface-range definition*/
mtu 256;
hold-time up 10;
ether-options {
flow-control;
speed {
100m;
}
802.3ad primary;
}
}
}
An interface-range definition having just member or member-range statements and no
common configurations statements is valid.
These defined interface ranges can be used in other configuration hierarchies, in places
where an interface node exists.
Example:
Interface-Range foo
protocols {
dot1x {
authenticator {
Used Under the
Protocols Hierarchy
interface foo{
retries 1;
}
}
}
}
foo should be an interface-range defined at the [interfaces] hierarchy level. In the above
example, the interface node can accept both individual interfaces and interface ranges.
TIP: To view an interface range in expanded configuration, use the (show |
display inheritance) command. For more information, see the CLI User Guide.
Copyright © 2015, Juniper Networks, Inc.68
Network Interfaces for EX4300 Switches