Configure the removal of FCoE connectivity components from the ACI fabric using NX-OS style CLI commands.
Remove FCoE components from multiple levels of the ACI fabric to properly undeploy FCoE connectivity.
Any move to undeploy FCoE connectivity from the ACI fabric requires that you remove the FCoE components on several levels.
Procedure
-
List the attributes of the leaf port interface, set its mode setting to default, and then remove its EPG deployment and domain association.
The example sets the port mode setting of interface vfc 1/2 to default and then removes the deployment of EPG e1 and the association with VSAN Domain dom1 from that interface.
Example:
apic1(config)# leaf 101
apic1(config-leaf)# interface vfc 1/2
apic1(config-leaf-if)# show run
# Command: show running-config leaf 101 interface vfc 1 / 2
# Time: Tue Jul 26 09:41:11 2016
leaf 101
interface vfc 1/2
vsan-domain member dom1
switchport vsan 2 tenant t1 application a1 epg e1
exit
exit
apic1(config-leaf-if)# no switchport mode
apic1(config-leaf-if)# no switchport vsan 2 tenant t1 application a1 epg e1
apic1(config-leaf-if)# no vsan-domain member dom1
apic1(config-leaf-if)# exit
apic1(config-leaf)# exit
-
List and remove the VSAN/VLAN mapping and the VLAN and VSAN pools.
The example removes the VSAN/VLAN mapping for VSAN 2, VLAN pool 1-10, and VSAN pool 1-10 from VSAN domain dom1.
Example:
apic1(config)# vsan-domain dom1
apic1(config-vsan)# show run
# Command: show running-config vsan-domain dom1
# Time: Tue Jul 26 09:43:47 2016
vsan-domain dom1
vsan 1-10
vlan 1-10
fcoe vsan 2 vlan 2
exit
apic1(config-vsan)# no fcoe vsan 2
apic1(config-vsan)# no vlan 1-10
apic1(config-vsan)# no vsan 1-10
apic1(config-vsan)# exit
#################################################################################
NOTE: To remove a template-based VSAN to VLAN mapping use an alternate sequence:
#################################################################################
apic1(config)# template vsan-attribute <template_name>
apic1(config-vsan-attr)# no fcoe vsan 2
-
Delete the VSAN Domain.
The example deletes VSAN domain dom1.
Example:
apic1(config)# no vsan-domain dom1
-
You can delete the associated tenant, EPG, and selectors if you do not need them.
FCoE elements are successfully undeployed from the ACI fabric, with all associated interfaces, mappings, pools, and domain configurations removed.