Using the CLI
174
Operating on Multiple Objects (Range)
The CLI allows the user to operate on the set of objects at the same time.
The guidelines are as follows for range operation:
• Operations on objects with four or more instances support the range
operation, unless noted otherwise in the specific command
documentation.
• The
range
key word is used to identify the range of objects on which to
operate.
• The range may be specified in the following manner:
(#-#) — a range from a particular instance to another instance
(inclusive). For example, 1/0/1-10 indicates that the operation applies to
the gigabit Ethernet ports 1 to 10 on unit 1.
(#, #, #) — a list of non-consecutive instances. For example, (1/0/1,
1/0/1,1/0/3, 1/0/5) indicates that the operation applies to the gigabit
Ethernet ports 1, 3, and 5 on unit 1.
(#, #-#, #) — ranges and non-consecutive instances listed together. For
example, (1/0/1, 1/0/3-5, 1/0/7) indicates that the operation applies to the
gigabit Ethernet ports 1, 3, 4, 5, and 7 on unit 1.
NOTE:
Each port must be a fully qualified port identifier in the format
unit
/
slot
/
port
. See
Interface Naming Conventions
on page 176.
• To specify a range of LAGs, use the following command:
interface range port-channel
1-48
• No spaces are allowed anywhere in a range parameter, e.g. gi1/0/1 -2 is not
accepted, nor is gi1/0/2, gi1/0/4. Use gi1/0/1-2 and gi/1/0/2,gi1/0/4
respectively.
• When operating on a range of objects, the CLI implementation hides the
parameters that may not be configured in a range (for example, parameters
that must be uniquely configured for each instance).
• The CLI uses best effort when operating on a list of objects. If the user
requests an operation on a list of objects, the CLI attempts to execute the
operation on as many objects in the list as possible even if failure occurs for
some of the items in the list. The CLI provides the user with a detailed list
of all failures, listing the objects and the reasons for the failures.
2CSPC4.X7000-SWUM204.book Page 174 Friday, March 15, 2013 8:22 AM
Summary of Contents for Networking 7048
Page 76: ...Contents 76 ...
Page 168: ...Command Groups 168 ...
Page 242: ...Using the CLI 242 ...
Page 244: ...244 Layer 2 Switching Commands ...
Page 278: ...278 AAA Commands ...
Page 287: ...Administrative Profiles Commands 287 global config ethernet config port channel config ...
Page 288: ...288 Administrative Profiles Commands ...
Page 326: ...326 Address Table Commands Maximum addresses 100 Learned addresses ...
Page 332: ...332 Auto VoIP Commands ...
Page 366: ...366 DHCP Management Interface Commands ...
Page 464: ...464 Ethernet CFM Commands ...
Page 478: ...478 Green Ethernet Commands ...
Page 502: ...502 IGMP Snooping Commands ...
Page 542: ...542 IPv6 Access List Commands ...
Page 554: ...554 IPv6 MLD Snooping Commands ...
Page 568: ...568 IP Source Guard Commands ...
Page 580: ...580 iSCSI Optimization Commands ...
Page 588: ...588 Link Dependency Commands ...
Page 616: ...616 LLDP Commands ...
Page 652: ...652 Port Channel Commands ...
Page 752: ...752 RADIUS Commands ...
Page 784: ...784 Spanning Tree Commands ...
Page 850: ...850 VLAN Commands ...
Page 856: ...856 Voice VLAN Commands ...
Page 890: ...890 Layer 3 Commands ...
Page 934: ...934 DHCP Server and Relay Agent Commands ...
Page 960: ...960 DVMRP Commands ...
Page 980: ...980 IGMP Commands ...
Page 988: ...988 IGMP Proxy Commands ...
Page 1036: ...1036 IP Routing Commands ...
Page 1109: ...IPv6 Routing Commands 1109 Tracing route over a maximum of 20 hops 1 N N N ...
Page 1110: ...1110 IPv6 Routing Commands ...
Page 1114: ...1114 Loopback Interface Commands ...
Page 1144: ...1144 Multicast Commands ...
Page 1296: ...1296 OSPFv3 Commands ...
Page 1306: ...1306 Router Discovery Protocol Commands ...
Page 1322: ...1322 Routing Information Protocol Commands console config router split horizon none ...
Page 1328: ...1328 Tunnel Interface Commands ...
Page 1354: ...1354 Utility Commands ...
Page 1364: ...1364 Auto Install Commands ...
Page 1406: ...1406 CLI Macro Commands ...
Page 1424: ...1424 Clock Commands ...
Page 1430: ...1430 Command Line Configuration Scripting Commands ...
Page 1451: ...Configuration and Image File Commands 1451 console ...
Page 1452: ...1452 Configuration and Image File Commands ...
Page 1482: ...1482 Mode Commands ...
Page 1518: ...1518 Power Over Ethernet Commands ...
Page 1576: ...1576 Sflow Commands ...
Page 1604: ...1604 SNMP Commands ...
Page 1618: ...1618 SSH Commands ...
Page 1640: ...1640 Syslog Commands ...
Page 1708: ...1708 System Management Commands 5 ...
Page 1716: ...1716 Terminal Length Commands ...
Page 1786: ...1786 Appendix A List of Commands ...
Page 1787: ...www dell com support dell com Printed in the U S A ...
Page 1788: ......