The 3-stage topology has 2 layers of
devices: leaf and spine. All links between leaf and spine must be connected. Spine nodes are
not interconnected.
-
Create the fabric.
-
Add a device to the
fabric.
A device must be registered with the Inventory Service before you can add it to a fabric.
However, if you provide a user name and password when you run the command,
then the devices are automatically registered with the Inventory Service.
See the examples at the end of this procedure.
You can add multiple devices by using the efa fabric device
add-bulk
command.
Tip
To validate fabric port-link status, complete the following
operations before
efa fabric device add-bulk command:
- Run the efa inventory device register –ip <list of
device-ips> command.
- Run the efa inventory device interface list –ip
<device-ip> command.
- Verify port link status (up/down) in
Admin Status and Oper Status fields.
- Confirm they are as expected.
- If not, manually check for physical
cabling and fix any issues. Continue with the
efa
fabric device add-bulk
operation.
-
Configure the fabric.
Topology validation occurs
during the addition of a device and during fabric configuration. The following
validations are performed.
- Leaf nodes must connect
to all the spine nodes.
- A spine node must connect
to all the leaf nodes.
- A Border leaf node
connects to all the spine nodes.
- A spine node connects to
all the Border Leaf .
- No more than two leaf
nodes connect to each other.
- No more than two Border
Leaf nodes connect to each other.
- Border Leaf node and leaf
node are not connected to each other.
- Spine nodes are not
connected to each other.
- Super-spine nodes are not
connected to each other.
- A leaf node marked as
"multi-homed" must have an MCT neighbor.
- A leaf node marked as
"single-homed" is not connected to other leaf nodes.
- A Border Leaf node marked
as "multi-homed" must have an MCT neighbor.
- A Border Leaf node marked
as "single-homed" is not connected to other Border Leaf nodes.
- Device role (such as
Leaf, Border-leaf, Spine, or Super-spine) is validated for a given
device platform type (for example, SLX 9840 cannot be added as a
leaf).
Tip
The
validation process reports any errors as a response to the
efa fabric device
add or
efa fabric configure operations. You can use the
efa fabric error
show command to export these errors to a CSV file.
Note
You cannot
change fabric settings after you add devices to the fabric.
Example
This example creates the fabric.
efa fabric create --name stage3
Example
This example adds multiple devices to the
fabric.
efa fabric device add-bulk --leaf 10.20.50.205,10.20.50.206,10.20.50.207
--spine 10.20.50.203,10.20.50.204 --name stage3 --username admin
--password password
Example
This example configures the fabric.
efa fabric configure --name stage3