The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Fibre Channel, virtual Fibre Channel, and Fibre Channel over Ethernet (FCoE) commands that begin with C.
To enable or disable Cisco Fabric Services (CFS) distribution on the switch, use the cfs distribute command. To disable this feature, use the no form of this command.
|
|
---|---|
By default, CFS is in the distribute mode. In the distribute mode, fabric-wide distribution is enabled. Applications can distribute configuration data to all CFS-capable switches in the fabric where the application exists. This is the normal mode of operation.
If you disable CFS distribution by entering the no cfs distribute command, the following events occur:
This example shows how to disable CFS distribution:
This example shows how to reenable CFS distribution:
|
|
---|---|
To enable Cisco Fabric Services (CFS) distribution over IPv4 for applications that want to use this feature, use the cfs ipv4 command. To disable this feature, use the no form of this command.
|
|
---|---|
All CFS over IP enabled switches with similar multicast addresses form one CFS over IP fabric. CFS protocol-specific distributions, such as the keepalive mechanism for detecting network topology changes, use the IP multicast address to send and receive information.
Observe the following guidelines when using this command:
This example shows how to disable CFS IPv4 distribution:
This example shows how to reenable CFS IPv4 distribution:
|
|
---|---|
Configures an IPv4 multicast address for Cisco Fabric Services (CFS) distribution over IPv4. |
|
To configure an IPv4 multicast address for Cisco Fabric Services (CFS) distribution over IPv4, use the cfs ipv4 mcast-address command. To disable this feature, use the no form of this command.
cfs ipv4 mcast-address ipv4-address
no cfs ipv4 mcast-address ipv4-address
IPv4 multicast address for CFS distribution over IPv4. The range of valid IPv4 addresses is 239.255.0.0 through 239.255.255.255 and 239.192.0.0 through 239.251.251.251. |
|
|
---|---|
Before using this command, enable CFS distribution over IPv4 by using the cfs ipv4 distribute command.
All CFS over IP-enabled switches with similar multicast addresses form one CFS over IP fabric. CFS protocol-specific distributions, such as the keepalive mechanism for detecting network topology changes, use the IP multicast address to send and receive information.
CFS distributions for application data use directed unicast.
You can configure a value for a CFS over IP multicast address. The default IPv4 multicast address is 239.255.70.83.
This example shows how to configure an IP multicast address for CFS over IPv4:
switch(config)# cfs ipv4 mcast-address 239.255.1.1
Distribution over this IP type will be affected
Change multicast address for CFS-IP ?
Are you sure? (y/n) [n] y
This example shows how to revert to the default IPv4 multicast address for CFS distribution over IPv4:
|
|
---|---|
Enables or disables Cisco Fabric Services (CFS) distribution over IPv4. |
|
To enable Cisco Fabric Services (CFS) distribution over IPv6 for applications using CFS, use the cfs ipv6 distribute command. To disable this feature, use the no form of this command.
|
|
---|---|
All CFS over IP-enabled switches with similar multicast addresses form one CFS over IP fabric. CFS protocol-specific distributions, such as the keepalive mechanism for detecting network topology changes, use the IP multicast address to send and receive information.
Observe the following guidelines when using this command:
This example shows how to disable CFS IPv6 distribution:
This example shows how to reenable CFS IPv6 distribution:
|
|
---|---|
Configures an IPv6 multicast address for Cisco Fabric Services (CFS) distribution over IPv6. |
|
To configure an IPv6 multicast address for Cisco Fabric Services (CFS) distribution over IPv6, use the cfs ipv6 mcast-address command. To disable this feature, use the no form of this command.
cfs ipv6 mcast-address ipv6-address
no cfs ipv6 mcast-address ipv6-address
IPv6 multicast address or CFS distribution over IPv6. The IPv6 Admin scope range is [ff15::/16, ff18::/16]. |
|
|
---|---|
Before using this command, enable CFS distribution over IPv6 by using the cfs ipv6 distribute command.
All CFS over IP-enabled switches with similar multicast addresses form one CFS over IP fabric. CFS protocol-specific distributions, such as the keepalive mechanism for detecting network topology changes, use the IP multicast address to send and receive information. CFS distributions for application data use directed unicast.
You can configure a CFS over IP multicast address value for IPv6. The default IPv6 multicast address is ff15::efff:4653. Examples of the IPv6 Admin scope range are ff15::0000:0000 to ff15::ffff:ffff and ff18::0000:0000 to ff18::ffff:ffff.
This example shows how to configure an IP multicast address for CFS over IPv6:
switch(config)# cfs ipv6 mcast-address
ff13::e244:4754
Distribution over this IP type will be affected
Change multicast address for CFS-IP ?
Are you sure? (y/n) [n] y
This example shows how to revert to the default IPv6 multicast address for CFS distribution over IPv6:
mcast-address
ff13::e244:4754
|
|
---|---|
Enables or disables Cisco Fabric Services (CFS) distribution over IPv6. |
|
To create a region that restricts the scope of application distribution to the selected switches, use the cfs region command. To disable this feature, use the no form of this command.
Region identifier. The range is from 1 to 255. A total of 200 regions are supported. |
|
|
---|---|
An application can only be a part of one region on a given switch. By creating the region ID and assigning it to an application, the application distribution is restricted to switches with a similar region ID.
Cisco Fabric Services (CFS) regions provide the ability to create distribution islands within the application scope. Currently, the regions are supported only for physical scope applications. In the absence of any region configuration, the application will be a part of the default region. The default region is region ID 0.
This example shows how to create a region ID:
This example shows how to assign an application to a region:
This example shows how to remove an application assigned to a region:
|
|
---|---|
To enable Cisco Fabric Series (CFS) to merge the data from multiple Virtual SANs (VSANs), use the cfs staggered-merge command. To disable this feature, use the no form of this command.
|
|
---|---|
This example shows how to enable CFS staggered merge:
|
|
---|---|
To configure a SAN port channel interface as an active channel port, use the channel mode active command. To revert to the default settings, use the no form of this command.
SAN port channel configuration mode
|
|
This example shows how to configure a SAN port channel interface 3 as an active channel:
This example shows how to revert a SAN port channel interface to the default setting:
|
|
---|---|
Displays an interface configuration for a specified interface. |
|
Configures switchport parameters for a SAN port channel interface. |
|
To clear device alias information, use the clear device-alias command.
clear device-alias { database | session | statistics }
|
|
This example shows how to clear the device alias session:
|
|
---|---|
To clear the entire list of configured hosts, use the clear fcdomain command.
clear fcdomain session vsan vsan-id
Clears Fibre Channel domains for a specified VSAN ranging from 1 to 4093. |
|
|
---|---|
This command clears only the list of configured hosts. Existing connections are not terminated.
This example shows how to clear the entire list of configured hosts for remote capture:
|
|
---|---|
To clear Fibre Channel flow statistics, use the clear fcflow stats command.
clear fcflow stats [ aggregated ] index flow-index
(Optional) Clears the Fibre Channel flow aggregated statistics. |
|
Clears the Fibre Channel flow counters for a specified flow index. |
|
|
|
---|---|
This example shows how to clear aggregated Fibre Channel flow statistics for flow index 1:
|
|
---|---|
To clear the name server statistics, use the clear fcns statistics command.
clear fcns statistics vsan vsan-id
Clears the FCS statistics for a specified VSAN ranging from 1 to 4093. |
|
|
---|---|
This example shows how to clear the name server statistics:
|
|
---|---|
To clear the Fibre Channel Signal Modeling (FCSM) log, use the clear fcsm log command.
|
|
---|---|
This example shows how to clear the FSCM log:
|
|
---|---|
To clear the fabric configuration server statistics, use the clear fcs statistics command.
clear fcs statistics vsan vsan-id
Clears the FCS statistics for a specified VSAN ranging from 1 to 4093. |
|
|
---|---|
This example shows how to clear the fabric configuration server statistics for VSAN 10:
|
|
---|---|
Displays the fabric configuration server statistics information. |
To clear fctimer Cisco Fabric Services (CFS) session configuration and locks, use the clear fctimer session command.
|
|
This example shows how to clear an fctimer session:
|
|
---|---|
To clear the Fabric Shortest Path First (FSPF) statistics, use the clear fspf counters command.
clear fspf counters vsan vsan-id [ interface type ]
(Optional) Specifies that the counters are to be cleared for an interface. The interface types are fc (Fibre Channel) and san-port-channel (SAN port channel). |
|
|
---|---|
If the interface is not specified, then all of the counters of a VSAN are cleared. If the interface is specified, then the counters of the specific interface are cleared.
This example shows how to clear the FSPF statistics on VSAN 1:
This example shows how to clear the FSPF statistics in VSAN 1 for the specified Fibre Channel interface:
|
|
---|---|
To clear the port security information on the switch, use the clear fc-port-security command.
clear fc-port-security { database auto-learn { interface fc slot / port | san-port-channel port } | session | statistics } vsan vsan-id
|
|
The active database is read-only and the clear fc-port-security database command can be used when resolving conflicts.
This example shows how to clear all existing statistics from the port security database for a specified VSAN:
This example shows how to clear the learned entries in the active database for a specified interface within a VSAN:
This example shows how to clear the learned entries in the active database up to for the entire VSAN:
|
|
---|---|
To clear Registered Link Incident Report (RLIR) information, use the clear rlir command.
clear rlir { history | recent { interface fc slot / port | portnumber port } | statistics vsan vsan-id }
Clears the RLIR statistics for a Virtual SAN (VSAN). The ID of the VSAN is from 1 to 4093. |
|
|
---|---|
This example shows how to clear the RLIR statistics for VSAN 1:
|
|
---|---|
To clear a Registered State Change Notification (RSCN) session for a specified Virtual SAN (VSAN), use the clear rscn session command.
clear rscn session vsan vsan-id
Specifies a VSAN where the RSCN session should be cleared. The ID of the VSAN is from 1 to 4093. |
|
|
---|---|
This example shows how to clear an RSCN session on VSAN 1:
|
|
---|---|
To clear the registered state change notification statistics for a specified Virtual SAN (VSAN), use the clear rscn statistics command.
clear rscn statistics vsan vsan-id
|
|
---|---|
This example shows how to clear the RSCN statistics for VSAN 1:
|
|
---|---|
To clear all configured information in the zone server for a specified Virtual SAN (VSAN), use the clear zone command.
clear zone { database | lock | statistics } vsan vsan-id
|
|
---|---|
After entering a clear zone database command, you must explicitly enter the copy running-config startup-config command to ensure that the running configuration is used when you next start the switch.
When you enter the clear zone lock command from a remote switch, only the lock on that remote switch is cleared. When you enter the clear zone lock command from the switch where the lock originated, all locks in the VSAN are cleared. The recommended method to clear a session lock on a switch where the lock originated is by entering the no zone commit vsan command.
This example shows how to clear all configured information in the zone server for VSAN 1:
|
|
---|---|