Configures Fibre Channel interfaces on an NPV-enabled leaf switch by converting Ethernet ports to Fibre Channel ports and defining interface parameters. This process enables F ports or NP ports to support specific connectivity requirements.
On an NPV-enabled leaf switch, you can convert universal ports to Fibre Channel (FC) ports. The FC ports can be either F ports or NP ports, and NP ports can form a port channel.
Procedure
-
Convert a range of ports from Ethernet to Fibre Channel.
Example:
apic1(config)# leaf 101 apic1(config-leaf)# slot 1 apic1(config-leaf-slot)# port 1 12 type fcThis example converts ports 1/1-12 on leaf 101 to Fibre Channel ports. The [no] form of the port type fc command converts the ports from Fibre Channel back to Ethernet.
Note
The conversion of ports takes place only after a reboot of the leaf switch.
Currently only one contiguous range of ports can be converted to FC ports, and this range must be a multiple of 4 ending with a port number that is a multiple of 4 (for example, 1-4, 1-8, or 21-24).
-
Configure all Fibre channel interfaces.
Example:
apic1(config)# leaf 101 apic1(config-leaf)# interface fc 1/1 apic1(config-leaf-fc-if)# switchport mode [f | np] apic1(config-leaf-fc-if)# switchport rxbbcredit <16-64> apic1(config-leaf-fc-if)# switchport speed [16G | 32G | 4G | 8G | auto | unknown] apic1(config-leaf-fc-if)# switchport trunk-mode [ auto | trunk-off | trunk-on | un-init] apic1(config-leaf-fc-if)# switchport [trunk allowed] vsan <1-4093> tenant <name> \ application <name> epg <name>Note
FC host interfaces (F ports) do not support a speed configuration of 8Gbps.
A FC interface can be configured in access mode or trunk mode. To configure the FC port in access mode, use the following command format:
Example:
apic1(config-leaf-fc-if)# switchport vsan 2 tenant t1 application a1 epg e1To configure a FC port in trunk mode, use the following command format:
Example:
apic1(config-leaf-fc-if)# switchport trunk allowed vsan 4 tenant t1 application a1 epg e1To configure a FC port channel, configure a FC port interface template and apply it to FC interfaces that will be members of the FC port-channel.
The port channel can have a maximum of 16 members.
Example:
apic1(config)# template fc-port-channel my-fc-pc apic1(config-fc-po-ch-if)# lacp max-links 4 apic1(config-fc-po-ch-if)# lacp min-links 1 apic1(config-fc-po-ch-if)# vsan-domain member dom1 apic1(config-fc-po-ch-if)# exit apic1(config)# leaf 101 apic1(config-leaf)# interface fc 1/1-2 apic1(config-leaf-fc-if)# fc-channel-group my-fc-pc apic1(config-leaf-fc-if)# exit apic1(config-leaf)# interface fc-port-channel my-fc-pc apic1(config-leaf-fc-pc)# switchport mode [f | np] apic1(config-leaf-fc-pc)# switchport rxbbcredit <16-64> apic1(config-leaf-fc-pc)# switchport speed [16G | 32G | 4G | 8G | auto | unknown] apic1(config-leaf-fc-pc)# switchport trunkmode [ auto | trunk-off | trunk-on | un-init]