efa inventory device
execute-cli
Runs CLI on the device.
Syntax
efa inventory device
execute-cli
[
--ip
ip-addr
|
--fabric
fabric-devices
|
--role
role-devices
|
--command
command
|
--config
config-term |
exec-mode
]
Parameters
- --ip
ip-addr
- Specifies comma-separated range of device IP
addresses. Example: 1.1.1.1-3,1.1.1.2,2.2.2.2.
- --fabric
fabric-devices
- Specifies all devices in the specified
fabric.
- --role
role-devices
- Specifies devices in the fabric, based on
their role.
- --command
command
- Specifies a comma-separated or
semicolon-separated list of CLI commands to run on the devices.
- --config
config-term | exec-mode
- Indicates whether commands are for
config-term or exec-mode. The default value is
exec-mode
.
# efa inventory device execute-cli --ip 10.18.120.187 --command "Interface ethernet 0/1, no reload-delay enable" --config