Creating an Initial Fabric


After you complete the initial setup on the switch, you must create a new fabric for the switch or join an existing fabric. When switches form a fabric, the fabric becomes one logical switch, and shares state as well as communicates commands so that any scope of a fabric- command is executed on each switch in the fabric. A switch must be in a fabric in order to keep track of the fabric state. 


Note: A switch can be a member of fabric, and consist of a single switch.


A switch leaving one fabric and joining another loses the fabric state of the first fabric and learns the fabric state of the second fabric.


1. To create a new fabric , use the following command:


CLI (network-admin@switch) > fabric-create name name-string


2. Create a name for the new fabric.


If you want to assign a password to the fabric that allows other switches to securely join the fabric only if the administrator knows the password, use the password option. Press the return key after typing the password parameter:


CLI (network-admin@switch) > fabric-create name name-string <return>


password:*******

Re-enter password:*******


By default, the fabric is created on VLAN1. You can specify a different VLAN, but if you change the VLAN, you must recreate the fabric.


To join a remote fabric use the fabric-join command and the switch IP address. For example,


CLI (network-admin@switch) > fabric-join switch-ip 192.168.2.2 vlan 20


3. To show fabric details, use the fabric-show command: 

 

CLI (network-admin@switch) > fabric-show


name           id               vlan fabric-network control-network tid fabric-advertisement-network

------------ --     --------------------------------   -------- ---------------------------- ------------------------------- ------- -------------------------------

Leaf1        b000707:59b6a9ef     0    mgmt           mgmt           48  inband-mgmt

Leaf2        90004eb:59b7da05     0    mgmt           mgmt            8  inband-mgmt