The Interface-range specification feature allows the specification of a range of interfaces to which subsequent commands are applied. The Interface-range specification feature makes configuration easier since identical commands can be entered once for a range of interfaces rather than being entered separately for each interface.
To configure a large number of ports with QFabric.
Interface-range is part of the main Junos OS, so the same capabilities / options are inherited in QFabric. But in QFabric, the range-command only works for a single QFNode.
At FRS, the range command cannot be applied across different QFNodes or within a Server Redundant Node Group or Network Node Group.
interface-range access-port { member-range Node-1:xe-0/0/0 to Node-5:xe-5/0/47; }
Supported
interface-range access-port { member-range Node-1:xe-0/0/0 to Node-1:xe-0/0/47; member-range Node-2:xe-0/0/0 to Node-2:xe-0/0/47; member-range Node-3:xe-0/0/0 to Node-3:xe-0/0/47; member-range Node-4:xe-0/0/0 to Node-4:xe-0/0/47; member-range Node-5:xe-0/0/0 to Node-5:xe-0/0/47; }
The interface range command has to be applied from the SFC -CLI whihc is from the DG directly and not from the individual node-group. It seems to be a limitation that multiple nodes within same node-group can't be used at once to configur the ports.
Example from lab
set interfaces interface-range Test-Range-1 member-range qf1-nng-3:ge-0/0/6 to qf1-nng-3:ge-0/0/7 set interfaces interface-range Test-Range-1 disable <-- disable option will disable all the listed ports
In the above statement, Test-Range-1 is the interface-range-name, which is like group-name .
List of all possible completion
root@qfabric# set interfaces interface-range Test-Range-1 ? Possible completions: accounting-profile Accounting profile name > aggregated-ether-options Aggregated Ethernet interface-specific options > aggregated-sonet-options Aggregated SONET interface-specific options + apply-groups Groups from which to inherit configuration data + apply-groups-except Don't inherit configuration data from these groups > atm-options ATM interface-specific options > clocking Interface clock source > container-options Container interface specific options dce Respond to Frame Relay status enquiry messages description Text description of interface disable Disable this interface > ds0-options DS-0 interface-specific options > e1-options E1 interface-specific options > e3-options E3 interface-specific options > ether-options Ethernet interface-specific options > fibrechannel-options Fibre Channel interface-specific options > framing Frame type > ggsn-options GGSN interface-specific options gratuitous-arp-reply Enable gratuitous ARP reply > hold-time Hold time for link up and link down > lmi Local Management Interface settings > lsq-failure-options Link services queuing failure options mac Hardware MAC address > member Interfaces belonging to the interface range > member-range Interfaces range in <start-range> to <end-range> format > mlfr-uni-nni-bundle-options Multilink Frame Relay UNI NNI (FRF.16) management settings mtu Maximum transmit packet size (256..9216) > multiservice-options Multiservice interface-specific options no-gratuitous-arp-reply Don't enable gratuitous ARP reply no-gratuitous-arp-request Ignore gratuitous ARP request no-keepalives Do not send keepalive messages no-traps Don't enable SNMP notifications on state changes > satop-options Structure-Agnostic TDM over Packet protocol options > serial-options Serial interface-specific options > services-options Services interface-specific options > shdsl-options SHDSL interface-specific options speed Link speed > t1-options T1 interface-specific options > t3-options T3 interface-specific options traps Enable SNMP notifications on state changes > unit Logical interface vlan-tagging 802.1q VLAN tagging support
2018-07-23: Added an example and a list of possible completions in the solution section.