Dell PowerEdge M805 User Manual

Page 90

Advertising
background image

52

Using the CLI

www

.dell.com | support.dell.com

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.

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/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-18".

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
command line starting with the <!> character is treated as a comment line and ignored by the
CLI. Also, the CLI allows the user to disable session timeouts.

Advertising