efa fabric device add

Adds a device to an existing fabric.

Syntax

efa fabric device add [ --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 <id> |--pod |--username |--password | --rack | --help ]

Command Default

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

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

If user provides “username” and “password”, then the device will be auto registered with the inventory service.

If user doesn‘t provide “username” and “password”, then user would need to explicitly register the device with the inventory service.

Parameters

--name
Specifies the name of the fabric.
--ip
Specifies the pair of device IPs for rack, single IP for non-rack.
--role
Specifies the device role (leaf | spine | super-spine | border-leaf).
--leaf-type
Specifies the leaf type (single-homed | multi-homed).
--hostname
Specifies the host name.
--asn
Specifies ASN.
--vtep-loopback
Specifies VTEP loopback.
--loopback
Specifies the loopback port number.
--pod
Specifies the name of the pod.
--rack
Specifies the name of the rack.
--username
Specifies the username for the device.
--password
Specifies the password for the device.

Examples

efa fabric device add --name extr-fabric --ip 10.24.80.134,10.24.80.135  --rack room1-rack1 --username admin --password password