Virtual Chassis Fabric
For QFX5100-24Q (Spine 1):-
Before start configuration:
Plug out all cable among spines and leafs.
Show chassis hardware
Step 01:
############## For same model switches ############
request virtual-chassis mode fabric reboot
############## For different model switches ############
request virtual-chassis mode fabric mixed reboot
Step 02:
As we want to set members (Spine and leaf) manually,
Therefore we have to set pre-provisioned otherwise have
to set non pre-provisioned.
user@Qfx-24Q# set virtual-chassis preprovisioned
Step 03:
Now we have to set the members role such as routing-engine or line-card.
Command syntax
set virtual-chassis member member-ID serial-number
SERIALNUMB role routing-engine /line-card
set virtual-chassis member 0 serial-number VGXXXXXXX315
role routing-engine
set virtual-chassis member 1 serial-number VGXXXXXXX028
role routing-engine
set virtual-chassis member 2 serial-number TRXXXXXX0076
role line-card
set virtual-chassis member 3 serial-number TRXXXXXX0046
role line-card
set virtual-chassis member 4 serial-number TRXXXXXX0201
role line-card
set virtual-chassis member 5 serial-number TRXXXXXX0130
role line-card
set virtual-chassis member 6 serial-number TRXXXXXX0040
role line-card
set virtual-chassis member 7 serial-number TRXXXXXX0089
role line-card
set virtual-chassis member 8 serial-number TRXXXXXX0074
role line-card
set virtual-chassis member 9 serial-number TRXXXXXX0038
role line-card
set virtual-chassis member 10 serial-number TRXXXXXX0056
role line-card
set virtual-chassis member 11 serial-number TRXXXXXX0125
role line-card
set virtual-chassis member 12 serial-number TRXXXXXX0100
role line-card
Step 04:
Now we have to configure the Virtual chassis ports (VCP). As we
have 11 leafs in this spine-leaf architectures, therefore we will configure
first 11(0-10) ports as VCP for QFX-5100-24Q.
request virtual-chassis vc-port set pic-slot 0 port 0
request virtual-chassis
vc-port set pic-slot 0 port 1
request virtual-chassis vc-port set
pic-slot 0 port 2
request virtual-chassis vc-port set
pic-slot 0 port 3
request virtual-chassis vc-port set
pic-slot 0 port 4
request virtual-chassis vc-port set
pic-slot 0 port 5
request virtual-chassis vc-port set
pic-slot 0 port 6
request virtual-chassis
vc-port set pic-slot 0 port 7
request virtual-chassis vc-port set
pic-slot 0 port 8
request virtual-chassis vc-port set
pic-slot 0 port 9
request virtual-chassis vc-port set
pic-slot 0 port 10
Step 05:
Now we will configure hostname and management IP address.
set system host-name SWITCH_VCF
set interface vme0 unit 0 family inet address
10.64.110.1/30
(Optional) Disable the neighbor discovery protocols
delete protocols lldp
For QFX5100-24Q (Spine 2):-
request virtual-chassis mode fabric reboot
request virtual-chassis vc-port set pic-slot 0 port 0
request virtual-chassis
vc-port set pic-slot 0 port 1
request virtual-chassis vc-port set pic-slot 0
port 2
request virtual-chassis vc-port set pic-slot 0
port 3
request virtual-chassis vc-port set
pic-slot 0 port 4
request virtual-chassis vc-port set pic-slot 0
port 5
request virtual-chassis vc-port set pic-slot 0
port 6
request virtual-chassis
vc-port set pic-slot 0 port 7
request virtual-chassis vc-port set pic-slot 0
port 8
request virtual-chassis vc-port set pic-slot 0
port 9
request virtual-chassis vc-port set
pic-slot 0 port 10
For QFX5100-48T (Leaf
1-11):-
request virtual-chassis mode fabric reboot
request virtual-chassis vc-port set pic-slot 0 port 48
request virtual-chassis
vc-port set pic-slot 0 port 49
N.B No need to
configure VCPs on Leaf Nodes if QSFP interface use as VCP.
After doing all the configurations plug in all the cables
according to the diagram.
user@Qfx-24Q#show virtual-chassis status
Preprovisioned Virtual Chassis Fabric
Fabric ID: cd95.5928.3205
Fabric Mode: Enabled
Mstr Mixed Route
Neighbor List
Member ID Status Serial No Model prio Role Mode Mode ID Interface
0 (FPC 0) Prsnt VGXXXXXXX315 qfx5100-24q-2p 129 Master*
N F 5
vcp-255/0/3
9 vcp-255/0/7
11
vcp-255/0/9
2 vcp-255/0/0
3 vcp-255/0/1
12
vcp-255/0/10
4 vcp-255/0/2
6 vcp-255/0/4
7 vcp-255/0/5
8 vcp-255/0/6
10 vcp-255/0/8
1 (FPC 1) Prsnt VGXXXXXXX028 qfx5100-24q-2p 129 Backup
N F 5
vcp-255/0/3
3 vcp-255/0/1
2 vcp-255/0/0
4 vcp-255/0/2
6 vcp-255/0/4
7 vcp-255/0/5
8 vcp-255/0/6
9 vcp-255/0/7
10
vcp-255/0/8
11 vcp-255/0/9
2 (FPC 2) Prsnt TRXXXXXX0076 qfx5100-48t-6q 0
Linecard N F 0 vcp-255/0/48
1 vcp-255/0/49
3 (FPC 3) Prsnt TRXXXXXX0046 qfx5100-48t-6q 0
Linecard N F 0 vcp-255/0/48
1 vcp-255/0/49
4 (FPC 4) Prsnt TRXXXXXX0201 qfx5100-48t-6q 0
Linecard N F 0 vcp-255/0/48
1 vcp-255/0/49
5 (FPC 5) Prsnt TRXXXXXX0130 qfx5100-48t-6q 0
Linecard N F
0 vcp-255/0/48
1 vcp-255/0/49
6 (FPC 6) Prsnt TRXXXXXX0040 qfx5100-48t-6q 0
Linecard N F 0 vcp-255/0/48
1 vcp-255/0/49
7 (FPC 7) Prsnt TRXXXXXX0089 qfx5100-48t-6q 0
Linecard N F 0 vcp-255/0/48
1 vcp-255/0/49
8 (FPC 8) Prsnt TRXXXXXX0074 qfx5100-48t-6q 0
Linecard N F 0 vcp-255/0/48
1 vcp-255/0/49
9 (FPC 9) Prsnt TRXXXXXX0038 qfx5100-48t-6q 0
Linecard N F 0 vcp-255/0/48
1 vcp-255/0/49
10 (FPC 10) Prsnt TRXXXXXX0056
qfx5100-48t-6q 0 Linecard
N F 0
vcp-255/0/48
1
vcp-255/0/49
11 (FPC 11) Prsnt TRXXXXXX0125
qfx5100-48t-6q 0 Linecard
N F 0
vcp-255/0/48
1 vcp-255/0/49
12 (FPC 12) Prsnt TRXXXXXX0100
qfx5100-48t-6q 0 Linecard
N F 0
vcp-255/0/48
root> show system license keys