# efa fabric create –-name clos_fabric --type clos --stage 3
Note
Optimized replication is not supported on non-Clos fabric.# efa fabric setting update –-optimized-replication-enable yes –-name clos_fabric
# efa fabric setting update –-name clos_fabric –-mdtgroup-range <A.B.C.D/L> –-default-mdtgroup <A.B.C.D> # efa fabric setting update –-name clos_fabric –-mdtgroup-range 239.0.0.0/8 –-default-mdtgroup 239.1.1.1
# efa fabric setting show --name clos_fabric --advanced +--------------------------------+------------------------+ | Optimized Replication Enable | Yes | +--------------------------------+------------------------+ | MDT Group IPv4 Range | 238.0.0.0/8 | +--------------------------------+------------------------+ | Default MDT Group IPv4 address | 238.1.1.1 | +--------------------------------+------------------------+
# efa fabric device add-bulk --name clos_fabric --leaf Leaf1IP,Leaf2IP,Leaf3IP,Leaf4IP --spine Spine1IP,Spine2IP --username admin --password password
# efa fabric configure –name clos_fabric
# efa fabric show-config --name clos_fabric --advanced
# efa tenant create --name tenant1 --l2-vni-range 10002-14190 --l3-vni-range 14191-14200 --vrf-count 10 --vlan-range 2-4090 --port Leaf1IP[0/12-16],Leaf2IP[0/12-16], Leaf3IP[0/12-16],Leaf4IP[0/12-16] --description Subscriber1 # efa tenant epg create --name epg1 --tenant tenant1 --port Leaf1IP[0/15],Leaf2IP[0/15],Leaf3IP[0/16 --switchport-mode trunk --ctag-range 100