This article provides an example of configuring an interface range on the EX and QFX series of switches that can be applied to a single VLAN.
In the following steps, an example interface range "test" is configured and member interfaces are added to the interface range. Note: For detailed information about configuring an interface range, refer to Interface Ranges .
user@juniper# set vlans vlan10 vlan-id 10
user@juniper# set interfaces interface-range test unit 0 family ethernet-switching vlan members vlan10
user@juniper# set interfaces interface-range test member-range ge-0/0/0 to ge-0/0/10
user@juniper# commit check configuration check succeeds user@juniper# commit configuration check succeeds commit complete
user@juniper# run show vlans
Name Tag Interfaces default ge-0/0/11.0, ge-0/0/12.0, ge-0/0/13.0, ge-0/0/14.0, ge-0/0/15.0, ge-0/0/16.0*, ge-0/0/17.0, ge-0/0/18.0, ge-0/0/19.0, ge-0/0/20.0, ge-0/0/21.0, ge-0/0/22.0, ge-0/0/23.0, ge-0/1/0.0 vlan10 10 <<<<<<< Interfaces ge-0/0/0 - ge-0/0/10 in vlan10 ge-0/0/0.0, ge-0/0/1.0, ge-0/0/2.0, ge-0/0/3.0, ge-0/0/4.0, ge-0/0/5.0, ge-0/0/6.0, ge-0/0/7.0, ge-0/0/8.0, ge-0/0/9.0, ge-0/0/10.0* user@juniper# edit interfaces interface-range test [edit interfaces interface-range test] user@juniper# show member-range ge-0/0/0 to ge-0/0/10; unit 0 { family ethernet-switching { vlan { members 10; } } }
2020/06/18 - Minor change in Summary. Article reviewed for accuracy; article accurate and valid.