efa fabric device add-bulk

Adds multiple devices to a fabric.

Syntax

efa fabric device add-bulk [ --name fabric-name| --ip device-ip| --leaf list| --border-leaf list | --border-leaf-rack list| --border-leaf-ip device-ip| --three-stage-pod name| --five-stage-pod name| --spine list| --super-spine list | --username username|--password password| --rack name| --help ]

Parameters

--name fabric-name
Specifies the name of the fabric.
--ip device-ip
Specifies the pair of device IP addresses for rack.
--leaf list
Specifies the comma-separated list of leaf IP addresses or host names.
--border-leaf list
Specifies the comma-separated list of border leaf IP addresses or host names.
--border-leaf-rack list
Specifies the border leaf rack name.
--border-leaf-ip device-ip
Specifies the pair of border leaf device IPs for the rack.
--three-stage-pod name
Specifies the name of the leaf or spine pod.
--five-stage-pod name
Specifies the name of the super-spine pod.
--spine list
Specifies the comma-separated list of spine IP addresses or host names.
--super-spine list
Specifies the comma-separated list of super spine IP addresses or host names.
--username username
Specifies the user name for the list of devices.
--password --password
Specifies the password for the list of devices.
--rack name
Specifies the rack name.
--help
Displays help for the command.

Usage Guidelines

Ensure you perform the following operations before running this command:
  • Run the efa inventory device register --ip <list-of-device-ips> command.
  • Run the efa inventory device interface list --ip <device-ip> command. In the output of the command, verify that the states of the port links are as you expected (in the Admin Status and Oper Status fields). If not, manually check the physical cabling and fix any issues. Then continue with the efa fabric device add-bulk operation.

If you provide a user name and password, devices are automatically registered with the inventory service.

If you do not provide a user name and password, you must explicitly register the devices with the inventory service.

A single “three-stage-pod” and “five-stage-pod” can be provided each time you run the command.

Examples

This example adds two leaf IP addresses and two border leaf IP addresses to the specified fabric.
efa fabric device add-bulk --name BLR_FABRIC --leaf 10.24.48.131,10.24.51.135 
--border-leaf 10.24.51.131,10.25.225.58 --spine 10.24.80.139  --username admin --password password