API Guide

4. Configure the FCF. The following configuration assumes that the FCF is in F-Port mode.
a. Disable flow control on the interface connected to FSB2.
FCF(config)# interface ethernet 1/1/13
FCF(conf-if-eth1/1/13)# no flowcontrol receive
FCF(conf-if-eth1/1/13)# no flowcontrol transmit
b. Enable Fiber Channel F-Port mode globally.
FCF(config)# feature fc domain-id 2
c. Create zones.
FCF(config)# fc zone zoneA
FCF(config-fc-zone-zoneA)# member wwn 20:01:f4:e9:d4:a4:7d:c3
FCF(config-fc-zone-zoneA)# member wwn 21:00:00:24:ff:7c:ae:0e
d. Create zoneset.
FCF(config)# fc zoneset zonesetA
FCF(conf-fc-zoneset-set)# member zoneA
e. Create a vfabric VLAN.
FCF(config)# interface vlan 777
f. Create vfabric and activate the zoneset.
FCF(config)# vfabric 2
FCF(conf-vfabric-2)# vlan 777
FCF(conf-vfabric-2)# fcoe fcmap 0xEFC00
FCF(conf-vfabric-2)# zoneset activate zonesetA
g. Enable DCBX.
FCF(config)# dcbx enable
h. Create class maps and policy maps.
FCF(config)# class-map type network-qos c3
FCF(config-cmap-nqos)# match qos-group 3
FCF(config)# class-map type queuing q0
FCF(config-cmap-queuing)# match queue 0
FCF(config-cmap-queuing)# exit
FCF(config)# class-map type queuing q3
FCF(config-cmap-queuing)# match queue 3
FCF(config-cmap-queuing)# exit
FCF(config)# policy-map type network-qos nqpolicy
FCF(config-pmap-network-qos)# class c3
FCF(config-pmap-c-nqos)# pause
FCF(config-pmap-c-nqos)# pfc-cos 3
FCF(config)# policy-map type queuing ets_policy
FCF(config-pmap-queuing)# class q0
FCF(config-pmap-c-que)# bandwidth percent 30
FCF(config-pmap-c-que)# class q3
FCF(config-pmap-c-que)# bandwidth percent 70
i. Create a qos-map.
FCF(config)# qos-map traffic-class tc-q-map1
FCF(config-qos-map)# queue 3 qos-group 3
FCF(config-qos-map)# queue 0 qos-group 0-2,4-7
348
Fibre Channel