- clear device-alias
- clear fcdomain
- clear fcns statistics
- clear fscm log
- clear fcs statistics
- clear fctimer session
- clear fspf counters
- clear rlir
- clear rscn session
- clear rscn statistics
- clear zone
- clear zone smart-zoning
- device-alias abort
- device-alias commit
- device-alias database
- device-alias distribute
- device-alias import fcalias
- device-alias mode
- device-alias name
- device-alias rename
- fabric-binding activate
- fabric-binding database copy vsan
- fabric-binding database diff
- fabric-binding database vsan
- feature fabric-binding
- fcalias clone
- fcalias name
- fcalias rename
- fcdomain
- fcdomain abort vsan
- fcdomain commit vsan
- fcdomain distribute
- fcdomain rcf-reject
- fcdroplatency
- fcid-allocation
- fcinterop fcid-allocation
- fcns no-auto-poll
- fcns proxy-port
- fcns reject-duplicate-pwwn vsan
- fcping
- fcroute
- fcs plat-check-global
- fcs register
- fcs virtual-device-add
- fcsp
- fcsp dhchap
- fcsp reauthenticate
- fcsp timeout
- fctimer
- fctimer abort
- fctimer commit
- fctimer distribute
- fctrace
- fdmi suppress-updates
- install feature-set fcoe
- feature fcsp
- feature npiv
- feature port-track
- fspf config
- fspf cost
- fspf dead-interval
- fspf enable
- fspf hello-interval
- fspf passive
- fspf retransmit-interval
- in-order-guarantee
- member (fcalias configuration mode)
- member (zone configuration mode)
- member (zoneset configuration mode)
- purge fcdomain fcid
- rlir preferred-cond fcid
- rscn
- rscn abort
- rscn commit
- rscn distribute
- rscn event-tov
- show device-alias
- show fabric-binding
- show fc2
- show fcalias
- show fcdomain
- show fcdroplatency
- show fcid-allocation
- show fcns database
- show fcns statistics
- show fcroute
- show fctimer
- show fdmi
- show flogi
- show fspf
- show rlir
- show rscn
- show trunk protocol
- show vsan
- show wwn
- show zone
- show zone analysis
- show zone internal global-info
- show zone internal vsan
- show zone policy
- show zone smart-zoning auto-conv
- show zoneset
- switchport mode trunk
- system default switchport
- system default zone default-zone permit
- system default zone
- system default zone smart-zone
- trunk protocol enable
- vsan
- vsan database
- wwn secondary-mac
- wwn vsan
- zone clone
- zone commit
- zone compact
- zone convert smart-zoning
- zone copy
- zone default-zone
- zone merge-control restrict vsan
- zone mode enhanced
- zone name (configuration mode)
- zone name (zone set configuration mode)
- zone rename
- zone rscn address-format port
- zone smart-zoning enable
- zoneset (configuration mode)
- zoneset (EXEC mode)
SAN Switching Commands
This chapter describes the Cisco NX-OS SAN Switching commands available on Cisco NX-OS switches.
clear device-alias
To clear device alias information, use the clear device-alias command.
clear device-alias { database | session | statistics }
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to clear the device alias session:
switch#
Related Commands
|
|
---|---|
Displays the state of the application's logical or physical locks. |
clear fcdomain
To clear the entire list of configured hosts, use the clear fcdomain command.
clear fcdomain session vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command clears only the list of configured hosts. Existing connections are not terminated.
Examples
This example shows how to clear the entire list of configured hosts for remote capture:
Related Commands
|
|
---|---|
Displays local application information by the domain manager. |
clear fcns statistics
To clear the name server statistics, use the clear fcns statistics command.
clear fcns statistics vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to clear the name server statistics:
Related Commands
|
|
---|---|
clear fscm log
To clear the Fabric Startup Configuration Manager (FSCM) log, use the clear fscm log command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to clear the FSCM log:
switch#
Related Commands
|
|
---|---|
Displays local application information by the Fabric Startup Configuration Manager. |
clear fcs statistics
To clear the fabric configuration server statistics, use the clear fcs statistics command.
clear fcs statistics vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to clear the fabric configuration server statistics for VSAN 10:
Related Commands
|
|
---|---|
Displays fabric configuration server statistics information. |
clear fctimer session
To clear fctimer Cisco Fabric Services (CFS) session configuration and locks, use the clear fctimer session command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
You must enable the fctimer for CFS distribution before this command is valid.
Examples
This example shows how to clear an fctimer session:
Related Commands
|
|
---|---|
Displays local application information by the Fibre Channel timer. |
clear fspf counters
To clear the Fabric Shortest Path First (FSPF) statistics, use the clear fspf counters command.
clear fspf counters vsan vsan-id [ interface type ]
Syntax Description
(Optional) Specifies that the counters are to be cleared for an interface. |
|
Interface type. The interface types are FC (Fibre Channel) and san-port-channel (SAN port channel). |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If the interface is not specified, all of the counters of a VSAN are cleared. If the interface is specified, the counters of the specific interface are cleared.
The only type of valid interface is virtual Fibre Channel (VFC) interface.
Examples
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:
Related Commands
|
|
---|---|
clear rlir
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 }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to clear the RLIR statistics for VSAN 1:
Related Commands
|
|
---|---|
clear rscn session
To clear a Registered State Change Notification (RSCN) session for a specified VSAN, use the clear rscn session command.
clear rscn session vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The RSCN application must be enabled for CFS distribution before this command is valid.
Examples
This example shows how to clear an RSCN session on VSAN 1:
Related Commands
|
|
---|---|
clear rscn statistics
To clear the Registered State Change Notification statistics for a specified VSAN, use the clear rscn statistics command.
clear rscn statistics vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to clear the RSCN statistics for VSAN 1:
Related Commands
|
|
---|---|
clear zone
To clear all configured information in the zone server for a specified VSAN, use the clear zone command.
clear zone { database | lock | statistics } vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
After entering 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.
Examples
This example shows how to clear all configured information in the zone server for VSAN 1:
Related Commands
|
|
---|---|
clear zone smart-zoning
To clear the smart zoning configuration, use the clear zone smart-zoning command.
clear zone smart-zoning {fcalias name fcalias-name vsan vsan-id | vsan vsan-id | zone name zone-name vsan vsan-id | zoneset name zoneset-name vsan vsan-id }
Syntax Description
Specifies the fcalias name. The maximum size is 64 characters. |
|
Specifies the zoneset name. The maximum size is 64 characters. |
|
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
The following example shows how to clear the smart zoing command for a VSAN:
Related Commands
|
|
---|---|
device-alias abort
To discard a Distributed Device Alias Services (device alias) Cisco Fabric Services (CFS) distribution session in progress, use the device-alias abort command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to discard a device alias CFS distribution session in progress:
Related Commands
|
|
---|---|
device-alias commit
To apply the pending configuration pertaining to the Distributed Device Alias Services (device alias) Cisco Fabric Services (CFS) distribution session in progress in the fabric, use the device-alias commit command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to commit pending changes to the device-alias database:
Related Commands
|
|
---|---|
device-alias database
To initiate a Distributed Device Alias Services (device alias) session and configure the device alias database, use the device-alias database command. To deactivate the device alias database, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
The device-alias database command starts a device alias session that locks all the databases on all the switches in this fabric. When you exit device alias database configuration mode, the device alias session ends and the locks are released.
You can only perform all modifications in the temporary device alias database. To make the changes permanent, use the device-alias commit command.
Examples
This example shows how to activate a device alias session and enter device alias database configuration mode:
switch(config-device-alias-db)#
Related Commands
|
|
---|---|
Commits changes from the temporary device alias database to the active device alias database. |
|
device-alias distribute
To enable Cisco Fabric Services (CFS) distribution for Distributed Device Alias Services (device alias), use the device-alias distribute command. To disable this feature, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Use the device-alias commit command to apply pending changes to the CFS distribution session.
Examples
This example shows how to enable distribution for device alias information:
Related Commands
|
|
---|---|
device-alias import fcalias
To import device alias database information from another VSAN, use the device-alias import fcalias command. To revert to the default configuration or factory defaults, use the no form of this command.
device-alias import fcalias vsan vsan-id
no device-alias import fcalias vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
You can import legacy device name configurations using this feature without losing data, if they satisfy the following restrictions:
If any name conflict exists, the fcaliases are not imported. The device name database is completely independent from the VSAN dependent fcalias database.
When the import operation is complete, enter the device-alias distribute command to enable the modified global fcalias table to distribute device name configuration to all other switches in the physical fabric command so that new definitions are available everywhere.
Examples
This example shows how to import device alias information:
Related Commands
|
|
---|---|
device-alias mode
To configure device alias enhanced mode, use the device-alias mode command. To remove device alias enhanced mode, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure the device alias enhanced mode:
Related Commands
|
|
---|---|
device-alias name
To configure device names in the device alias database, use the device-alias name command. To remove device names from the device alias database, use the no form of this command.
device-alias name device-name pwwn pwwn-id
no device-alias name device-name
Syntax Description
Device name. The name can be a maximum of 64 alphanumeric characters. |
|
Specifies the pWWN ID. The format is hh : hh : hh : hh : hh : hh : hh : hh, where h is a hexadecimal number. |
Command Default
Command Modes
Device alias database configuration mode
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure a device name alias entry in the device name database:
switch(config-device-alias-db)# device-alias name Device1 pwwn 21:00:00:20:37:6f:db:bb
Related Commands
|
|
---|---|
device-alias rename
To rename device names in the device alias database, use the device-alias rename command. To remove device names from the device alias database, use the no form of this command.
device-alias rename device-name1 device-name2
no device-alias rename device-name
Syntax Description
New device name. The maximum length is 64 alphanumeric characters. |
Command Default
Command Modes
Device alias database configuration mode
Command History
|
|
Usage Guidelines
Examples
This example shows how to rename a device name alias entry in the device name database:
Related Commands
|
|
---|---|
fabric-binding activate
To activate fabric binding in a VSAN, use the fabric-binding activate command. To disable this feature, use the no form of this command.
fabric-binding activate vsan vsan-id [ force ]
no fabric-binding activate vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You must enable the fabric-binding feature before you enter the fabric-binding activate command to work, Also this is licensed feature on ame on N7K.
Examples
This example shows how to activate the fabric binding database for the specified VSAN:
This example shows how to deactivate the fabric binding database for the specified VSAN:
This example shows how to forcefully activate the fabric binding database for the specified VSAN:
This example shows how to revert to the previously configured state or to the factory default (if no state is configured):
Related Commands
|
|
---|---|
fabric-binding database copy vsan
To copy from the active fabric binding database to the configuration fabric binding database, use the fabric-binding database copy command.
fabric-binding database copy vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Fabric binding is configured on a per-VSAN basis and can be implemented in both Fibre Connection FICON VSANs and Fibre Channel VSANs.
If the configured database is empty, you cannot use this command.
Examples
This example shows how to copy from the active database to the configuration database in VSAN 1:
Related Commands
|
|
---|---|
Provides the differences between the fabric-binding databases. |
fabric-binding database diff
To view the differences between the active database and the configuration database in a VSAN, use the fabric-binding database diff command.
fabric-binding database diff { active | config } vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Fabric binding is configured on a per-VSAN basis and can be implemented in both FICON VSANs and Fibre Channel VSANs.
You must enable fabric-binding feature before you can use the fabric-binding database diff command.
Examples
This example shows how to display the differences between the active database and the configuration database in VSAN 1:
This example shows how to display information about the differences between the configuration database and the active database:
Related Commands
|
|
---|---|
Copies from the active to the configuration fabric binding database. |
fabric-binding database vsan
To configure a user-specified fabric binding list in a VSAN, use the fabric-binding database vsan command. To disable the fabric binding, use the no form of this command.
fabric-binding database vsan vsan-id swwn switch-wwn domain domain-id
no fabric-binding database vsan vsan-id no swwn switch-wwn domain domain-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Fabric binding is configured on a per-VSAN basis. In a Fibre Channel VSAN, only the switch world wide name (sWWN) is required; the domain ID is optional.
A user-specified fabric binding list contains a list of switch WWNs (sWWNs) within a fabric. If an sWWN attempts to join the fabric and that sWWN is not on the list, or the sWWN is using a domain ID that differs from the one specified in the allowed list, the Inter Switch Link between the switch and the fabric is automatically isolated in that VSAN and the switch is denied entry into the fabric.
Examples
This example shows how to enter the fabric binding database mode and add the sWWN and domain ID of a switch to the configured database list:
This example shows how to delete a fabric binding database for the specified VSAN:
This example shows how to delete the sWWN and domain ID of a switch from the configured database list:
Related Commands
|
|
---|---|
feature fabric-binding
To enable fabric binding in a VSAN, use the fabric-binding enable command. To disable fabric binding, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Fabric binding is configured on a per-VSAN basis.
you must enable fabric binding in each switch in the fabric that participates in the fabric binding.
Examples
This example shows how to enable fabric binding on that switch:
This example shows how to disable fabric binding on that switch:
Related Commands
|
|
---|---|
fcalias clone
To clone a Fibre Channel alias, use the fcalias clone command.
fcalias clone origFcalias-Name cloneFcalias-Name vsan vsan-id
Syntax Description
Fibre Channel alias. The name can be a maximum of 64 alphanumeric characters. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
To disable a Fibre Channel alias, use the no form of the fcalias name command.
Examples
This example shows how to clone a fcalias called origAlias to cloneAlias on VSAN 1:
Related Commands
|
|
---|---|
Displays the member name information in a Fibre Channel alias (fcalias). |
fcalias name
To configure a Fibre Channel alias, use the fcalias name command. To disable a Fibre Channel alias, use the no form of this command.
fcalias name alias-name vsan vsan-id
no fcalias name alias-name vsan vsan-id
Syntax Description
Name of the fcalias. The name can a maximum of 64 alphanumeric characters. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
To include multiple members in any alias, use the FC ID, fWWN, or pWWN values.
Examples
This example shows how to configure an fcalias called AliasSample on VSAN 3:
Related Commands
|
|
---|---|
fcalias rename
To rename a Fibre Channel alias (fcalias), use the fcalias rename command. To revert to the defaults, use the no form of this command.
fcalias rename current-name new-name vsan vsan-id
no fcalias rename current-name new-name vsan vsan-id
Syntax Description
Current fcalias name. The name can be a maximum of 64 alphanumeric characters. |
|
New fcalias name. The name can be a maximum of 64 alphanumeric characters. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to rename an fcalias:
Related Commands
|
|
---|---|
fcdomain
To configure the Fibre Channel domain feature, use the fcdomain command. To disable the Fibre Channel domain, use the no form of this command.
fcdomain { allowed domain vsan vsan-id | auto-reconfigure vsan vsan-id | contiguous-allocation vsan vsan-id | domain id { preferred | static } vsan vsan-id | fabric-name name vsan vsan-id | fcid { database | persistent vsan vsan-id } | optimize fast-restart vsan vsan-id | priority value vsan vsan-id | restart [ disruptive ] vsan vsan-id | vsan vsan-id }
no fcdomain { allowed domain vsan vsan-id | auto-reconfigure vsan vsan-id | contiguous-allocation vsan vsan-id | domain id { preferred | static } vsan vsan-id | fabric-name name vsan vsan-id | fcid { database | persistent vsan vsan-id } | optimize fast-restart vsan vsan-id | priority value vsan vsan-id | restart [ disruptive ] vsan vsan-id | vsan vsan-id }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You can use this command to select the principal switch, configure domain ID distribution, reconfigure the fabric, and allocate FC IDs.
We recommend using the optimize fast-restart option on most fabrics, especially those with a large number of logical ports (3200 or more), where a logical port is an instance of a physical port in a VSAN.
Examples
This example shows how to configure a preferred domain ID for VSAN 1:
This example shows how to specify the disruptive fabric reconfiguration for VSAN 1:
This example shows how to enable the domain manager fast restart for VSANs 7 through 10:
This example shows how to configure the fabric world wide name (fWWN) for VSAN 1:
Related Commands
|
|
---|---|
Displays global information about the Fibre Channel domain configurations. |
fcdomain abort vsan
To flush cached data without committing the cached data and releasing the lock, use the fcdomain abort vsan command. To disable the flushing of cached data, use the no form of this command.
no fcdomain abort vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to flush cached data:
Related Commands
|
|
---|---|
Displays global information about the Fibre Channel domain configurations. |
fcdomain commit vsan
To commit cached data and release the lock, use the fcdomain commit vsan command. To release the lock without committing the cached data, use the no form of this command.
no fcdomain commit vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to commit cached data:
Related Commands
|
|
---|---|
Flushes cached data without committing and releases the lock. |
|
Displays global information about the Fibre Channel domain configurations. |
fcdomain distribute
To enable fabric distribution using Cisco Fabric Services (CFS), use the fcdomain distribute command. To disable fabric distribution using CFS, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to enable fabric distribution using CFS:
This example shows how to disable fabric distribution using CFS:
Related Commands
|
|
---|---|
Displays global information about the Fibre Channel domain configurations. |
|
fcdomain rcf-reject
To enable the reconfigure fabric (RCF) rejection flag for a Fibre Channel interface, use the fcdomain rcf-reject command. To disable this feature, use the no form of this command.
fcdomain rcf-reject vsan vsan-id
no fcdomain rcf-reject vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to configure the RCF reject option for the selected Fibre Channel or virtual Fibre Channel interface.
Examples
This example shows how to configure the Fibre Channel Over IP RCF reject fcdomain feature on a virtual Fibre Channel interface:
Related Commands
|
|
---|---|
Displays global information about the Fibre Channel domain configurations. |
|
Displays an interface configuration for a specified Fibre Channel interface. |
fcdroplatency
To configure the network and switch Fibre Channel drop latency time, use the fcdroplatency command. To disable the Fibre Channel latency time, use the no form of this command.
fcdroplatency { network milliseconds [ vsan vsan-id ] | switch milliseconds }
no fcdroplatency { network milliseconds [ vsan vsan-id ] | switch milliseconds }
Syntax Description
Network latency. The range is from 500 to 60000 milliseconds. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to configure the network latency to 5000 milliseconds:
This example shows how to revert to the default switch latency:
Related Commands
|
|
---|---|
Displays the configured Fibre Channel drop latency parameters. |
fcid-allocation
To manually add a Fibre Channel ID (FC ID) to the default area company ID list, use the fcid-allocation command. To remove an FC ID from the default area company ID list, use the no form of this command.
fcid-allocation area company-id company-id
no fcid-allocation area company-id company-id
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Fibre Channel standards require a unique FC ID to be allocated to an N port attached to a Fx port in any switch. To conserve the number of FCIDs used, Cisco NX-OS switches use a special allocation scheme.
Some Host Bust Adaptors (HBAs) do not discover targets that have FC IDs with the same domain and area. The switch software maintains a list of tested company IDs that do not exhibit this behavior. These HBAs were allocated with single FC ID for other HBAs, a full area was allocated.
To allow further scalability for switches with numerous ports, the switch software maintains a list of HBAs that exhibit this behavior. Each HBA is identified by its company ID (also known as an Organizational Unique Identifier, or OUI) used in the pWWN during a fabric login. A full area is allocated to the N ports with company IDs that are listed and for the others, a single FCID is allocated. Regardless of the type (whole area or single) of FCID allocated, the FCID entries remain persistent.
Examples
This example shows how to add a new company FCID to the default area company ID list:
Related Commands
|
|
---|---|
Displays the configured Fibre Channel drop latency parameters. |
fcinterop fcid-allocation
To allocate Fibre Channel IDs (FC IDs) on the switch, use the fcinterop fcid-allocation command. To disable FC IDs on the switch, use the no form of this command.
fcinterop fcid-allocation { auto | flat | none }
no fcinterop fcid-allocation { auto | flat | none }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to set the FC ID allocation to flat:
Related Commands
|
|
---|---|
fcns no-auto-poll
To enable or disable automatic polling in the name server database, use the fcns no-auto-poll command.
fcns no-auto-poll [ vsan vsan-id ] | [ wwn wwn-id ]
no fcns no-auto-poll [ vsan vsan-id ] | [ wwn wwn-id ]
Syntax Description
Port WWN. The format is hh : hh : hh : hh : hh : hh : hh : hh. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to disable automatic polling for VSAN 2:
Related Commands
|
|
---|---|
Displays the name server database and statistical information for a specified VSAN or for all VSANs. |
fcns proxy-port
To register a name server proxy, use the fcns proxy-port command.
fcns proxy-port wwn-id vsan vsan-id
no fcns proxy-port wwn-id vsan vsan-id
Syntax Description
Port WWN. The format is hh : hh : hh : hh : hh : hh : hh : hh. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You can configure name server to proxy another name server. You can display the name server information using the CLI, but you can view the name server by using either the CLI or the Cisco DCNM for SAN.
All name server registration requests come from the same port whose parameter is registered or changed. If a port request comes from a different port, then the request is rejected.
Examples
This example shows how to configure a proxy port for VSAN 2:
Related Commands
|
|
---|---|
Displays the name server database and statistical information for a specified VSAN or for all VSANs. |
fcns reject-duplicate-pwwn vsan
To reject duplicate the Fibre Channel name server (FCNS) proxies on a VSAN, use the fcns reject-duplicate-pwwn vsan command.
fcns reject-duplicate-pwwn vsan vsan-id
no fcns reject-duplicate-pwwn vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to reject duplicate FCNS PWWNs for VSAN 2:
switch(config)#
Related Commands
|
|
---|---|
Displays the name server database and statistical information for a specified VSAN or for all VSANs. |
fcping
To ping an N port, use the fcping command.
fcping { device-alias aliasname | fcid { fc-port | domain-controller-id } | pwwn pwwn-id } vsan vsan-id [ count number [ timeout value [ usr-priority priority ]]]
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
To obtain the domain controller ID, concatenate the domain ID with FFFC. For example, if the domain ID is 0xda(218), the concatenated ID is 0xfffcda.
This command requires the FCoE license.
Note fctrace is not supported.
Examples
This example shows how to configure an fcping operation for the FC ID of the destination. By default, five frames are sent.
This example shows how to configure the number of frames to be sent using the count option. The range is from 0 through 2147483647. A value of 0 will ping forever.
This example shows how to configure the timeout value:
This example shows how to display the fcping operation using the device alias of the specified destination:
Related Commands
|
|
---|---|
Displays the name server database and statistical information for a specified VSAN or for all VSANs. |
fcroute
To configure Fibre Channel routes and to activate policy routing, use the fcroute command. To remove a configuration or revert to factory defaults, use the no form of this command.
fcroute { fcid [ network-mask ] interface { fc slot / port | port-channel port | vfc vfc-id } domain domain-id { metric number | remote | vsan vsan-id }}
no fcroute { fcid network-mask interface { fc slot / port | port-channel port | vfc vfc-id } domain domain-id { metric number | remote | vsan vsan-id }}
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Use this command to assign forwarding information to the switch and to activate a preferred path route map.
Examples
This example shows how to specify the Fibre Channel interface and the route for the domain of the next hop switch for VSAN 2:
This example shows how to specify the SAN port channel interface and the route for the domain of the next hop switch for VSAN 4:
This example shows how to specify the Fibre Channel interface, the route for the domain of the next hop switch, and the cost of the route for VSAN 1:
This example shows how to specify the Fibre Channel interface, the route for the domain of the next hop switch, the cost of the route, and the static route for a destination switch that is remotely connected for VSAN 3:
Related Commands
|
|
---|---|
Displays the preferred path route map configuration and status. |
|
fcs plat-check-global
To enable Fabric Configuration Server (FCS) platform and node-name checking fabric wide, use the fcs plat-check-global command. To disable this feature, use the no form of this command.
fcs plat-check-global vsan vsan-id
no fcs plat-check-global vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to enable FCS platform and node-name checking fabric wide:
Related Commands
|
|
---|---|
fcs register
To register Fabric Configuration Server (FCS) attributes, use the fcs register command. To disable this feature, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to register FCS attributes:
Related Commands
|
|
---|---|
fcs virtual-device-add
To include a virtual device in a query about zone information from a Fabric Configuration Server (FCS), use the fcs virtual-device-add command. To remove a virtual device, use the no form of this command.
fcs virtual-device-add [vsan-ranges vsan-ids ]
no fcs virtual-device-add [vsan-ranges vsan-ids ]
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Enter VSAN ranges as vsan-ids - vsan-ids. When you specify more than one range, separate each range with a comma. If no range is specified, the command applies to all VSANs.
Examples
This example shows how to add to one range of VSANs:
This example shows how to add to more than one range of VSANs:
Related Commands
|
|
---|---|
fcsp
To configure a Fibre Channel Security Protocol (FC-SP) authentication mode for a specific interface in a FC-SP-enabled switch, use the fcsp command. To disable an FC-SP on the interface, use the no form of this command.
fcsp { auto-active | auto-passive | on | off } [ timeout-period ]
no fcsp { auto-active | auto-passive | on | off } [ timeout-period ]
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
You must enable FC-SP by using the feature fcsp command before you can use the fcsp command.
Examples
This example shows how to turn on the authentication mode for Fibre Channel interface in port 1 of slot 2:
This example shows how to revert to the factory default of auto-passive for the selected interface:
This example shows how to change the selected interface to initiate FC-SP authentication but do not permit reaunthentication:
Related Commands
|
|
---|---|
Displays an interface configuration for a specified interface. |
fcsp dhchap
To configure Dixie-Hellman Challenge Handshake Protocol (DHCHAP) options in a switch, use the fcsp dhchap command. To revert to the factory defaults, use the no form of this command.
fcsp dhchap { devicename switch-wwn password [ 0 | 7 ] password |
dhgroup [ 0 ] [ 1 ][ 2 ][ 3 ][ 4 ] | hash [ md5 | sha1 ] | password [ 0 | 7 ] password [ wwn wwn-id ]}
no fcsp dhchap { devicename switch-wwn password [ 0 | 7 ] password |
dhgroup [ 0 | 1 | 2 | 3 | 4 ] | hash [ md5 ] [ sha1 ] | password [ 0 | 7 ] password [ wwn-id ]}
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
You can see only the fcsp dhchap command if you enable FS-CP by using the feature fcsp command.
Using SHA-1 as the hash algorithm might prevent RADIUS or TACACS+ usage.
If you change the DH group configuration, make sure that you change it globally for all switches in the fabric.
Examples
This example shows how to enable FC-SP:
This example shows how to configure the use of only the SHA-1 hash algorithm:
This example shows how to configure the use of only the MD-5 hash algorithm:
This example shows how to define the use of the default hash algorithm priority list of MD-5 followed by SHA-1 for DHCHAP authentication:
This example shows how to revert to the factory default priority list of the MD-5 hash algorithm followed by the SHA-1 hash algorithm:
This example shows how to prioritize the use of DH group 2, 3, and 4 in the configured order:
This example shows how to configure a clear text password for the local switch:
This example shows how to configure a clear text password for the local switch to be used for the device with the specified WWN:
This example shows how to configure a password entered in an encrypted format for the local switch:
Related Commands
|
|
---|---|
fcsp reauthenticate
To reauthenticate a Fibre Channel or virtual Fibre Channel interface, use the fcsp reauthenticate command. To revert to the factory defaults, use the no form of this command.
fcsp reauthenticate interface { fc slot / port | vfc vfc-id }
no fcsp reauthenticate interface { fc slot / port | vfc vfc-id }
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure the Fibre Channel Security Protocol (FC-SP) reauthentication on a virtual Fibre Channel interface:
Related Commands
|
|
---|---|
fcsp timeout
To configure the timeout value for a Fibre Channel Security Protocol (FC-SP) message, use the fcsp timeout command. To revert to the factory defaults, use the no form of this command.
no fcsp timeout timeout-period
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
You can see only the fcsp timeout command if you enable FC-SP by using the feature fcsp command.
Examples
This example shows how to configure the FCSP timeout value:
Related Commands
|
|
---|---|
fctimer
To change the default Fibre Channel timers, use the fctimer command. To revert to the default values, use the no form of this command.
fctimer { d_s_tov milliseconds | e_d_tov milliseconds | r_a_tov milliseconds } [ vsan vsan-id ]
no fctimer { d_s_tov milliseconds | e_d_tov milliseconds | r_a_tov milliseconds } [ vsan vsan-id ]
Syntax Description
ED_TOV. The range is from 1000 to 4000 milliseconds with a default of 2000. |
|
RA_TOV. The range is from 5000 to 100000 milliseconds with a default of 10000. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
The Cisco, Brocade, and McData FC Error Detect (ED_TOV) and Resource Allocation (RA_TOV) timers default to the same values. They can be changed if needed. In accordance with the FC-SW2 standard, these values must be the same on each switch in the fabric.
Use the vsan keyword to configure different TOV values for specific VSANs. The VSAN must be suspended before you can alter the timers.
Examples
This example shows how to change the default Fibre Channel timers:
Related Commands
|
|
---|---|
fctimer abort
To discard a Fibre Channel timer (fctimer) Cisco Fabric Services (CFS) distribution session that is in progress, use the fctimer abort command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to discard a CFS distribution session in progress:
Related Commands
|
|
---|---|
Displays the state of the CFS state for Fibre Channel timer. |
fctimer commit
To commit pending configuration changes for the Fibre Channel timer (fctimer) Cisco Fabric Services (CFS) distribution session that is in progress, use the fctimer commit command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to commit pending changes to the Fibre Channel timer configuration:
switch(config)#
Related Commands
|
|
---|---|
fctimer distribute
To enable Cisco Fabric Services (CFS) distribution for the Fibre Channel timer (fctimer), use the fctimer distribute command. To disable this feature, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Before distributing the Fibre Channel timer changes to the fabric, you must commit the temporary changes to the active configuration by using the fctimer commit command.
Examples
This example shows how to enable CFS distribution for the fctimer:
Related Commands
|
|
---|---|
Commits the Fibre Channel timer configuration changes to the active configuration. |
|
fctrace
To trace the route to an N port, use the fctrace command.
fctrace { device-alias aliasname | fcid fcid | pwwn pwwn-id } vsan vsan-id [timeout seconds ]
Syntax Description
Device alias name. The name can be a maximum of 64 alphanumeric characters. |
|
PWWN ID. The format is hh : hh : hh : hh : hh : hh : hh : hh. |
|
VSAN ID of the destination port. The range is from 1 to 4093. |
|
Command Default
By default, the period to wait before timing out is 5 seconds.
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to trace a route to the specified FC ID in VSAN 1:
This example shows how to trace a route to the specified device alias in VSAN 1:
fdmi suppress-updates
To suppress Fabric-Device Management Interface (FDMI) updates, use the fdmi suppress-updates command.
fdmi suppress-updates vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to suppress the FDMI updates in VSAN 1:
install feature-set fcoe
To install the Fibre Channel over Ethernet (FCoE) feature set in the default virtual device context (VDC), use the install feature-set fcoe command.
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
This command was introduced on the Cisco Nexus 7000 and 9000 Series Switches. |
Usage Guidelines
Examples
This example shows how to install the FCoE feature set in the default VDC:
Related Commands
|
|
---|---|
feature fcsp
To enable the Fibre Channel Security Protocol (FC-SP) in a switch, use the feature fcsp command. To disable FC-SP, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Additional FC-SP commands are available when you enable the FC-SP feature.
Examples
This example shows how to enable FC-SP:
Related Commands
|
|
---|---|
feature npiv
To enable N port identifier virtualization (NPIV) for all VSANs on a switch, use the feature npiv command. To disable NPIV, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
NPIV allows you to assign multiple port IDs to a single N port. This feature allows multiple applications on the N port to use different identifiers and allows access control, zoning, and port security to be implemented at the application level.
You must globally enable NPIV for all VSANs on the switch to allow the NPIV-enabled applications to use multiple N port identifiers.
Examples
This example shows how to enable NPIV for all VSANs on the switch:
This example shows how to disable NPIV for all VSANs on the switch:
Related Commands
|
|
---|---|
feature port-track
To enable port tracking for indirect errors, use the feature port-track command. To disable this feature, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
The Cisco NX-OS software brings the linked port down when the tracked port goes down. When the tracked port recovers from the failure and comes back up again, the tracked port is also brought up automatically (unless otherwise configured).
Examples
This example shows how to enable port tracking:
This example shows how to disable port tracking:
Related Commands
|
|
---|---|
Displays configuration and status information for a specified Fibre Channel interface. |
|
Displays configuration and status information for a specified SAN port channel interface. |
fspf config
To configure a Fabric Shortest Path First (FSPF) feature for an entire VSAN, use the fspf config command. To delete an FSPF configuration for the entire VSAN, use the no form of this command.
fspf config vsan vsan-id {min-ls-arrival ls-arrival-time | min-ls-interval ls-interval-time | region region-id | spf {hold-time spf-holdtime | static}
no fspf config vsan vsan-id {no min-ls-arrival ls-arrival-time | no min-ls-interval ls-interval-time | no region region-id | no spf {hold-time spf-holdtime | static}
Syntax Description
Command Default
This command is not applicable to virtual Fibre Channel interfaces.
In FSPF configuration mode, the default is dynamic SPF computation.
If configuring the spf hold-time, the default value for FSPF is 0.
If configuring the min-ls-arrival, the default value for FSPF is 1000 milliseconds.
If configuring the min-ls-interval, the default value for FSPF is 5000 milliseconds.
Command Modes
Command History
|
|
Usage Guidelines
Use the fspf config command to enter FSPF configuration mode for the specified VSAN. In FSPF configuration mode, the fscp config commands configure FSPF for this VSAN.
Examples
This example shows how to configure a static SPF computation in VSAN 1 and delete the FSPF configuration in VSAN 3:
Related Commands
fspf cost
To configure the Fabric Shortest Path First (FSPF) link cost for a Fibre Channel over IP (FCIP) interface or virtual Fibre Channel interface, use the fspf cost command. To revert to the default value, use the no form of this command.
fspf cost link-cost vsan vsan-id
no fspf cost link-cost vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
FSPF tracks the state of links on all switches in the fabric, associates a cost with each link in its database, and chooses the path with a minimal cost. You can change the cost associated with an interface can be changed by using the fspf cost command to implement the FSPF route selection.
For virtual Fibre Channel interfaces, this command configures the FSPF parameters for the virtual E (VE) port.
Examples
This example shows how to configure the FSPF link cost on an FCIP interface:
switch(config-if)# fspf cost 5000 vsan 1
switch(config-if)#
This example shows how to configure the FSPF link cost on a virtual Fibre Channel interface:
Related Commands
|
|
---|---|
Displays an interface configuration for a specified Fibre Channel interface. |
|
fspf dead-interval
To set the maximum interval for which a hello message must be received before the neighbor is considered lost, use the fspf dead-interval command. To revert to the default value, use the no form of this command.
fspf dead-interval seconds vsan vsan-id
no fspf dead-interval seconds vsan vsan-id
Syntax Description
FSPF dead interval in seconds. The range is from 2 to 65535. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
This value must be the same in the ports at both ends of the Inter-Switch-Link (ISL).
For virtual Fibre Channel interfaces, this command configures the FSPF parameters for the virtual E (VE) port.
Examples
This example shows how to configure the maximum interval of 4000 seconds for a hello message before the neighbor is considered lost:
This example shows how to configure the maximum interval of 300 seconds for a hello message in a virtual Fibre Channel interface before the neighbor is considered lost:
Related Commands
|
|
---|---|
Displays an interface configuration for a specified Fibre Channel interface. |
|
fspf enable
To enable Fabric Shortest Path First (FSPF) for a VSAN, use the fspf enable command. To disable FSPF routing protocols, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
This command is not applicable to virtual Fibre Channel interfaces.
Examples
This example shows how to enable a FSPF in VSAN 5 and disable FSPF in VSAN 7:
switch(config)# no fspf enable vsan 7
switch(config)#
Related Commands
|
|
---|---|
fspf hello-interval
To verify the health of the link, use the fspf hello-interval command. To revert to the default settings, use the no form of this command.
fspf hello-interval seconds vsan vsan-id
no fspf hello-interval seconds vsan vsan-id
Syntax Description
FSPF interval in seconds. The range is from 2 to 65535 for Fibre Channel over IP (FCIP) interfaces and from 1 to 65534 for virtual Fibre Channel interfaces. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
This command configures Fabric Shortest Path First (FSPF) for the specified Fibre Channel interface. This value must be the same in the ports at both ends of the Inter-Switch-Link (ISL) for Fibre Channel over IP (FCIP) interfaces.
For virtual Fibre Channel interfaces, this command configures the FSPF parameters for the virtual E (VE) port.
Examples
This example shows how to configure a hello interval of 3 seconds on VSAN 1:
switch(config-if)# fspf hello-interval 3 vsan 1
This example shows how to configure a hello interval of 30 seconds for a virtual Fibre Channel interface on VSAN 1:
Related Commands
|
|
---|---|
fspf passive
To disable the Fabric Shortest Path First (FSPF) protocol for selected interfaces, use the fspf passive command. To revert to the default state, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
By default, FSPF is enabled on all E ports and TE ports of an Fibre Channel over IP (FCIP) interface. You by using the fspf passive command. You must enable FSPF on the ports at both ends of the Inter-Switch-Link (ISL) for the protocol to operate correctly.
For virtual Fibre Channel interfaces, this command configures the FSPF parameters for the virtual E (VE) port.
Examples
This example shows how to disable the FSPF protocol for a virtual Fibre Channel interface on VSAN 1 and verify the interface configuration:
Related Commands
|
|
---|---|
Displays an interface configuration for a specified FCIP interface. |
|
fspf retransmit-interval
To specify the time after which an unacknowledged link state update should be transmitted on the interface, use the fspf retransmit-interval command. To revert to the default settings, use the no form of this command.
fspf retransmit-interval seconds vsan vsan-id
no spf retransmit-interval seconds vsan vsan-id
Syntax Description
Fabric Shortest Path First (FSPF) retransmit interval in seconds. The range is from 1 to 65535. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
This value must be the same in the ports at both ends of the ISL for Fibre Channel over IP (FCIP) interfaces.
For virtual Fibre Channel interfaces, this command configures the FSPF parameters for the virtual E (VE) port.
Examples
This example shows how to specify a retransmit interval of 6 seconds after which an unacknowledged link state update should be transmitted on the interface for VSAN 1:
This example shows how to specify a retransmit interval of 3 seconds after which an unacknowledged link state update should be transmitted on the virtual Fibre Channel interface on VSAN 1:
Related Commands
|
|
---|---|
Displays an interface configuration for a specified Fibre Channel over IP (FCIP) interface. |
|
in-order-guarantee
To enable in-order delivery, use the in-order-guarantee command. To disable in-order delivery, use the no form of this command.
in-order-guarantee [ vsan vsan-id ]
no in-order-guarantee [ vsan vsan-id ] [, ] [ - ]
Syntax Description
(Optional) Allows you to enter multiple VSANs separated by commas or a range of VSANs separated by a dash. |
Command Default
Command Modes
Command History
|
|
Usage Guidelines
In-order delivery of data frames guarantees frame delivery to a destination in the same order that they were sent by the originator.
Examples
This example shows how to enable in-order delivery for the entire switch:
switch(config) #
This example shows how to disable in-order delivery for the entire switch:
switch(config)#
This example shows how to enable in-order delivery for a specific VSAN:
switch(config)#
This example shows how to disable in-order delivery for a specific VSAN:
switch(config)#
Related Commands
|
|
---|---|
member (fcalias configuration mode)
To add a member name to a Fibre Channel alias on a VSAN, use the member command. To remove a member name from a Fibre Channel alias, use the no form of this command.
member {device-alias devicealias name both initiator target | domain-id domain-id | fcid fc-id both initiator target | fwwn fwwn-id | interface fc slot/port | ip-address ip-address | pwwn pwwn-id both initiator target | symbolic-nodename nodename}
no member {device-alias devicealias name both initiator target | domain-id domain-id | fcid fc-id both initiator target | fwwn fwwn-id | interface fc slot/port | ip-address ip-address | pwwn pwwn-id both initiator target | symbolic-nodename nodename}
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Added the keywords both, initiator, target to the syntax description. |
|
Usage Guidelines
Examples
This example shows how to add a member to an alias called samplealias:
This example shows how to define a Fibre Channel interface for the member:
switch(config-fcalias)#
This example shows how to delete the specified member:
switch(config-fcalias)#
This example shows how to add the IP address member to fcalias:
This example shows how to specify the device type as initiator:
This example shows how to specify the device type as target:
This example shows how to specify the device type as both:
Related Commands
|
|
---|---|
member (zone configuration mode)
To add a member name to a Fibre Channel zone, use the member command. To remove a member name from a zone, use the no form of this command.
member { device-alias device aliasname [both initiator target] | domain-id domain-id port-number port | fcalias alias-name | fcid fc-id [both initiator target] | fwwn fwwn-id | interface fc slot / port [ domain-id domain-id | swwn swwn-id ] | pwwn pwwn-id [ lun lun-id ] [ both initiator target] | symbolic-nodename nodename }
no member { device-alias device aliasname [both initiator target] | domain-id domain-id port-number port | fcalias alias-name | fcid fc-id [both initiator target] | fwwn fwwn-id | interface fc slot / port [ domain-id domain-id | swwn swwn-id ] | pwwn pwwn-id [ lun lun-id ] [ both initiator target] | symbolic-nodename nodename }
Syntax Description
Command Default
Command Modes
Zone set zone configuration mode and zoneset-zone configuration mode
Command History
|
|
---|---|
Added the keywords both, initiator, target to the syntax description. |
|
Usage Guidelines
Create a zone set zone member only if you need to add member to a zone from the zone set prompt.
Examples
This example shows how to add a member to a zone called zs1 on VSAN 1:
switch(config-zone)# member fcid 0x111112
This example shows how to add a zone to a zone set called Zoneset1 on VSAN 1:
switch(config-zoneset-zone)# member fcid 0x111112
This example shows how to assign a Fibre Channel interface member into a zone:
switch(config-zoneset-zone)# member interface fc 3/1
This example shows how to delete the specified device from a zone:
switch(config-zoneset-zone)# no member interface fc 3/1
This example shows how to specify the device type as both:
This example shows how to specify the device type as initiator:
Related Commands
|
|
---|---|
member (zoneset configuration mode)
To configure zone set members, use the member command. To remove a zone set member, use the no form of this command.
Syntax Description
Member name. The name can be a maximum of 64 alphanumeric characters. |
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to add a member zone to a zone set:
switch(config-zoneset)# member ZoneA
switch(config-zoneset)#
Related Commands
|
|
---|---|
purge fcdomain fcid
To purge persistent Fibre Channel IDs (FCIDs), use the purge fcdomain fcid command.
purge fcdomain fcid vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to purge all dynamic, unused FCIDs in VSAN 4:
This example shows how to purge all dynamic, unused FCIDs in VSANs 4, 5, and 6:
Related Commands
|
|
---|---|
rlir preferred-cond fcid
To specify a preferred host to receive Registered Link Incident Report (RLIR) frames, use the rlir preferred-cond fcid command. To remove a preferred host, use the no form of this command.
rlir preferred-cond fcid fc-id vsan vsan-id
no rlir preferred-cond fcid fc-id vsan vsan-id
Syntax Description
Command Default
By default, the switch sends RLIR frames to one of the hosts in the VSAN with the register function set to “conditionally receive” if no hosts have the register function set to “always receive.”
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The switch sends RLIR frames to the preferred host only if it meets the following conditions:
- No host in the VSAN is registered for RLIR with the registration function set to “always receive.” If one or more hosts in the VSAN are registered as “always receive,” then RLIR sends only to these hosts and not to the configured preferred host.
- The preferred host is registered with the registration function set to “conditionally receive.” If all registered hosts have the registration function set to “conditionally receive,” then the preferred host receives the RLIR frames.
Examples
This example shows how to specify the FC ID 0x654321 as the Registered Link IncidentRF Report (RLIR) preferred host for VSAN 2:
switch(config)# rlir preferred-cond fcid 0x654321 vsan 2
Stub Library could not be opened
*** libficoncmi.so: cannot open shared object file: No such file or directory *
This example shows how to remove the FCID 0x654321 as the RLIR preferred host for VSAN 2:
Related Commands
|
|
---|---|
Displays information about RLIR, Link Incident Record Registration (LIRR), and Distribute Registered Link Incident Record (DRLIR) frames. |
|
rscn
To configure a Registered State Change Notification (RSCN), which is a Fibre Channel service that informs N ports about changes in the fabric, use the rscn command. To revert to the default settings, use the no form of this command.
rscn {abort vsan vsan-id | commit vsan vsan-id | distribute | event-tov event-timeout vsan vsan-id multi-pid vsan vsan-id | restrict swrscn-event vsan vsan-id | suppress domain-swrscn vsan vsan-id }
no rscn {abort vsan vsan-id | commit vsan vsan-id | distribute | event-tov event-timeout vsan vsan-id multi-pid vsan vsan-id | restrict swrscn-event vsan vsan-id | suppress domain-swrscn vsan vsan-id }
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure RSCNs in multi-PID format:
switch(config)#
Related Commands
|
|
---|---|
rscn abort
To cancel a Registered State Change Notification (RSCN) configuration on a VSAN, use the rscn abort command. To reverse the cancellation, use the no form of this command.
Syntax Description
Specifies the VSAN where the RSCN configuration should be canceled. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to cancel an RSCN configuration on VSAN 1:
Related Commands
|
|
---|---|
rscn commit
To apply a pending Registered State Change Notification (RSCN) configuration, use the rscn commit command. To discard a pending RSCN configuration, use the no form of this command.
Syntax Description
Specifies the VSAN where the RSCN configuration should be committed. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you commit the changes made to the active database, the configuration is committed to all the switches in the fabric. On a successful commit, the configuration change is applied throughout the fabric and the lock is released.
Examples
This example shows how to commit an RSCN configuration on VSAN 1:
Related Commands
|
|
---|---|
rscn distribute
To enable distribution of a Registered State Change Notification (RSCN) configuration, use the rscn distribute command. To disable the distribution, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The RSCN timer configuration must be the same on all switches in the VSAN. Cisco Fabric Services (CFS) automatically distributes the RSCN timer configuration to all switches in a fabric. Only the RSCN timer configuration is distributed.
Examples
This example shows how to enable the distribution of an RSCN configuration:
Related Commands
|
|
---|---|
rscn event-tov
To configure an event timeout value for a Registered State Change Notification (RSCN) on a specified VSAN, use the rscn event-tov command. To cancel the event timeout value and restore the default value, use the no form of this command.
rscn event-tov timeout vsan vsan-id
no rscn event-tov timeout vsan vsan-id
Syntax Description
Event timeout value in milliseconds. The range is from 0 to 2000. |
|
Specifies the VSAN where the RSCN event timer should be used. |
|
Command Default
The default timeout values are 2000 milliseconds for Fibre Channel VSANs.
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Before changing the timeout value, you must enable RSCN configuration distribution by using the rscn distribute command.
The RSCN timer is registered with Cisco Fabric Services (CFS) during initialization and switchover.
Examples
This example shows how to configure an RSCN event timeout value on VSAN 1:
Related Commands
|
|
---|---|
show device-alias
To display the device name information, use the show device-alias command.
show device-alias { database | merge status | name device-name [ pending ] | pending | pending-diff | pwwn pwwn-id [ pending ] | session status | statistics | status}
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
To make use of fcaliases as device names instead of using the cryptic device name, add only one member per fcalias.
Examples
This example shows how to display the contents of the device alias database:
This example shows how to display all global fcaliases and all VSAN dependent fcaliases:
switch#
This example shows how to display all global fcaliases and all VSAN-dependent fcaliases:
switch#
Related Commands
|
|
---|---|
show fabric-binding
To display configured fabric binding information, use the show fabric-binding command.
show fabric-binding { database [ active ] [ vsan vsan-id ] | efmd statistics [ vsan vsan-id ] | statistics [ vsan vsan-id ] | status [ vsan vsan-id ] | violations [ last number ]}
Syntax Description
(Optional) Displays the active database configuration information. |
|
(Optional) Specifies the Fibre Connection (FICON) enabled VSAN ID. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the configured fabric binding database information:
This example shows how to display the active fabric binding information:
This example shows how to display the active VSAN-specific fabric binding information for 61:
This example shows how to display the configured VSAN-specific fabric binding information for VSAN 4:
This example shows how to display the fabric binding statistics:
This example shows how to display the fabric binding status for each VSAN:
This example shows how to display the EFMD statistics:
This example shows how to display the EFMD statistics for a specified VSAN:
This example shows how to display the fabric binding violations:
Related Commands
|
|
---|---|
show fc2
To display FC2 information, use the show fc2 command.
show fc2 { bind | classf | exchange | exchresp | flogi | nport | plogi | plogi_pwwn | port brief | socket | sockexch | socknotify | socknport | vsan }
Syntax Description
Displays FC2 local N port PLOGI/LOGO notifications for each socket. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the FC2 active socket information:
This example shows how to display the FC2 socket binding information:
This example shows how to display the FC2 local N port information:
This example shows how to display the FC2 PLOGI session information:
This example shows how to display the FC2 physical port information:
This example shows how to display the FC2 local N port PLOGI notifications for each socket:
This example shows how to display the FC2 local N ports for each socket:
This example shows how to display the FC2 VSAN table:
show fcalias
To display the member name information in a Fibre Channel alias (fcalias), use the show fcalias command.
show fcalias [ name fcalias-name ] [ pending ] [ vsan vsan-id ]
Syntax Description
(Optional) Displays fcalias information for a specific name. |
|
(Optional) Name. The maximum length is 64 alphanumeric characters. |
|
Command Default
Displays a list of all global fcaliases and all VSAN-dependent fcaliases.
Command Modes
Command History
|
|
---|---|
Usage Guidelines
To make use of fcaliases as device names instead of using the cryptic device name, add only one member per fcalias.
Examples
This example shows how to display the fcalias configuration information for VSAN 1:
fcalias name aliasname vsan 1
Related Commands
|
|
---|---|
show fcdomain
To display the Fibre Channel domain (fcdomain) information, use the show fcdomain command.
show fcdomain [ address-allocation [ cache ] | allowed | domain-list | fcid persistent [ unused ] | pending [ vsan vsan-id ] | pending-diff [ vsan vsan-id ] | session-status [ vsan vsan-id ] | statistics [ interface { fc slot / port [ vsan vsan-id ] } | san-port-channel port [ vsan vsan-id ] ] | status | vsan vsan-id ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When you enter the show fcdomain with no arguments, all VSANs appear. The VSANs should be active or you get an error.
Examples
This example shows how to display the fcdomain information for VSAN 1:
This example shows how to display the fcdomain domain-list information for VSAN 76:
Table 1-1 describes the significant fields shown in the show fcdomain domain-list command output.
This example shows how to display the allowed domain ID lists for VSAN 1:
This example shows how to display the status of the Cisco Fabroic Services (CFS) distribution for allowed domain ID lists:
Already assigned or reserved domain IDs: none.
This example shows how to display the pending configuration changes for VSAN 10:
This example shows how to display the differences between the pending configuration and the current configuration for VSAN 10:
This example shows how to display the status of the distribution session for VSAN 1:
Related Commands
|
|
---|---|
show fcdroplatency
To display the configured Fibre Channel latency parameters, use the show fcdroplatency command.
show fcdroplatency [ network | switch ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the configured Fibre Channel latency parameters:
switch latency value:500 milliseconds
Related Commands
|
|
---|---|
Configures the network and switch Fibre Channel drop latency time. |
show fcid-allocation
To display the Fibre Channel area list of company IDs, use the show fcid allocation command.
show fcid-allocation area | company-id-from-wwn wwn [ company-id ]
Syntax Description
Displays the company ID from the specified world wide name (WWN). |
|
(Optional) Company ID (also known as Organizational Unit Identifier, or OUI) to display. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the Fibre Channel area company list of company IDs:
Fcid area allocation company id info:
Table 1-2 describes the significant fields shown in the display.
|
|
---|---|
Related Commands
|
|
---|---|
show fcns database
To display the results of the discovery or to display the name server database for a specified VSAN or for all VSANs, use the show fcns database command.
show fcns database { detail [ vsan vsan-id ] | domain domain-id [ detail ] [ vsan vsan-range ] | fcid fcid-id [ detail ] vsan vsan-range | local [ detail ] [ vsan vsan-range ] | vsan vsan-id | npv [detail] vsan vsan-id node_wwn node_wwn vsan vsan-id proxy-host vsan vsan-id }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The discovery can take several minutes to complete, especially if the fabric is large or if several devices are slow to respond.
Virtual enclosure ports can be viewed by using the show fcns database command.
Examples
This example shows how to display the contents of the FCNS database:
This example shows how to display the detailed contents of the FCNS database:
This example shows how to display the management VSAN (VSAN 2):
This example shows how to display the database for all configured VSANs:
Related Commands
|
|
---|---|
Specifies the configuration mode command for the name server configuration. |
show fcns statistics
To display the statistical information for a specified VSAN or for all VSANs, use the show fcns statistics command.
show fcns statistics [ detail ] [ vsan vsan-id ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the statistical information for a specified VSAN:
Name server statistics for vsan 1
Related Commands
|
|
---|---|
Specifies the configuration mode command for the name server configuration. |
show fcroute
To view specific information about existing Fibre Channel and Fabric Shortest Path First (FSPF) configurations, use the show fcroute command.
show fcroute { distance | label [ label ] vsan vsan-id | multicast [ fc-id vsan vsan-id | vsan vsan-id ] | summary [ vsan vsan-id ] | unicast [[ host ] fc-id fc-mask vsan vsan-id | vsan vsan-id ]}
Syntax Description
Unicast routes for hosts that match the range of FCIDs that are specified by the mask. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When the number of routes is displayed in the command output, both visible and hidden routes are included in the total number of routes.
Examples
This example shows how to display the administrative distance:
This example shows how to display the multicast routing information:
This example shows how to display the FC ID information for a specified VSAN:
This example shows how to display the FC ID and interface information for a specified VSAN:
This example shows how to display the unicast routing information:
This example shows how to display the unicast routing information for a specified VSAN:
This example shows how to display the unicast routing information for a specified FC ID:
This example shows how to display the route database information:
This example shows how to display the route database information for a specified VSAN:
Related Commands
|
|
---|---|
Configures Fibre Channel routes and activates policy routing. |
show fctimer
To display the Fibre Channel timers (fctimers), use the show fctimer command.
show fctimer [ d_s_tov [ vsan vsan-id ] | e_d_tov [ vsan vsan-id ] | f_s_tov [ vsan vsan-id ] | r_a_tov [ vsan vsan-id ] | last action status | pending | pending-diff | session status | status | vsan vsan-id ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the configured global TOVs:
This example shows how to display the configured TOVs for a specified VSAN:
Related Commands
|
|
---|---|
show fdmi
To display the Fabric-Device Management Interface (FDMI) database information, use the show fdmi command.
show fdmi database [ detail [ hba-id { hba-id vsan vsan-id } | vsan vsan-id ] | vsan vsan-id ] | suppress-updates
Syntax Description
(Optional) Displays detailed information for the specified host bus adapter (HBA) entry. |
|
(Optional) Specifies FDMI information for the specified VSAN. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display all HBA management servers:
switch#
This example shows how to display the VSAN 1-specific FDMI information:
switch#
This example shows how to display the details for the specified HBA entry in VSAN 1:
switch#
Related Commands
|
|
---|---|
show flogi
To list all the fabric login (FLOGI) sessions through all interfaces across all VSANs, use the show flogi command.
show flogi { auto-area-list } | database { fcid fcid-id | interface { fc slot / port | vfc vfc-id } | vsan vsan-id }
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The output of this command is sorted by interface numbers and then by VSAN IDs.
In a Fibre Channel fabric, each host or disk requires an FC ID. Use the show flogi database command to verify if a storage device is displayed in the fabric login (FLOGI) table as in the Examples section. If the required device is displayed in the FLOGI table, the fabric login is successful. Examine the FLOGI database on a switch that is directly connected to the host HBA and connected ports.
Examples
This example shows how to display the list of Organisational Unit Identifiers that are allocated areas:
This example shows how to display the details about the FLOGI database:
--------------------------------------------------------------------------------
This example shows how to display a specific FLOGI interface:
This example shows how to display the FLOGI for VSAN 100:
--------------------------------------------------------------------------------
This example shows how to display the FLOGI for a specific FC ID:
Related Commands
|
|
---|---|
show fspf
To display global Fibre Shortest Path First (FSPF) routing information, use the show fspf command.
show fspf [ database [ vsan vsan-id ] [ detail | domain domain-id detail ] | interface | vsan vsan-id interface { fc slot / port | port-channel port-channel number | san-port-channel port-channel-number| vfc vfc-id }]
Syntax Description
Slot and port number. The range for slot numbers is from 1 to 12 |
|
Port channel number. The range for port numbers is from 1 to 256. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you enter the command without parameters, all the entries in the database are displayed.
Examples
This example shows how to display the FSPF interface information:
This example shows how to display the FSPF database information:
This command shows how to display the FSPF information for a specified VSAN:
This command shows how to display the FSPF information for all interfaces:
Related Commands
|
|
---|---|
show rlir
To display Registered Link Incident Report (RLIR) information, use the show rlir command.
show rlir { erl [ vsan vsan-id ] | history | recent { interface fc slot / port | portnumber port } | statistics [ vsan vsan-id ]}
Syntax Description
Slot and port number. The range for the slot numbers is from 1 to 12 and the range for the port numbers is from 1 to 48. |
|
Displays RLIR statistics for all VSANs or the specified VSAN. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the RLIR information for VSAN 1:
This example shows how to display the RLIR statistics for VSAN 1:
Related Commands
|
|
---|---|
show rscn
To display Registered State Change Notification (RSCN) information, use the show rscn command.
show rscn {brief-log | event-tov vsan vsan-id | pending vsan vsan-id | pending-diff vsan vsan-id | scr-table [ vsan vsan-id ] | session status vsan vsan-id | statistics [ vsan vsan-id ]}
Syntax Description
Displays the difference between the active and the pending configuration. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The SCR table cannot be configured. It is only populated if one or more N ports send SCR frames to register for RSCN information. If the show rscn scr-table command does not return any entries, no N port is interested in receiving RSCN information.
Examples
This example shows how to display the RSCN information on VSAN 1:
This example shows how to display the RSCN statistics on VSAN 1:
This example shows how to display he RSCN event timeout value configured on VSAN 1:
This example shows how to display the difference between the active RSCN configuration and the pending RSCN configuration on VSAN 1:
Related Commands
|
|
---|---|
show trunk protocol
To display the trunk protocol status, use the show trunk protocol command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the trunk protocol status:
Related Commands
|
|
---|---|
Configures the trunking protocol for Fibre Channel interfaces. |
show vsan
To display information about configured VSAN, use the show vsan command.
show vsan [ vsan-id [ membership ] | membership [ interface { fc slot / port | san-port-channel port | vfc vfc-id }] | usage ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When you enter the show vsan membership interface command, interface information appears for interfaces that are configured in this VSAN.
The interface range must be in ascending order and nonoverlapping. You can specify a range using a hyphen and several interfaces using commas:
- The interface range format for a Fibre Channel interface range is
fcslot/port - port, fcslot/port, fcslot/port:
Examples
This example shows how to display the configured VSAN information:
This example shows how to display the membership information for all VSANs:
This example shows how to display the membership information for a specified interface:
Related Commands
|
|
---|---|
show wwn
To display the status of the WWN configuration, use the show wwn command.
show wwn { status [ block-id number ] | switch | vsan-wwn }
Syntax Description
(Optional) Displays the WWN usage and alarm status for a block ID. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the WWN of the switch:
This example shows how to display a user-configured VSAN WWN:
Related Commands
|
|
---|---|
Configures a WWN for a suspended VSAN that has interop mode 4 enabled. |
show zone
To display zone information, use the show zone command.
show zone [ active [ vsan vsan-id ] | analysis { active vsan vsan-id | vsan vsan-id | zoneset zoneset-name } | ess [ vsan vsan-id ] | member { fcalias alias-name | fcid fc-id [ active | lun lun-id | vsan vsan-id ] | pwwn wwn [ active | lun lun-id | vsan vsan-id ]} | name string [ active ] [ pending ] [ vsan vsan-id ] | pending [ active ] [ vsan vsan-id ] | pending-diff [ vsan vsan-id ] | policy [ pending ] [ vsan vsan-id ] | statistics [ vsan vsan-id ] | status [ vsan vsan-id ]]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the configured zone information:
This example shows how to display the zone information for a specific VSAN:
This example shows how to display the members of a specific zone:
This example shows how to display all zones to which a member belongs using the PWWN:
This example shows how to display the number of control frames exchanged with other switches:
This example shows how to display the status of the configured zones:
This example checks the status of the zoneset distribute vsan command and displays the default zone attributes of a specific VSAN or all active VSANs:
VSAN: 100 default-zone: deny distribute: active only Interop: default
This example shows how to display the zone status:
This example shows how to display zones that are part of the active zoneset:
Table 1-3 describes the significant fields shown in the show zone status vsan display.
Related Commands
|
|
---|---|
show zone analysis
To display detailed analysis and statistical information about the zoning database, use the show zone analysis command.
show zone analysis { active vsan vsan-id | pending | vsan vsan-id | zoneset name vsan vsan-id }
Syntax Description
Displays zone set analysis information for the specified zone set. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the detailed statistics and analysis of the active zoning database for VSAN 1:
This example shows how to display the detailed statistics and analysis of the full zoning database for VSAN 1:
Zoning database analysis vsan 1
Full zoning database
Last updated at: 14:36:56 UTC Oct 04 2005
Last updated by: Local [CLI / SNMP / GS / CIM / INTERNAL] or
Merge [interface] or
Remote [Domain, IP-Address]
[Switch name]
Num zonesets: 1
Num zones: 1
Num aliases: 0
Num attribute groups: 0
Formatted database size: < 1 Kb / 2000 kb ( < 1% usage)
Unassigned zones:
zone name z1 vsan 1
Table 1-4 describes the fields displayed in the output of the show zone analysis command for the full zoning database.
This example shows how to display the zone set analysis information for VSAN 100:
Related Commands
|
|
---|---|
show zone internal global-info
To display the zone global information, use the show zone internal global-info command.
show zone internal global-info
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
The following example displays the zone server internal state for a VSAN:
show zone internal vsan
To display the zone server internal state for a VSAN, use the show zone internal vsan command.
show zone internal vsan vsan-id
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
The following example displays the zone server internal state for a VSAN:
show zone policy
To display the zone policies, use the show zone policy command.
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Changed the command output to include (smart-zone disabled). |
Usage Guidelines
Examples
The following example displays the zone policies:
show zone smart-zoning auto-conv
To display the previous auto convert status, use the show zone smart-zoning auto-conv command.
show zone smart-zoning auto-conv{log errors | status vsan vsan-id}
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
The following example displays the previous auto convert status for a VSAN:
show zoneset
To display the configured zone sets, use the show zoneset command.
show zoneset [ active [ vsan vsan-id ] | brief [ active [ vsan vsan-id ] | vsan vsan-id ] | name zoneset-name [ active [ vsan vsan-id ] | brief [ active [ vsan vsan-id ] | vsan vsan-id ] | vsan vsan-id ] | pending [ active [ vsan vsan-id ] | brief [ active [ vsan vsan-id ] | vsan vsan-id ] | vsan vsan-id ] | vsan vsan-id
Syntax Description
Zone set name. The maximum size is 64 alphanumeric characters. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the configured zone set information for VSAN 1:
This example shows how to display the configured zone set information for a VSANs 2 and 3:
Related Commands
|
|
---|---|
switchport mode trunk
To configure an Ethernet interface as a trunk port, use the switchport mode trunk command. To remove the configuration, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You must configure the Ethernet interface as a trunk port to allow both Fibre Channel and Ethernet traffic on the same interface.
Note On Cisco NX-OS 5.0(2)N1(1), the switchport trunk mode is on by default for virtual Fibre Channel interfaces and cannot be configured.
Examples
This example shows how to enable the trunk mode for interface Ethernet 2/1:
Related Commands
|
|
---|---|
Displays information on all interfaces configured as switch ports. |
system default switchport
To configure port attributes for Fibre Channel interfaces, use the system default switchport command. To disable port attributes, use the no form of this command.
system default switchport { shutdown | trunk mode { auto | off | on }}
no system default switchport { shutdown | trunk mode { auto | off | on }}
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Attributes configured using this command are applied globally to all future switch port configurations, even if you do not individually specify them at that time.
This command changes the configuration of the following ports to administrative mode F:
- All ports that are down.
- All F ports that are up, whose operational mode is F, and whose administrative mode is not F.
This command does not affect non-F ports that are up; however, if non-F ports are down, this command changes the administrative mode of those ports.
Usage Guidelines
Examples
This example shows how to configure a port shutdown:
switch(config)#
This example shows how to configure the trunk mode:
Related Commands
|
|
---|---|
system default zone default-zone permit
To configure default values for a zone, use the system default zone default-zone permit command. To revert to the default settings, use the no form of this command.
system default zone default-zone permit
no system default zone default-zone permit
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
This command defines the default values for the default zone for all Virtual SANs (VSANs). The default values are used when you initially create a VSAN and it becomes active. If you do not want to use the default values, use the zone default-zone permit vsan command to define the operational values for the default zone.
Use the system default zone default-zone permit command only be used with VSANs that have not yet been created; this command has no effect on existing VSANs.
Because VSAN 1 is the default VSAN and is always present, this command has no effect on it.
Examples
This example shows how to set the default zone to use the default values:
This example shows how to restore the default setting:
switch(config)#
Related Commands
|
|
---|---|
Defines whether a default zone (nodes not assigned a created zone) permits or denies access to all in the default zone. |
|
system default zone
To configure default values for a zone, use the system default zone command. To revert to the default settings, use the no form of this command.
system default zone {default-zone permit | distribute full | gs read read-write | mode enhanced}
no system default zone {default-zone permit | distribute full | gs read read-write | mode enhanced}
Syntax Description
Specifies the default zone generic services permission as read. |
|
Specifies the default zone generic services permission as read-write. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
This command distributes the default values for the default zone to all Virtual SANs (VSANs). The default values are used when you initially create a VSAN and it becomes active. If you do not want to use the default values, use the zoneset distribute full vsan command to distribute the operational values for the default zone.
Use the system default zone distribute full command only be used with VSANs that have not yet been created; thus command has no effect on existing VSANs.
Because VSAN 1 is the default VSAN and is always present, this command has no effect on it.
Examples
This example shows how to configure the default values for enhanced zone mode:
This example shows how to configure the default zone generic services permission as read:
This example shows how to configure the default zone generic services permission as read-write:
This example shows how to distribute the default values to the active zone set only:
switch(config)#
Related Commands
|
|
---|---|
Distributes the operational values for the default zone to all zone sets. |
|
system default zone smart-zone
To configure the default values for smart zoning, use the system default zone smart-zone command in the configuration mode. To disable this feature, use the no form of the command.
system default zone smart-zone enable
no system default zone smart-zone enable
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
The following example shows how to configure the default values for smart-zone :
Related Commands
|
|
---|---|
Displays the default value of zone mode as basic and enhanced. |
trunk protocol enable
To configure the trunking protocol for virtual Fibre Channel and virtual port channel interfaces, use the trunk protocol enable command. To disable this feature, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
You disable the trunking protocol on a switch, no port on that switch can apply new trunk configurations. Existing trunk configurations are not affected, and the TE port continues to function in trunking mode, but only supports traffic in Virtual SANs (VSANs) that it negotiated previously (when the trunking protocol was enabled). Also, other switches that are directly connected to this switch are similarly affected on the connected interfaces. In some cases, you may need to merge traffic from different port VSANs across a nontrunking Inter-Switch Link (ISL). Before you merge traffic, you must disable the trunking protocol.
Examples
This example shows how to disable the trunk protocol feature:
switch(config)#
This example shows how to enable the trunk protocol feature:
switch(config)#
Related Commands
|
|
---|---|
vsan
To create multiple fabrics that share the same physical infrastructure, assign ports to Virtual SANs (VSANs), turn on or off interop mode, load balance either per originator exchange or by source-destination ID, and create VSAN membership, use the vsan command. To remove a configuration, use the no form of this command.
vsan vsan-id [ interface { fc slot / port | san-port-channel port | vfc vfc-id } | interop [ mode ] [ loadbalancing { src-dst-id | src-dst-ox-id }] | loadbalancing { src-dst-id | src-dst-ox-id } | name name [ interop [ mode ] [ loadbalancing { src-dst-id | src-dst-ox-id }] | loadbalancing { src-dst-id | src-dst-ox-id }] | suspend [ interop [ mode ] [ loadbalancing { src-dst-id | src-dst-ox-id }] | loadbalancing { src-dst-id | src-dst-ox-id }] | suspend [ interop [ mode ] [ loadbalancing { src-dst-id | src-dst-ox-id }] | loadbalancing { src-dst-id | src-dst-ox-id }]]
no vsan vsan-id [ interface { fc slot / port | san-port-channel port | vfc vfc-id } | interop [ mode ] [ loadbalancing { src-dst-id | src-dst-ox-id }] | loadbalancing { src-dst-id | src-dst-ox-id } | name name [ interop [ mode ] [ loadbalancing { src-dst-id | src-dst-ox-id }] | loadbalancing { src-dst-id | src-dst-ox-id }] | suspend [ interop [ mode ] [ loadbalancing { src-dst-id | src-dst-ox-id }] | loadbalancing { src-dst-id | src-dst-ox-id }] | suspend [ interop [ mode ] [ loadbalancing { src-dst-id | src-dst-ox-id }] | loadbalancing { src-dst-id | src-dst-ox-id }]]
Syntax Description
Command Default
Command Modes
VSAN database configuration mode
Command History
|
|
---|---|
Usage Guidelines
To use this command, change to the VSAN database mode.
The interface range must be in ascending order and nonoverlapping. You can specify a range using a hyphen and several interfaces using commas:
- The interface range format for a Virtual Fibre Channel interface range is
fcslot/port - port, fcslot/port, fcslot/port:
For example, show int fc2/1 - 3, fc2/4, fc3/2
For example, show int san-port-channel 5.1
- Interop mode 1 — Standard-based interop mode that requires all other vendors in the fabric to be in interop mode.
- Interop mode 2 — Brocade native mode (Core PID 0).
- Interop mode 3 — Brocade native mode (Core PID 1).
- Interop mode 4 — McData native mode. Before you configure Interop mode 4 (or remove the configuration), you must suspend the VSAN. You should unsuspend the VSAN only after you configure a VSAN-dependent switch WWN with the McData Organisational Unit Identifier (OUI) [08:00:88].
The no form of the vsan vsan-id interface command is not supported. To remove a VSAN membership of an interface (for example, interface fc1/8 from VSAN 7), you must assign the interface to another VSAN. The best practice is to assign the interface back to the default VSAN (VSAN 1).
Examples
This example shows how to create multiple fabrics sharing the same physical infrastructure and how to assign ports to VSANs:
switch-config-vsan-db# vsan 2
switch(config-vsan-db)# vsan 2 name TechDoc
switch(config-vsan-db)# vsan 2 loadbalancing src-dst-id
switch(config-vsan-db)# vsan 2 loadbalancing src-dst-ox-id
switch(config-vsan-db)# vsan 2 suspend
switch(config-vsan-db)# no vsan 2 suspend
switch(config-vsan-db)# end
This example shows how to suspend a VSAN and enable Interop mode 4:
switch(config-vsan-db)# vsan 100 suspend
switch(config-vsan-db)# vsan 100 interop 4
switch(config-vsan-db)# exit
This example shows how to configure a VSAN to create a Fibre Channel over Ethernet (FCOE)-VLAN to VSAN mapping:
This example shows how to remove interface fc2/1 from VSAN 7:
Related Commands
|
|
---|---|
Configures a WWN for a suspended VSAN that has interop mode 4 enabled. |
vsan database
To enter VSAN database mode to configure VSAN information and membership, use the vsan database command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
To exit from the VSAN database configuration mode, use the exit command.
Examples
This example shows how to enter the VSAN database configuration mode:
Related Commands
|
|
---|---|
Displays the Fibre Channel over Ethernet (FCoE) VLAN to VSAN mappings. |
|
wwn secondary-mac
To allocate a secondary MAC address to a SAN node, use the wwn secondary-mac command.
wwn secondary-mac wwn-id range address-range
Syntax Description
Secondary MAC address. The format is hh : hh : hh : hh : hh : hh. |
|
Command Modes
Command History
|
|
Usage Guidelines
This command cannot be undone.
Changes to the worldwide names are only performed as required. They should not be changed on a daily basis. These changes should be made by an administrator or individual who is completely familiar with switch operations.
Examples
This example shows how to allocate a secondary range of MAC addresses:
wwn vsan
To configure a WWN for a suspended VSAN that has interop mode 4 enabled, use the wwn vsan command. To discard the configuration, use the no form of this command.
no wwn vsan vsan-id vsan-wwn wwn
Syntax Description
VSAN WWN. The format is hh : hh : hh : hh : hh : hh : hh : hh. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command can succeed only if the following conditions are satisfied:
Examples
This example shows how to assign a WWN to a VSAN:
switch(config)# vsan database
switch(config-vsan-db)# vsan 100 suspend
switch(config-vsan-db)# exit
switch(config)# wwn vsan 100 vsan-wwn 20:64:08:00:88:0d:5f:81
Related Commands
zone clone
To clone a zone name, use the zone clone command.
zone clone current-zone-name new-zone-name vsan vsan-id
Syntax Description
Zone attribute group name. The name can be a maximum of 64 characters. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the no form of the zone name (configuration mode) command to delete the zone name.
Examples
This example shows how to create a clone of the original zone group called origZone into the clone zone group cloneZone on VSAN 45:
Related Commands
|
|
---|---|
zone commit
To commit zoning changes to a VSAN, use the zone commit command. To negate the command, use the no form of this command.
zone commit vsan vsan-id [ force ]
no zone commit vsan vsan-id [ force ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the no form of the zone commit command to clear a session lock on a switch where the lock originated.
Examples
This example shows how to commit zoning changes to VSAN 200:
Related Commands
|
|
---|---|
zone compact
To compact a zone database in a VSAN, use the zone compact command.
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
8000 zones are supported in a Cisco NX-OS switch.
If you attempt to merge VSANs, the merge fails if more than 2000 zones are present in a VSAN and the neighboring VSAN cannot support more than 2000 zones.
Activation fails if more than 2000 zones are present in the VSAN and one or more switches in the fabric cannot support more than 2000 zones.
Examples
This example shows how to compact a zone database in VSAN 1:
Related Commands
|
|
---|---|
Displays detailed analysis and statistical information about the zoning database. |
zone convert smart-zoning
To configure smart zoning convert commands, use the zone convert smart-zoning command in configuration mode.
zone convert smart-zoning {fcalias name fcalias-name vsan vsan-id | vsan vsan-id | zone name zone-name vsan vsan-id | zoneset name zoneset-name vsan vsan-id }
Syntax Description
Specifies the fcalias name. The maximum size is 64 characters. |
|
Specifies the zoneset name. The maximum size is 64 characters. |
|
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
The following example shows how to Specify the auto convert commands for a VSAN.
Related Commands
|
|
---|---|
Displays the status of the auto conversion that just happened. |
zone copy
To copy the active zone set to the full zone set, use the zone copy command. To negate the command or revert to the factory defaults, use the no form of this command.
zone copy active-zoneset full-zoneset [ include-auto-zones ] vsan vsan-id
zone copy vsan vsan-id active-zoneset { bootflash: | ftp: | full-zoneset | scp: | sftp: | tftp: | volatile: }
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to copy the active zone set to the full zone set:
This example shows how to copy the active zone set in VSAN 3 to a remote location using SCP:
Related Commands
|
|
---|---|
zone default-zone
To define whether a default zone (assigned to nodes not assigned to a created zone) permits or denies access to all nodes in the default zone, use the zone default-zone command. To negate the command or revert to the factory defaults, use the no form of this command.
zone default-zone permit vsan vsan-id
no zone default-zone permit vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Use the zone default-zone permit vsan command to define the operational values for the default zone in a VSAN. This command applies to existing VSANs; it has no effect on VSANs that have not yet been created.
Use the system default zone default-zone permit command to use the default values defined for the default zone for all VSANs. The default values are used when you initially create a VSAN and it becomes active.
Examples
This example shows how to permit the default zoning in VSAN 2:
Related Commands
|
|
---|---|
zone merge-control restrict vsan
To restrict zone database merging, use the zone merge-control restrict vsan command. To disable this feature, use the no form of this command.
zone merge-control restrict vsan vsan-id
no zone merge-control restrict vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
If merge control is set to restricted and the two databases are not identical, the merge fails and Inter-Switch Links (ISLs) between the switches become isolated.
Examples
This example shows how to set the zone merge control for VSAN 10 to restricted:
Related Commands
|
|
---|---|
zone mode enhanced
To enable enhanced zoning for a VSAN, use the zone mode enhanced command. To disable this feature, use the no form of this command.
zone mode enhanced vsan vsan-id
no zone mode enhanced vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Before using the zone mode enhanced command, verify that all switches in the fabric are capable of working in enhanced zoning mode. If one or more switches are not capable of working in enhanced zoning mode, the request to enable enhanced zoning mode is rejected.
When the zone mode enhanced vsan command completes successfully, the software automatically starts a session, distributes the zoning database using the enhanced zoning data structures, applies the configuration changes, and sends a Release Change Authorization (RCA) to all switches in the fabric. All switches in the fabric then enable enhanced zoning mode.
Examples
This example shows how to enable enhanced zoning mode for VSAN 10:
Related Commands
|
|
---|---|
zone name (configuration mode)
To create a zone, use the zone name command. To negate the command or revert to the factory defaults, use the no form of this command.
zone name zone-name vsan vsan-id
member
zone name zone-name vsan vsan-id
no member
no zone name zone-name vsan vsan-id
Syntax Description
Name of the zone. The name can be a maximum of 64 characters. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Zones are assigned to zone sets. Zone sets are then activated from one switch and propagate across the fabric to all switches. Zones allow security by permitting and denying access between nodes (hosts and storage). Enter the zone name commands from the configuration mode. Configure a zone for a VSAN from the config-zone mode.
Use the show wwn switch command to retrieve the switch world wide name (sWWN). If you do not provide an sWWN, the software automatically uses the local sWWN.
Examples
This example shows how to configure attributes for the specified zone (Zone1) based on the member type (pWWN, fabric pWWN, FC ID, or Fibre Channel alias) and value specified:
switch(config-zone)# member device-alias device1
This example shows how to configure the members for the specified zone (Zone2) based on the member type (pWWN, fabric pWWN, FCID, or Fibre Channel alias) and value specified:
switch(config-zone)# member fcalias Payroll
switch(config-zone)# member domain-id 2 portnumber 23
Related Commands
|
|
---|---|
zone name (zone set configuration mode)
To configure a zone in a zone set, use the zone name command. To delete the zone from the zone set, use the no form of this command.
Syntax Description
Name of the zone. The name can be a maximum of 64 characters. |
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to configure a zone in a zone set:
This example shows how to delete a zone from a zone set:
Related Commands
|
|
---|---|
zone rename
To rename a zone, use the zone rename command.
zone rename current-name new-name vsan vsan-id
Syntax Description
Current fcalias name. The name can be a maximum of 64 characters. |
|
New fcalias name. The name can be a maximum of 64 characters. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to rename a zone:
Related Commands
|
|
---|---|
zone rscn address-format port
To switch the port-address format, use th zone rscn address-format port command. To revert to the default format, use the no form of this command.
zone rscn address-format port vsan vsan-id
no zone rscn address-format port vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Examples
This example shows how to switch the port-address format:
Related Commands
|
|
---|---|
zone smart-zoning enable
To enable the smart zoning feature, use the zone smart-zoning enable command. To disbale this feature, use the no form of this command.
zone smart-zoning enable vsan vsan-id
no zone smart-zoning enable vsan vsan-id
Syntax Description
Defaults
Command Modes
Command History
|
|
Usage Guidelines
Examples
The following example shows how to enable the smart zoning feature on the given VSAN:
Related Commands
|
|
---|---|
zoneset (configuration mode)
To group zones under one zone set, use the zoneset command. To negate the command or revert to the factory defaults, use the no form of this command.
zoneset { activate [ name zoneset-name ] vsan vsan-id | capability change-abort distribute full | clone zoneset-currentName zoneset-cloneName vsan vsan-id | distribute full vsan vsan-id name zoneset-name vsan vsan-id | rename current-name new-name vsan vsan-id }
no zoneset { activate [ name zoneset-name ] vsan vsan-id | capability change-abort distribute full | clone zoneset-currentName zoneset-cloneName vsan vsan-id | distribute full vsan vsan-id name zoneset-name vsan vsan-id | rename current-name new-name vsan vsan-id }
Syntax Description
(Optional) Zone set name. The name can be a maximum of 64 alphanumeric characters. |
|
Clones a zone set from the current name to a new name. The name can be a maximum of 64 characters. |
|
Command Default
Command Modes
Command History
|
|
Usage Guidelines
Zones are activated by activating the parent zone set.
Use the zoneset distribute full vsan command to distribute the operational values for the default zone to all zone sets in a VSAN. If you do not want to distribute the operation values, use the system default zone distribute full command to distribute the default values.The default values are used when you initially create a VSAN and it becomes active.
The zoneset distribute full vsan command applies to existing VSANs; it has no effect on VSANs that have not yet been created.
Examples
This example shows how to activate a zone set called zSet1 in VSAN 333:
This example shows how to clone a zone set called zSet1 into a new zone set called zSetClone in VSAN 45:
This example shows how to distribute the operational values for the default zone to all zone sets in VSAN 22:
Related Commands
|
|
---|---|
zoneset (EXEC mode)
To merge zone set databases, use the zoneset command.
zoneset { distribute | export | import interface { vfc vfc-id } vsan vsan-id
Syntax Description
Command Default
Command Modes
Command History
|
|
Usage Guidelines
You can also enter the zoneset import and the zoneset export commands for a range of VSANs.
The zoneset distribute vsan vsan-id command is supported in interop 2 and interop 3 modes but not in interop 1 mode.
Examples
This example shows how to import the zone set database from the adjacent switch connected through the VSAN 2 interface:
This example shows how to export the zone set database to the adjacent switch connected through VSAN 5:
This example shows how to distribute the zone set in VSAN 333:
Related Commands
|
|
---|---|