interface-range
Syntax
Hierarchy Level
Release Information
Statement introduced in JUNOS Release 10.0.
Description
Specify a set of identical interfaces as an interface group, to which you can apply a common configuration to the entire set of interfaces. This group can consist of both lexical member ranges of interfaces specified using the member-range interface-type-fpc/pic/port to xx-fpc/pic/port option (regex not supported), and of individual or non-sequential members using the member interface-type-fpc/pic/port option (with regex support to specify the fpc/pic/port values).
Options
- member-range
Adds interfaces in lexical order. Regex is not supported.
- Format:
member-range <start-range> to <end-range>
- Example:
member-range ge-0/0/0 to ge-4/0/40;
- member
To add individual interfaces or multiple interfaces using regex.
- Format:
member <list of interface names>
- Example:
member ge-0/0/0;
member ge-0/1/1;
member ge-0/*/*;
member ge-0/[1-10]/0;
member ge-1/[1,3,6,10]/12
Required Privilege Level
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.