efa inventory device firmware-download prepare remove

Removes the specified devices from the prepared list.

Syntax

efa inventory device firmware-download prepare remove [ --fabric fabric-name | --ip ip-address | --group group-number ]

Parameters

--fabric fabric-name
Specifies the name of the fabric. Using this parameter completely deletes the prepared list for the fabric, including all groups.
--ip ip-address
Specifies a comma-separated list of device IP addresses. Using this parameter deletes the prepared devices, even if they are prepared in separate groups.
--group group-number
Specifies a group number. Using this parameter removes all devices prepared in the given group.

Usage Guidelines

The fabric, group, and ip parameters cannot be used together.

Examples

Firmware Download Prepare Add (Fabric-based)

Prepare the fabric and let EFA automatically generate the group-based prepared list for the fabric. This example shows only a portion of all possible output.

$ efa inventory device firmware-download prepare add --fabric fab_3stg 
--firmware-host 10.20.241.101 --firmware-directory /build/slx/slxos20.2.3a
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| Group |  IP Address  |  Host Name  | Model | Chassis Name | ASN | Role  | Current Firmware |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 1     | 10.20.245.1  | L1          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 1     | 10.20.245.3  | L3          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 1     | 10.20.245.5  | L5          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 2     | 10.20.245.2  | L2          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 2     | 10.20.245.4  | L4          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
Firmware Download Prepare Add Details
Validate Firmware Download Prepare Add [success]

Firmware Download Prepare Delete (IP-based)

Given the prepared list from the previous example, delete an MCT leaf pair prepared across groups. This example shows only a portion of all possible output.

$ efa inventory device firmware-download prepare remove 
--ip 10.20.245.5,10.20.245.6
+-------+--------------+-------------+-------+--------------+-----+-------+------------------
| Group |  IP Address  |  Host Name  | Model | Chassis Name | ASN | Role  | Current Firmware |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 1     | 10.20.245.5  | L5          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 2     | 10.20.245.6  | L6          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
Firmware Download Prepare Remove Details
Validate Firmware Download Prepare Remove [success]

Firmware Download Prepare Delete (Group-based)

Continuing from the previous example, delete devices prepared in Group 2. This example shows only a portion of all possible output.

$ efa inventory device firmware-download prepare remove --group 2
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| Group |  IP Address  |  Host Name  | Model | Chassis Name | ASN | Role  | Current Firmware |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 2     | 10.20.245.2  | L2          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 2     | 10.20.245.4  | L4          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
Firmware Download Prepare Remove Details
Validate Firmware Download Prepare Remove [success]

Firmware Download Prepare Delete (Fabric-based)

Continuing from the previous example, delete the remaining devices in the fabric. This example shows only a portion of all possible output.

$ efa inventory device firmware-download prepare remove --fabric fab_3stg
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| Group |  IP Address  |  Host Name  | Model | Chassis Name | ASN | Role  | Current Firmware |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 1     | 10.20.245.1  | L1          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 1     | 10.20.245.3  | L3          | 3012  | SLX9250-32C  | 0   | Leaf  | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 3     | 10.20.245.9  | S1          | 3012  | SLX9250-32C  | 0   | Spine | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
| 4     | 10.20.245.10 | S2          | 3012  | SLX9250-32C  | 0   | Spine | 20.2.3           |
+-------+--------------+-------------+-------+--------------+-----+-------+------------------+
Firmware Download Prepare Remove Details
Validate Firmware Download Prepare Remove [success]