efa fabric device add

Adds a device to an existing fabric.

Syntax

efa fabric device add [ --name fabric-name | --ip device-ip | --role { leaf | spine | super-spine | border-leaf } | --leaf-type { single-homed | multi-homed }| --hostname hostname | --asn local-asn |--vtep-loopback id |--loopback port-num | --pod name | --username username | --password password | --rack name ]

Parameters

--name fabric-name
Specifies the name of the fabric.
--ip device-ip
Specifies the pair of device IP addresses for rack, or a single IP address for non-rack.
--role { leaf | spine | super-spine | border-leaf }
Specifies the device role.
--leaf-type { single-homed | multi-homed }
Specifies whether the leaf is single-homed or multi-homed.
--hostname hostname
Specifies the host name.
--asn local-asn
Specifies the local ASN.
--vtep-loopback id
Specifies the VTEP loopback ID.
--loopback port-num
Specifies the loopback port number.
--pod name
Specifies the name of the pod.
--username username
Specifies the user name for the device.
--password password
Specifies the password for the device.
--rack name
Specifies the name of the rack.

Usage Guidelines

A device must be registered with Inventory Service before being added to a fabric. The Fabric Service supports IP numbered configuration. Each interface on a link between leaf and spine is assigned an IP address. EBGP peering uses these IP addresses.

Device credentials must be provided as part of this command if the devices are not already registered with the inventory.

If you provide the user name and password, then the device is automatically registered with the inventory service.

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

Examples

This example adds a pair of devices to the specified fabric and the specified rack.
efa fabric device add --name extr-fabric --ip 10.24.80.134,10.24.80.135  
--rack room1-rack1 --username admin --password password