Using Cisco Fabric Services: Information About CFS
Using Cisco Fabric Services: Information About CFS
Using Cisco Fabric Services: Information About CFS
c o m
CH A P T E R 7
Using Cisco Fabric Services
Cisco Nexus 5000 Series switches provide Cisco Fabric Services (CFS) capability, which simplifies
provisioning by automatically distributing configuration information to all switches in the network.
Switch features can use the CFS infrastructure to distribute feature data or configuration data required
by the feature.
This chapter contains the following sections:
• Information About CFS, page 7-1
• CFS Distribution, page 7-2
• CFS Support for Applications, page 7-6
• CFS Regions, page 7-10
• Displaying CFS Distribution Information, page 7-15
• CFS Example Using Fabric Manager, page 7-15
• CFS Example Using Device Manager, page 7-18
• Default Settings, page 7-19
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-1
Chapter 7 Using Cisco Fabric Services
CFS Distribution
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
– Coordinated distributions: Only one distribution is allowed in the network at any given time.
– Uncoordinated distributions: Multiple parallel distributions are allowed in the network except
when a coordinated distribution is in progress.
– Unrestricted uncoordinated distributions: Multiple parallel distributions are allowed in the
network in the presence of an existing coordinated distribution. Unrestricted uncoordinated
distributions are allowed to run in parallel with all other types of distributions.
The following features are supported for CFS distribution over IP:
• One scope of distribution over an IP network:
– Physical scope: The distribution spans the entire IP network.
The following features are supported for CFS distribution over Fibre Channel SANs:
• Three scopes of distribution over SAN fabrics.
– Logical scope: The distribution occurs within the scope of a VSAN.
– Physical scope: The distribution spans the entire physical topology.
– Over a selected set of VSANs: Some features require configuration distribution over some
specific VSANs. These features can specify to CFS the set of VSANs over which to restrict the
distribution.
• Supports a merge protocol that facilitates the merge of feature configuration during a fabric merge
event (when two independent SAN fabrics merge).
CFS Distribution
The CFS distribution functionality is independent of the lower layer transport. Cisco Nexus 5000 Series
switches support CFS distribution over IP and CFS distribution over Fibre Channel. Features that use
CFS are unaware of the lower layer transport.
Additional details are provided in the following sections:
• CFS Distribution Modes, page 7-2
• Enabling/Disabling CFS Distribution on a Switch, page 7-3
• CFS Distribution over IP, page 7-4
• CFS Distribution over Fibre Channel, page 7-5
• CFS Distribution Scopes, page 7-5
• CFS Merge Support, page 7-6
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-2 OL-16598-01
Chapter 7 Using Cisco Fabric Services
CFS Distribution
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Uncoordinated Distribution
Uncoordinated distributions are used to distribute information that is not expected to conflict with that
from a peer. Parallel uncoordinated distributions are allowed for a feature.
Coordinated Distribution
Coordinated distributions allow only one feature distribution at a given time. CFS uses locks to enforce
this. A coordinated distribution is not allowed to start if locks are taken for the feature anywhere in the
network. A coordinated distribution consists of three stages:
1. A network lock is acquired.
2. The configuration is distributed and committed.
3. The network lock is released.
Coordinated distribution has two variants:
• CFS driven —The stages are executed by CFS in response to an feature request without intervention
from the feature.
• Feature driven—The stages are under the complete control of the feature.
Coordinated distributions are used to distribute information that can be manipulated and distributed
from multiple switches, for example, the port security configuration.
Step 1 Choose any CFS feature. For example, expand Switches > Events and then choose CallHome in the
Physical Attributes pane.
The Information pane shows that feature, with a CFS tab.
Step 2 Click the CFS tab to display the CFS state for each switch in the network for that feature.
Step 3 Click a value in the Global State column. The value changes to a drop-down menu.
Step 4 From the drop-down menu, choose disable or enable.
Step 5 Repeat steps 3 and 4 for all switches that you want to disable or enable CFS.
Step 6 Set the Config Action column to commit.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-3
Chapter 7 Using Cisco Fabric Services
CFS Distribution
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Step 7 Click the Apply Changes icon to commit the configuration changes for that feature and distribute the
changes through CFS.
To globally disable or enable CFS distribution on a switch using Device Manager, perform this task:
Note The switch attempts to distribute information over Fibre Channel first and then over the IP
network if the first attempt over Fibre Channel fails. CFS does not send duplicate messages if
distribution over both IP and Fibre Channel is enabled.
Note CFS cannot distribute over both IPv4 and IPv6 from the same switch.
• Keepalive mechanism to detect network topology changes using a configurable multicast address.
• Compatibility with Cisco MDS 9000 Family switches running release 2.x or later.
Figure 7-1 shows a network with both Fibre Channel and IP connections. Node A forwards an event to
node B over Fibre Channel. Node B forwards the event node C and node D using unicast IP. Node C
forwards the event to node E using Fibre Channel.
FC
144860
Node D
IP
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-4 OL-16598-01
Chapter 7 Using Cisco Fabric Services
CFS Distribution
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Figure 7-2 is the same as Figure 7-1 except that node C and node D are connected using Fibre Channel.
All processes is the same in this example because node B has node C and node D the distribution list for
IP. Node C does not forward to node D because node D is already in the distribution list from node B.
FC
144861
Node D
IP
Figure 7-3 is the same as Figure 7-2 except that node D and node E are connected using IP. Both node
C and node D forward the event to E because the node E is not in the distribution list from node B.
FC
144862
Node D
IP
Note Logical scope is not supported for FCS distribution over IP.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-5
Chapter 7 Using Cisco Fabric Services
CFS Support for Applications
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-6 OL-16598-01
Chapter 7 Using Cisco Fabric Services
CFS Support for Applications
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Note Enable CFS for all switches in the network or VSAN for the feature that uses CFS.
Step 3 Right-click the row you changed to see the pop-up menu. Choose Apply Changes to apply the CFS
configuration change. The CFS tab updates as the CFS changes take effect.
Fabric Manager retrieves the status of the CFS change and updates the Last Result column.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-7
Chapter 7 Using Cisco Fabric Services
CFS Support for Applications
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
To enable CFS for a feature using Device Manager, perform this task:
Note Enable or disable CFS for all switches in the network or VSAN for the feature that uses CFS.
Step 3 Click Pending Differences to compare the configuration of this feature on this switch to other switches
in the network or VSAN that have CFS enabled for this feature. Close the Show Pending Diff dialog box.
Step 4 Click Apply to apply the CFS configuration change.
Device Manager retrieves the status of the CFS change and updates the Last Command and Result
columns.
Committing Changes
A commit operation saves the pending database for all application peers and releases the lock for all
switches.
In general, the commit function does not start a session, only a lock function starts a session. However,
an empty commit is allowed if configuration changes are not previously made. In this case, a commit
operation results in a session that acquires locks and distributes the current database.
When you commit configuration changes to a feature using the CFS infrastructure, you receive a
notification about one of the following responses:
• One or more external switches report a successful status—The application applies the changes
locally and releases the network lock.
• None of the external switches report a successful state—The application considers this state a failure
and does not apply the changes to any switch in the network. The network lock is not released.
You can commit changes for a specified feature by for that feature.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-8 OL-16598-01
Chapter 7 Using Cisco Fabric Services
CFS Support for Applications
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
To commit changes using Fabric Manager for CFS-enabled features, perform this task:
To commit changes using Device Manager for CFS-enabled features, perform this task:
Caution If you do not commit the changes, they are not saved to the running configuration.
Discarding Changes
If you discard configuration changes, the application flushes the pending database and releases locks in
the network. Both the abort and commit functions are only supported from the switch from which the
network lock is acquired.
You can discard changes for a specified feature by setting the Command column value to disable for that
feature then clicking Apply.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-9
Chapter 7 Using Cisco Fabric Services
CFS Regions
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Caution If you do not commit the changes, they are not saved to the running configuration.
The CISCO-CFS-MIB contains SNMP configuration information for any CFS-related functions. Refer
to the Cisco Cisco Nexus 5000 Series MIB Quick Reference for more information on this MIB.
Caution Exercise caution when using this function to clear locks in the network. Any pending configurations in
any switch in the network is flushed and lost.
CFS Regions
This section contains the following topics:
• About CFS Regions, page 7-11
• Example Scenario, page 7-11
• Managing CFS Regions Using Fabric Manager, page 7-11
• Creating CFS Regions, page 7-12
• Assigning Features to CFS Regions, page 7-12
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-10 OL-16598-01
Chapter 7 Using Cisco Fabric Services
CFS Regions
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Note You can only configure a CFS region based on physical switches. You cannot configure a CFS
region in a VSAN.
Example Scenario
The Call Home application triggers alerts to network administrators when a situation arises or something
abnormal occurs. When the network covers many geographies, and there are multiple network
administrators who are each responsible for a subset of switches in the network, the Call Home
application sends alerts to all network administrators regardless of their location. For the Call Home
application to send message alerts selectively to network administrators, the physical scope of the
application has to be fine tuned or narrowed down, which is achieved by implementing CFS regions.
CFS regions are identified by numbers ranging from 0 through 200. Region 0 is reserved as the default
region, and contains every switch in the network. You can configure regions from 1 through 200. The
default region maintains backward compatibility.
If the feature is moved, that is, assigned to a new region, its scope is restricted to that region; it ignores
all other regions for distribution or merging purposes. The assignment of the region to a feature has
precedence in distribution over its initial physical scope.
You can configure a CFS region to distribute configurations for multiple features. However, on a given
switch, you can configure only one CFS region at a time to distribute the configuration for a given
feature. Once you assign a feature to a CFS region, its configuration cannot be distributed within another
CFS region.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-11
Chapter 7 Using Cisco Fabric Services
CFS Regions
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Step 1 In the Physical Attributes pane, expand Switches and then choose CFS.
The information pane displays the Global, IP Multicast, Feature by Region, and All Regions tabs.
Step 2 Click the All Regions tab.
The tab displays a list of Switches and RegionIds.
Step 3 Click the Create Row button on the toolbar.
Figure 7-5 shows the Create a Region dialog box.
Step 4 Choose the switch from the drop-down list and choose a RegionId from the range.
Step 5 Click Create.
Upon successful creation of the region, Success is displayed at the bottom of the dialog box.
Step 1 In the Physical Attributes pane, expand Switches and then choose CFS.
The information pane displays the Global, IP Multicast, Feature by Region, and All Regions tabs.
Step 2 Click the Feature by Region tab.
This tab lists all the switches along with their corresponding Feature and RegionId.
Step 3 Click the Create Row button on the toolbar.
Figure 7-6 shows the Assign a Feature dialog box.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-12 OL-16598-01
Chapter 7 Using Cisco Fabric Services
CFS Regions
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
When a feature is assigned to a new region using the Feature by Region tab, a new row with the new
region is created automatically in the table under the All Regions tab. Alternatively, you can create a
region using the All Regions tab.
Note In the Feature by Region tab, when you try to reassign a feature on a switch to another region by clicking
Create Row, an operation failed message is shown. The error message states that an entry already exists.
However, moving a feature to a different region is a different task and it is described in the next section.
Step 1 In the Physical Attributes pane, expand Switches and then choose CFS.
The information pane displays the Global, IP Multicast, Feature by Region, and All Regions tabs.
Step 2 Click the Feature by Region tab.
Figure 7-7 shows the Feature by Region tab, which lists all the switches along with their feature and
region details.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-13
Chapter 7 Using Cisco Fabric Services
CFS Regions
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Step 1 Click the Feature by Region tab and click the required row.
Step 2 Click the Delete Row button on the toolbar.
Figure 7-8 shows a confirmation dialog box.
Step 3 Click Yes to confirm row deletion from the table in view.
Step 1 Click the All Regions tab and click the required row.
Step 2 Click Delete Row.
This action removes all entries pertaining to that switch and region in the table under Feature by Region
tab.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-14 OL-16598-01
Chapter 7 Using Cisco Fabric Services
Displaying CFS Distribution Information
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Note CFS cannot distribute over both IPv4 and IPv6 from the same switch.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-15
Chapter 7 Using Cisco Fabric Services
CFS Example Using Fabric Manager
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Step 3 Choose enable for each switch from the Feature Admin drop-down list.
Step 4 Repeat step 3 for all switches in the network.
Note A warning displays if you do not enable CFS for all switches in the network for this feature.
Step 5 Check the Master check box for the switch to act as the merge master for this feature.
Step 6 Choose commit Changes from the Config Action drop-down list for each switch that you enabled for
CFS.
Step 7 Click the Servers tab in the Information pane.
You see the configuration for this feature based on the master switch (see Figure 7-11).
Step 8 Modify the feature configuration. For example, right-click the name in the Master column and choose
Create Row to create a server for NTP.
a. Enter the ID and the Name or IP Address of the NTP server.
b. Set the Mode radio button and optionally check the Preferred check box.
c. Click Create to add the server.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-16 OL-16598-01
Chapter 7 Using Cisco Fabric Services
CFS Example Using Fabric Manager
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Step 10 Click the Commit CFS Pending Changes icon to save the changes (see Figure 7-13).
Step 12 Choose abortChanges from the Config Action drop-down list for each switch that you enabled for CFS
(see Figure 7-15).
Note Fabric Manager does not change the status to pending if enable is selected, because the pending
status does not apply until the first actual change is made.
Step 13 Click the Apply Changes icon to commit the configuration changes for that feature and distribute the
changes through CFS.
Note When using CFS with features such as device alias, you must choose commit at the end of each
configuration. If the session is locked, you must exit the feature by selecting abort.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-17
Chapter 7 Using Cisco Fabric Services
CFS Example Using Device Manager
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
To configure the master or seed switch for distribution for each feature using Fabric Manager, perform
this task:
Step 1 Choose the feature that needs a merge master for CFS.
For example, expand Switches > Events, and then choose CallHome from the Physical Attributes pane.
The Information pane shows that feature including a CFS tab.
Step 2 Click the CFS tab to display the CFS state for each switch in the network for that feature.
Step 3 Check the Master column check box for the switch to act as the merge master for this feature.
Step 4 Click the Apply Changes icon to select this switch as master for future CFS distributions.
Note Device Manager does not monitor the status of the feature across the network until you click
Refresh. If a user on another CFS-enabled switch attempts to configure the same feature, they
do not see the pending status. However, their configuration changes are rejected by your switch.
Step 6 If CFS is enabled and there is no lock, Device Manager sets the status to running for that feature.
You then see a dialog box for the feature. As soon as you perform a creation, deletion, or modification,
Device Manager changes the status to pending and displays the updated information from the pending
database.
Step 7 View the CFS table for a feature. Device Manager only changes the status to running when commit,
clear, or abort is selected and applied. Device Manager will not change the status to pending if enable
is selected, because the pending status does not apply until the first actual change is made.
The Last Command and Result fields are blank if the last command is noOp.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-18 OL-16598-01
Chapter 7 Using Cisco Fabric Services
Default Settings
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Note When using CFS with features like device alias, you must choose commit at the end of each
configuration. If the session is locked, you must exit the feature by selecting abort.
Default Settings
Table 7-1 lists the default settings for CFS configurations.
Parameters Default
CFS distribution on the switch Enabled.
Database changes Implicitly enabled with the first configuration change.
Application distribution Differs based on application.
Commit Explicit configuration is required.
CFS over IP Disabled.
IPv4 multicast address 239.255.70.83.
IPv6 multicast address ff15::efff:4653.
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
OL-16598-01 7-19
Chapter 7 Using Cisco Fabric Services
Default Settings
Se n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a ck @ c i s c o . c o m
Fabric Manager Software Configuration Guide for the Cisco Nexus 5000 Series Switch
7-20 OL-16598-01