![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/9/13/913595a3-acbb-41ef-943e-565cce3e64fc/913595a3-acbb-41ef-943e-565cce3e64fc-bg8f.png)
Using the CLI 143
• The range may be specified in the following manner:
(#-#) — a range from a particular instance to another instance
(inclusive). For example, 1/g1-g10 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/g1,
1/g3,1/g5) 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/g1, 1/g3-g5, 1/g7) indicates that the operation applies to the
gigabit Ethernet ports 1, 7, and 3 to 5 on unit 1.
NOTE: Each # must be a fully qualified port identifier, that is,
type<unit>/<port_type><port_number>, where unit is 1-12, port_type is g or xg and
port_number is 1-24 or 1-48 in the case of port_type g and 1-4 for port_type xg. The
following formats are allowed:(#-#,#), (#,#-#,#), (#,#-#,#-#,#). For LAG, use "
interface
range port-channel 1-48
".
• 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.
• Some parameters must be configured individually for each port or
interface.
Command Scripting
The CLI can be used as a programmable management interface. To facilitate
this function, any characters entered after the <!> character are treated as a
comment and ignored by the CLI. Also, the CLI allows the user to disable
session timeouts.