API Guide

6. Create a class map and policy map.
OS10(config)# classmap type networkqos cmap1
OS10(configcmapnqos)# match qosgroup 3
OS10(config)# policymap type networkqos pmap1
OS10(configpmapnetworkqos)# class cmap1
OS10(configpmapcnqos)# pause
OS10(configpmapcnqos)# pfccos 3
7. Disable LLFC on the interface that connects to CNA 2.
OS10(config)# interface ethernet 1/1/1
OS10(confifeth1/1/1)# no flowcontrol receive
8. Enable PFC mode on the interface that connects to CNA 2.
OS10(config)# interface ethernet 1/1/1
OS10(confifeth1/1/1)# priorityflowcontrol mode on
9. Apply the service policy on the interface that connects to CNA 2.
OS10(config)# interface ethernet 1/1/1
OS10(confifeth1/1/1)# servicepolicy input type networkqos pmap1
10. Configure the interface that connects to FCF.
OS10(config)# interface fibrechannel 1/1/21
OS10(config-iffc1/1/21)# vfabric 2
Support for untagged VLAN in FCoE
In SmartFabric mode, OS10 provides support to use any untagged VLAN for FCoE Ethernet uplinks and Ethernet server ports,
which are part of the FCoE VLAN.
The FCoE uplink identifies FIP Snooping bridge (FSB) mode at the switch. You must configure the same untagged VLAN on the
FCoE uplinks and server ports for the FCoE sessions to come up.
In SmartFabric mode, you can assign any untagged VLAN to Ethernet server ports that belong to a FCoE VLAN that has one or
more FC Gateway uplinks. The FC Gateway uplink identifies N-Port Proxy Gateway (NPG) mode at the switch. Also you can
assign any untagged VLAN to Ethernet server ports that belong to a FCoE VLAN that has one or more FC Direct attach uplinks.
The FC Direct attach uplink identifies F-Port mode at the switch.
Restrictions
SmartFabric mode does not support multiple FCoE uplinks from the same IOM.
In FCoE mode, the untagged VLAN on the server port and the FCoE uplink must be the same. This condition ensures that
the untagged FIP VLAN discovery packets in the L2 frame, switch to the untagged VLAN.
You cannot configure multiple FCoE uplinks corresponding to different untagged VLANs.
Rebalance FC sessions (NPG)
The Rebalance FC sessions feature enables you to balance the FC sessions in the NPIV Proxy Gateway (NPG) mode. The NPG
mode bridges Fibre Channel over Ethernet (FCoE) and Fibre Channel (FC). This is done by exporting the configured upstream
FC connections as Fibre Channel Forwarder (FCFs) to both FC and FCoE downstream ports. When multiple FCFs are connected
to the NPG-enabled switch, the Node (CNA or HBA) selects the FCF to be logged in and loads all FCFs equally.
Along with the existing load balancing done during session establishment, you can also manually trigger an ENode-based
rebalancing using the management interface command. Manual rebalance is done at the vFabric level by specifying the vFabric
id. The session count and link speed are used as factors for stabilizing the system. Session count of an uplink includes the count
of both Fabric Login Sessions (FLOGI) and Fabric Discovery Sessions (FDISC). Link speed corresponds to the speed of the FC
uplinks.
You can also simulate load rebalancing. The simulation displays the current system state and the session displacements that
need to be done to rebalance the system.
366
Fibre Channel