Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

PDF

Cisco APIC Layer 2 Networking Configuration Guide, Release 6.2(x)

Configure FCoE over FEX using NX-OS style CLI

Want to summarize with AI?

Log in

Configure FCoE over FEX ports using NX-OS style CLI commands to establish VSAN domains and associate interfaces.


This task enables FCoE over FEX configuration to support Fibre Channel over Ethernet communication through Fabric Extender ports.

FEX ports are configured as port VSANs.

Procedure

  1. Configure Tenant and VSAN domain:

    Example:

    apic1# configure
    apic1(config)#  tenant t1
    apic1(config-tenant)#   vrf context v1
    apic1(config-tenant-vrf)#     exit
    apic1(config-tenant)#   bridge-domain b1
    apic1(config-tenant-bd)#       fc
    apic1(config-tenant-bd)#       vrf member v1
    apic1(config-tenant-bd)#       exit
    apic1(config-tenant)#   application a1
    apic1(config-tenant-app)#      epg e1
    apic1(config-tenant-app-epg)# bridge-domain member b1
    apic1(config-tenant-app-epg)# exit
    apic1(config-tenant-app)#      exit
    apic1(config-tenant)# exit
    
    apic1(config)#  vsan-domain dom1
    apic1(config-vsan)# vlan 1-100
    apic1(config-vsan)# vsan 1-100
    apic1(config-vsan)# fcoe vsan 2 vlan 2 loadbalancing src-dst-ox-id
    apic1(config-vsan)# fcoe vsan 3 vlan 3 loadbalancing src-dst-ox-id
    apic1(config-vsan)# fcoe vsan 5 vlan 5
    apic1(config-vsan)# exit
    
  2. Associate FEX to an interface:

    Example:

    apic1(config)#  leaf 101
    apic1(config-leaf)#  interface ethernet 1/12
    apic1(config-leaf-if)#  fex associate 111
    apic1(config-leaf-if)#  exit
  3. Configure FCoE over FEX per port, port-channel, and VPC:

    Example:

    apic1(config-leaf)#  interface vfc 111/1/2
    apic1(config-leaf-if)#  vsan-domain member dom1
    apic1(config-leaf-if)#  switchport vsan 2 tenant t1 application a1 epg e1
    apic1(config-leaf-if)# exit  
    apic1(config-leaf)#  interface vfc-po pc1 fex 111
    apic1(config-leaf-if)# vsan-domain member dom1
    apic1(config-leaf-if)# switchport vsan 2 tenant t1 application a1 epg e1  
    apic1(config-leaf-if)# exit
    apic1(config-leaf)# interface ethernet 111/1/3
    apic1(config-leaf-if)# channel-group pc1 
    apic1(config-leaf-if# exit
    apic1(config-leaf)# exit
    apic1(config)# vpc domain explicit 12 leaf 101 102
    apic1(config-vpc)# exit
    apic1(config)# vpc context leaf 101 102
    apic1(config-vpc)#     interface vpc vpc1 fex 111 111
    apic1(config-vpc-if)#       vsan-domain member dom1
    apic1(config-vpc-if)#       switchport vsan 2 tenant t1 application a1 epg e1
    apic1(config-vpc-if)#       exit
    apic1(config-vpc)#     exit
    apic1(config)# leaf 101-102
    apic1(config-leaf)# interface ethernet 1/2
    apic1(config-leaf-if)# fex associate 111
    apic1(config-leaf-if)# exit
    apic1(config-leaf)# interface ethernet 111/1/2
    apic1(config-leaf-if)# channel-group vpc1 vpc 
    apic1(config-leaf-if)# exit
  4. Verify the configuration with the following command:

    Example:

    apic1(config-vpc)# show vsan-domain detail 
    vsan-domain : dom1
     
    vsan : 1-100
     
    vlan : 1-100
     
    Leaf          Interface         Vsan  Vlan  Vsan-Mode    Port-Mode  Usage               Operational State
    ------------  ----------------  ----  ----  -----------  ---------  --------------------------------------
    101           vfc111/1/2       2       2    Native                  Tenant: t1           Deployed
                                                                         App: a1
                                                                         Epg: e1
     
    101           PC:pc1           5       5    Native                Tenant: t1             Deployed
                                                                         App: a1
                                                                         Epg: e1
     
    101           vfc111/1/3       3       3    Native       F          Tenant: t1           Deployed
                                                                         App: a1
                                                                         Epg: e1
    

FCoE over FEX is configured with the VSAN domain and interface associations. The configuration can be verified with the show VSAN-domain detail command, which displays the interface mappings and operational states.