Syntax Description

address-allocation

(Optional) Displays statistics for the FC ID allocation.

cache

(Optional) Reassigns the FC IDs for a device (disk or host) that exited and reentered the fabric for the principal switch. In the cache content, VSAN refers to the VSAN that contains the device, WWN refers to the device that owned the FC IDs, and mask refers to a single or entire area of FC IDs.

allowed

(Optional) Displays a list of allowed domain IDs.

domain-list

(Optional) Displays a list of domain IDs provided by the principal switch.

fcidpersistent

(Optional) Displays persistent FC IDs (across reboot).

pending

(Optional) Displays the pending configuration.

pending-diff

(Optional) Displays the difference between the running configuration and the pending configuration.

session-status

(Optional) Displays the last action performed by FC domain.

vsanvsan-id

(Optional) Specifies a VSAN ID. The range is 1 to 4093.

statistics

(Optional) Displays the statistics of FC domain.

interface

(Optional) Specifies an interface.

fcslot/port

(Optional) Specifies a Fibre Channel interface.

san-port-channelport

(Optional) Specifies a SAN port channel interface. The range is 1 to 128.

status

(Optional) Displays all VSAN-independent information in FC domain.

Command Default

None

Command Modes

EXEC mode.

Command History

Release

Modification

4.0(0)N1(1a)

This command was introduced.

Usage Guidelines

When you enter the show fcdomain with no arguments, all VSANs are displayed. The VSANs should be active or you will get an error.

Examples

The following example displays the fcdomain information for VSAN 1:

switch# show fcdomain vsan 1

The following example displays the fcdomain domain-list information for VSAN 76:

Displays FLOGI database entries based on the VSAN ID. The range is 1 to 4093.

Command Default

None

Command Modes

EXEC mode.

Command History

Release

Modification

4.0(0)N1(1a)

This command was introduced.

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 FCID. Use the show flogi database command to verify if a storage device is displayed in the fabric login (FLOGI) table as in the examples below. 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

The following example displays details on the FLOGI database:

switch# show flogi database

The following example displays the FLOGI interface:

switch# show flogi database interface fc 2/3

The following example displays the FLOGI VSAN:

switch# show flogi database vsan 1

The following example displays the FLOGI for a specific FCID:

switch# show flogi database fcid 0xef02e2

Related Commands

Command

Description

show fcns database

Displays all the local and remote name server entries

show fspf

To display global Fibre Shortest Path First (FSPF) routing information, use the show fspf command.

Syntax Description

Command Default

Command Modes

Command History

Usage Guidelines

The show npv traffic-map command is available only when the switch is in NPV mode.

Examples

The following example displays the current status of NPV:

switch# show npv traffic-map

Related Commands

Command

Description

show npv flogi-table

Displays the information about NPV FLOGI session.

show port index-allocation

To display port index allocation information, use the show port index-allocation command.

show port index-allocation [startup]

Syntax Description

startup

(Optional) Displays port index allocation information at startup.

Command Default

None

Command Modes

EXEC mode.

Command History

Release

Modification

4.0(0)N1(1a)

This command was introduced.

Note On a switch where the maximum number of port indexes is 256, any module that exceeds that limit does not power up. There is no startup module index distribution for the Cisco Nexus 5000 Series switch.

Examples

The following example displays port index allocation information:

switch# show port index-allocation

show port-security

To display configured port security feature information, use the show port-security command.

(Optional) Displays the last number of lines in the database. The range is 1 to 100.

Command Default

None

Command Modes

EXEC mode.

Command History

Release

Modification

4.0(0)N1(1a)

This command was introduced.

Usage Guidelines

The access information for each port can be individually displayed. If you specify the fabric world wide name (fWWN) or interface options, all devices that are paired in the active database (at that point) with the given fWWN or the interface are displayed.

When you enter the show port-security command with the lastnumber option, only the specified number of entries that appear first are displayed.

Examples

The following example displays the contents of the port security database:

switch# show port-security database

The following example displays the output of the active port security database in VSAN 1:

switch# show port-security database vsan 1

The following example displays the active database:

switch# show port-security database active

The following example displays the wildcard fWWN port security in VSAN 1:

Syntax Description

Displays the difference between the active and the pending configuration.

scr-table

Displays the State Change Registration (SCR) table.

session status

Displays RSCN session status.

statistics

Displays RSCN statistics.

Command Default

None

Command Modes

EXEC mode.

Command History

Release

Modification

4.0(0)N1(1a)

This command was introduced.

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

The following example displays RSCN information:

switch# show rscn scr-table vsan 1

The following example displays RSCN statistics:

switch# show rscn statistics vsan 1

The following example shows the RSCN event timeout value configured on VSAN 1:

switch# show rscn event-tov vsan 1

The following example shows the difference between the active RSCN configuration and the pending RSCN configuration on VSAN 1:

switch# show rscn pending-diff vsan 1

show san-port-channel

Use the show san-port-channel command to view information about existing SAN port channel configurations.

Table 9-4 describes the fields displayed in the output of a show zone analysis command for the full zoning database.

Table 9-4 show zone analysis Field Descriptions for the Full Zoning Database

Field

Description

Last updated at

Displays a time stamp showing when the full zoning database was last updated.

Last Updated by

Displays the agent that most recently modified the full zoning database. The agent can be one of the following three types:

•Local: indicates that the full database was last modified locally through a configuration change from one of the following applications:

–CLI—The full zoning database was modified by the user from the command line interface.

–SNMP—The full zoning database was modified by the user through the Simple Network Management Protocol (SNMP).

–GS—The full zoning database was modified from the Generic Services (GS) client.

–CIM—The full zoning database was modified by the applications using the Common Information Model (CIM).

–INTERNAL—The full zoning database was modified as a result of an internal activation either from Inter-VSAN Routing (IVR) or from the IP storage services manager.

•Merge—Indicates that the full database was last modified by the Merge protocol. In this case, the interface on which the merge occurred is also displayed.

•Remote—Indicates that the full database was last modified by the Change protocol, initiated by a remote switch, when the full zone set distribution was enabled. The domain, IP address, and switch name of the switch initiating the change are also displayed.

Note The switch name is displayed on the next line, aligned with the domain, only if the switch name is set. The default switch name switch and the ip-address are not displayed.

Num zonesets

Displays the total number of zone sets in the database.

Num zones

Displays the total number of zones in the database, including unassigned zones.

Num aliases

Displays the total number of aliases in the database, including unassigned FC aliases.

Num attribute groups

Displays the total number of attribute groups in the database. This field applies only when enhanced zoning is used.

Formatted database size

Displays the total size of the full database when formatted to be sent over the wire.

The formatted database size is displayed in kilobytes in this format: < X KB / Y KB, as in the following example:

Formatted database size: < 1 KB/2000 KB

In this example, the formatted database size is less than 1 KB out of the maximum size of 2000 KB.

Unassigned zones

Displays all the unassigned zones in the VSAN. Only the names of the zones are displayed. The details about the members of the zone are not displayed in this section.