The 5-stage topology has 3 layers of
devices: Leaf, Spine, and Super-Spine.
You can build a 5-stage Clos from top to
bottom or bottom to top. The following example builds from top to bottom.
-
Create the Fabric.
-
Add a device to the
Fabric.
A device must be registered with 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.
-
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 nodes
- 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, and 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.
Example
This example creates the
Fabric.
efa fabric create --name stage5
Example
This example adds a device to the
Fabric.
efa fabric device add--name stage5 --username admin --password password
--leaf 10.20.50.205,10.20.50.206,10.20.50.207 --spine 10.20.50.203,10.20.50.204
--three-stage-pod podA --super-spine
Example
This example adds multiple devices to the
Fabric.
efa fabric device add-bulk --name stage5 --username admin --password password
--leaf 10.20.50.205,10.20.50.206,10.20.50.207 --spine 10.20.50.203,10.20.50.204
--three-stage-pod podA --super-spine 10.20.50.201,10.20.50.202 --five-stage-pod podC
Example
This example configures the Fabric
topology.
efa fabric configure --name stage5