Cisco Nexus 5000 Series Command Reference
Fibre Channel Show Commands
Downloads: This chapterpdf (PDF - 310.0KB) The complete bookPDF (PDF - 3.14MB) | Feedback

Fibre Channel Show Commands

Table Of Contents

Fibre Channel Show Commands

show cfs

show debug npv

show device-alias

show fabric-binding

show fc2

show fcalias

show fcdomain

show fcdroplatency

show fcflow stats

show fcid-allocation

show fcns database

show fcns statistics

show fcoe

show fcroute

show fcs

show fcsp

show fctimer

show fdmi

show flogi

show fspf

show in-order-guarantee

show lldp

show loadbalancing

show npv flogi-table

show npv status

show npv traffic-map

show port index-allocation

show port-security

show rlir

show rscn

show san-port-channel

show scsi-target

show topology

show trunk protocol

show vsan

show wwn

show zone

show zone analysis

show zoneset


Fibre Channel Show Commands


This chapter describes the Cisco NX-OS Fibre Channel show commands available on Cisco Nexus 5000 Series switches.

show cfs

To display Cisco Fabric Services (CFS) information, use the show cfs command.

show cfs {application [name app-name] | lock [name app-name [vsan vsan-id]] | merge status [name app-name [vsan vsan-id]] | peers [name app-name [vsan vsan-id] | regions | status}

Syntax Description

application

Displays locally registered applications.

name app-name

(Optional) Specifies a local application information by name. Maximum length is 64 characters.

lock

Displays the state of application logical or physical locks.

vsan vsan-id

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

merge status

Displays CFS merge information.

peers

Displays logical or physical CFS peers.

regions

Displays the CFS regions.

status

Displays if CFS distribution is enabled or disabled. Enabled is the default configuration.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example shows how to display CFS physical peer information for all applications:

switch# show cfs peers 

The following example shows how to display CFS information for all applications on the switch:

switch# show cfs application 


Note The show cfs application command displays only those applications that are registered with CFS. Conditional services that use CFS do not appear in the output unless those services are running.


The following example shows how to display CFS information for the device alias application:

switch# show cfs application name device-alias 

The following example shows how to display CFS merge operation information for the device alias application:

switch# show cfs merge status device-alias 

The following example shows whether or not CFS distribution is enabled:

switch# show cfs status 

show debug npv

To display the N Port Virtualization (NPV) debug commands configured on the switch, use the show debug npv command.

show debug npv

Syntax Description

This command has no other keywords or arguments.

Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

The show debug npv command is available only when the switch is in NPV mode.

Examples

The following example shows all the NPV debug commands available on the switch:

switch# show debug npv 

Related Commands

Command
Description

debug npv

Enables debugging NPV configurations.


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

database

Displays the entire device name database.

merge status

Displays the device merge status.

name device-name

Displays device name database information for a specific device name.

pending

Displays the pending device name database information.

pending-diff

Displays pending differences in the device name database information.

pwwn pwwn-id

Displays device name database information for a specific pWWN. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal digit.

session status

Displays the device name session status.

statistics

Displays device name database statistics.

status

Displays the device name database status.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

To make use of fcaliases as device names instead of using the cryptic device name, add only one member per fcalias.

Examples

The following example shows how to display the contents of the device alias database:

switch# show device-alias database 

The following example shows how to display all global fcaliases and all VSAN dependent fcaliases:

switch# show device-alias name efg 

The following example shows how to display all global fcaliases and all VSAN dependent fcaliases:

switch# show device-alias statistics 

Related Commands

Command
Description

device-alias name

Configures device alias names.

device-alias database

Configures device alias information.

device-alias distribute

Enables device alias CFS distribution.


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

database

Displays configured database information.

active

(Optional) Displays the active database configuration information.

vsan vsan-id

(Optional) Specifies the FICON-enabled VSAN ID. The range is 1 to 4093.

efmd statistics

Displays Exchange Fabric Membership Data (EFMD) statistics.

statistics

Displays fabric binding statistics.

status

Displays fabric binding status.

violations

Displays violations in the fabric binding configuration.

last number

(Optional) Specifies recent violations. 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.


Examples

The following example displays configured fabric binding database information:

switch# show fabric-binding database 

The following example displays active fabric binding information:

switch# show fabric-binding database active 

The following example displays active VSAN-specific fabric binding information:

switch# show fabric-binding database active vsan 61 

The following example displays configured VSAN-specific fabric binding information:

switch# show fabric-binding database vsan 4 

The following example displays fabric binding statistics:

switch# show fabric-binding statistics 

The following example displays fabric binding status for each VSAN:

switch# show fabric-binding status 

The following example displays EFMD statistics:

switch# show fabric-binding efmd statistics 

The following example displays EFMD statistics for a specified VSAN:

switch# show fabric-binding efmd statistics vsan 4 

The following example displays fabric binding violations:

switch# show fabric-binding violations 

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

bind

Displays FC2 socket bindings.

classf

Displays FC2 classf sessions.

exchange

Displays FC2 active exchanges.

exchresp

Displays FC2 active responder exchanges.

flogi

Displays FC2 FLOGI table.

nport

Displays FC2 local N ports.

plogi

Displays FC2 PLOGI sessions.

plogi_pwwn

Displays FC2 PLOGI pWWN entries.

port

Displays FC2 physical port table.

brief

Displays FC2 physical port table in brief format.

socket

Displays FC2 active sockets.

sockexch

Displays FC2 active exchanges for each socket.

socknotify

Displays FC2 local N port PLOGI/LOGO notifications for each socket.

socknport

Displays FC2 local nports per each socket.

vsan

Displays FC2 VSAN table.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays FC2 active socket information:

switch# show fc2 socket 

The following example displays FC2 socket binding information:

switch# show fc2 bind 

The following example displays FC2 local N port information:

switch# show fc2 nport 

The following example displays FC2 PLOGI session information:

switch# show fc2 plogi 

The following example displays FC2 physical port information:

switch# show fc2 port 

The following example displays FC2 local N port PLOGI notifications for each socket:

switch# show fc2 socknotify 

The following example displays FC2 local N ports for each socket:

switch# show fc2 socknport 

The following example displays FC2 VSAN table:

switch# show fc2 vsan 

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

name fcalias-name

(Optional) Displays fcalias information for a specific name. The maximum length is 64.

pending

(Optional) Displays pending fcalias information.

vsan vsan-id

(Optional) Displays fcalias information for a VSAN. The range is 1 to 4093.


Command Default

Displays a list of all global fcaliases and all VSAN-dependent fcaliases.

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

To make use of fcaliases as device names instead of using the cryptic device name, add only one member per fcalias.

Examples

The following example displays fcalias configuration information:

switch# show fcalias vsan 1 

Related Commands

Command
Description

fcalias name

Configures fcalias names.


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

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.

fcid persistent

(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.

vsan vsan-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.

fc slot/port

(Optional) Specifies a Fibre Channel interface.

san-port-channel port

(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:

switch# show fcdomain domain-list vsan 76 
 
Number of domains: 3 
Domain ID              WWN 
---------    ----------------------- 
0xc8(200)    20:01:00:05:30:00:47:df [Principal] 
 0x63(99)    20:01:00:0d:ec:08:60:c1 [Local] 
 0x61(97)    50:00:53:0f:ff:f0:10:06 [Virtual (IVR)] 

Table 9-1 describes the significant fields shown in the show fcdomain domain-list command output.

Table 9-1 show fcdomain Field Descriptions

Field
Description

Domain ID

Lists the domain IDs corresponding to the WWN.

WWN

Indicates the WWN of the switch (physical or virtual) that requested the corresponding domain ID.

Principal

Indicates which row of the display lists the WWN and domain ID of the principal switch in the VSAN.

Local

Indicates which row of the display lists the WWN and domain ID of the local switch (the switch where you entered the show fcdomain domain-list command).

Virtual (IVR)

Indicates which row of the display lists the WWN of the virtual switch used by the Inter-VSAN Routing (IVR) manager to obtain the domain ID.


The following example displays the allowed domain ID lists:

switch# show fcdomain allowed vsan 1 

The following example shows the status of CFS distribution for allowed domain ID lists:

switch# show fcdomain status 

The following example displays pending configuration changes:

switch# show fcdomain pending vsan 10 

The following example displays the differences between the pending configuration and the current configuration:

switch# show fcdomain pending-diff vsan 10 

The following example displays the status of the distribution session:

switch# show fcdomain session-status vsan 1 

Related Commands

Command
Description

fcdomain

Configures the Fibre Channel domain feature.


show fcdroplatency

To display the configured Fibre Channel latency parameters, use the show fcdroplatency command.

show fcdroplatency [network | switch]

Syntax Description

network

(Optional) Network latency in milliseconds.

switch

(Optional) Switch latency in milliseconds.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays the configured Fibre Channel latency parameters:

switch# show fcdroplatency  

show fcflow stats

To display the configured Fibre Channel flow (fcflow) information, use the show fcflow stats command.

show fcflow stats [aggregated | usage] [index flow-index]

Syntax Description

aggregated

(Optional) Displays aggregated fcflow statistics.

usage

(Optional) Displays flow index usage

index flow-index

(Optional) Specifies an fcflow index.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays aggregated fcflow details:

switch# show fcflow stats aggregated 

The following example displays fcflow details:

switch# show fcflow stats 

The following example displays fcflow index usage:

switch# show fcflow stats usage 

show fcid-allocation

Use the show fcid allocation command to display the Fibre Channel area list of company IDs.

show fcid-allocation area | company-id-from-wwn wwn [company-id]

Syntax Description

area

Selects the auto area list of company IDs.

company-id-from-wwn wwn

Selects company ID from the specified world wide name (WWN).

company-id

(Optional) Selects the individual company ID (also know as Organizational Unit Identifier, or OUI) to display.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example shows the Fibre Channel area company list of company IDs:

switch# show fcid-allocation area  
Fcid area allocation company id info: 
 
    00:50:2E 
    00:50:8B 
    00:60:B0 
    00:A0:B8 
    00:E0:69 
    00:E0:8B 
    00:32:23 + 
 
 
Total company ids: 7 
+ - Additional user configured company ids. 
* - Explicitly deleted company ids from default list. 

Table 9-2 describes the significant fields shown in the display.

Table 9-2 show fcid-allocation area company Field Descriptions

Field
Description

+

Indicates a company ID added to the default list.

-

Indicates a company ID deleted from the default list.


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}

Syntax Description

detail

Displays all objects in each entry.

vsan vsan-id

(Optional) Displays entries for a specified VSAN ID. The range is 1 to 4093.

domain domain-id

Displays entries in a domain.

detail

(Optional) Displays detailed entries for the domain.

fcid fcid-id

Displays entry for the given port.

local

Displays local entries.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


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 using the show fcns database command.

Examples

The following example displays the contents of the FCNS database:

switch# show fcns database 

The following example displays the detailed contents of the FCNS database:

switch# show fcns database detail 

The following example displays the management VSAN (VSAN 2):

switch# show fcns database vsan 2 

The following example displays the database for all configured VSANs:

switch# show fcns database 

Related Commands

Command
Description

fcns

Configuration-mode command for 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

detail

(Optional) Displays detailed statistics.

vsan vsan-id

(Optional) Displays statistics for the specified 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.


Examples

The following example displays statistical information for a specified VSAN:

switch# show fcns statistics 

show fcoe

To display the status of Fibre Channel over Ethernet (FCoE) on the switch, use the show fcoe command.

show fcoe

Syntax Description

This command has no other keywords or arguments.

Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays the FCoE status:

switch# show fcoe 

show fcroute

Use the show fcroute command to view specific information about existing Fibre Channel and FSPF configurations.

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

distance

Displays FC route preference.

label

Displays label routes.

label

(Optional) Displays label routes for the specified label.

vsan vsan-id

(Optional) Specifies the ID of the VSAN (from 1 to 4093).

multicast

Displays FC multicast routes.

fc-id

(Optional) Specifies the Fibre Channel ID.

summary

Displays the FC routes summary.

unicast

Displays FC unicast routes.

host

Displays unicast routes for the specified host.

fc-mask

Displays unicast routes for hosts that match the range of FC IDs that is specified by the mask.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

When the number of routes are displayed in the command output, both visible and hidden routes are included in the total number of routes.

Examples

The following example displays administrative distance:

switch# show fcroute distance 

The following example displays multicast routing information:

switch# show fcroute multicast 

The following example displays FCID information for a specified VSAN:

switch# show fcroute multicast vsan 3 

The following example displays FCID and interface information for a specified VSAN:

switch# show fcroute multicast 0xffffff vsan 2 

The following example displays unicast routing information:

switch# show fcroute unicast  

The following example displays unicast routing information for a specified VSAN:

switch# show fcroute unicast vsan 4 

The following example displays unicast routing information for a specified FCID:

switch# show fcroute unicast 0x040101 0xffffff vsan 4 

The following example displays route database information:

switch# show fcroute summary 

The following example displays route database information for a specified VSAN:

switch# show fcroute summary vsan 4 

show fcs

Use the show fcs commands to display the status of the fabric configuration.

show fcs {database [vsan vsan-id] | ie [nwwn wwn] vsan vsan-id | platform [name string] vsan vsan-id | port [pwwn wwn] vsan vsan-id] | statistics vsan vsan-id | vsan}

Syntax Description

database

Displays local database of FCS.

vsan vsan-id

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

ie

Displays interconnect element objects information.

nwwn wwn

(Optional) Specifies a node WWN ID. The format is hh:hh:hh:hh:hh:hh:hh:hh.

platform

Displays platform objects information.

name string

(Optional) Specifies a platform name. Maximum length is 255 characters.

port

Displays port objects information.

pwwn wwn

(Optional) Specifies a port WWN ID. The format is hh:hh:hh:hh:hh:hh:hh:hh.

statistics

Displays statistics for FCS packets.

vsan

Displays list of all the VSANs.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays FCS database information:

switch# show fcs database 

The following example displays interconnect element object information for a specific VSAN:

switch# show fcs ie vsan 1 

This command displays interconnect element object information for a specific WWN:

switch# show fcs ie nwwn 20:01:00:05:30:00:16:df vsan 1 

This command displays platform information:

switch# show fcs platform name SamplePlatform vsan 1 

This command displays platform information within a specified VSAN:

switch# show fcs platform vsan 1 

This command displays FCS port information within a specified VSAN:

switch# show fcs port vsan 24 

This command displays ports within a specified WWN:

switch# show fcs port pwwn 20:51:00:05:30:00:16:de vsan 24 

This command displays FCS statistics:

switch# show fcs statistics 

show fcsp

To display the status of the Fibre Channel Security Protocol (FC-SP) configuration, use the show fcsp commands.

show fcsp [asciiwwn ascii-wwn | dhchap [database] | interface {fc slot/port | vfc vfc-id} [statistics | wwn]]

Syntax Description

asciiwwn ascii-wwn

(Optional) Displays the ASCII representation of the WWN used with AAA server.

dhchap

(Optional) Displays the DHCHAP hash algorithm status.

database

(Optional) Displays the contents of the local DHCHAP database.

interface

(Optional) Displays the FC-SP settings for a Fibre Channel or Fibre Channel interface.

fc slot/port

Specifies a Fibre Channel interface.

vfc vfc-id

(Optional) Specifies a virtual Fibre Channel interface.

statistics

(Optional) Displays the statistics for the specified interface.

wwn

(Optional) Displays the FC-SP identity of the other device.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays DHCHAP configurations in FC interfaces:

switch# show fcsp interface fc2/3 

The following example displays DHCHAP statistics for a FC interfaces:

switch# show fcsp interface fc2/3 statistics 

The following example displays the FC-SP WWN of the device connected through a specified interface:

switch# show fcsp interface fc 2/1 wwn 

The following example displays hash algorithm and DHCHAP groups configured for the local switch:

switch# show fcsp dhchap 

The following example displays the DHCHAP local password database:

switch# show fcsp dhchap database 

The following example displays he ASCII representation of the device WWN:

switch# show fcsp asciiwwn 30:11:bb:cc:dd:33:11:22 

Related Commands

Command
Description

fcsp enable

Enables the FC-SP feature for this switch.


show fctimer

To view the Fibre Channel timers (fctimer), 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

vsan vsan-id

(Optional) Displays information for a VSAN. The range is 1 to 4093.

d_s_tov

(Optional) Displays the distributed services time out value (D_S_TOV) in milliseconds.

e_d_tov

(Optional) Displays the error detection time out value (E_D_TOV) in milliseconds.

f_s_tov

(Optional) Displays the fabric stability time out value (F_S_TOV) in milliseconds.

r_a_tov

(Optional) Displays the resource allocation time out value (R_A_TOV) in milliseconds.

last action status

(Optional) Displays the status of the last CFS commit or discard operation.

pending

(Optional) Displays the status of pending fctimer commands.

pending-diff

(Optional) Displays the difference between pending database and running config.

session status

(Optional) Displays the state of fctimer CFS session.

status

(Optional) Displays the Fibre Channel timer status.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays configured global TOVs:

switch# show fctimer 

The following example displays configured TOVs for a specified VSAN:

switch# show fctimer vsan 10

Related Commands

Command
Description

fctimer

Configures fctimer parameters.


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

database

Displays the FDMI database contents.

detail

(Optional) Specifies detailed FDMI information.

hba-id hba-id

(Optional) Displays detailed information for the specified HBA entry.

vsan vsan-id

(Optional) Specifies FDMI information for the specified VSAN. The range is 1 to 4093.

suppress-updates

Displays the VSANs that are configured to suppress updates.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays all HBA management servers:

switch# show fdmi database 

The following example displays VSAN1-specific FDMI information:

switch# show fdmi database detail vsan 1 

The following example displays details for the specified HBA entry:

switch# show fdmi database detail Hba-id 21:01:00:e0:8b:2a:f6:54 vsan 1 

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

auto-area-list

Displays the list of Organizational Unit Identifiers (OUIs) that are allocated areas.

database

Displays information about FLOGI sessions.

fcid fcid-id

Displays FLOGI database entries based on the FCID allocated. The format is 0xhhhhhh.

interface

Displays FLOGI database entries based on the logged in interface.

fc slot/port

Specifies the Fibre Channel or virtual Fibre Channel interface by slot and port number.

vfc vfc-id

Specifies a virtual Fibre Channel interface.

vsan vsan-id

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.

show fspf [database [vsan vsan-id] [detail | domain domain-id detail] | interface | vsan vsan-id interface {fc slot/port | san-port-channel port-channel}]

Syntax Description

database

(Optional) Displays the FSPF link state database.

vsan vsan-id

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

detail

(Optional) Displays detailed FSPF information.

domain domain-id

(Optional) Specifies the domain of the database. The range is 0 to 255.

interface

(Optional) Specifies the FSPF interface.

fc slot/port

Specifies the Fibre Channel interface to configure.

san-port-channel port-channel

Specifies the port channel interface. The range is 1 to 256.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

If you enter the command without parameters, all the entries in the database are displayed.

Examples

The following example displays FSPF interface information:

switch# show fspf interface vsan 1 fc2/1 

The following example displays FSPF database information:

switch# show fspf database vsan 1 

This command displays FSPF information for a specified VSAN:

switch# show fspf vsan 1 

show in-order-guarantee

To display the present configured state of the in-order delivery feature, use the show in-order-guarantee command.

show in-order-guarantee

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays the present configuration status of the in-order delivery feature:

switch# show in-order-guarantee 

show lldp

To display information about the Link Layer Discovery Protocol (LLDP) configuration on the switch, use the show lldp command.

show lldp {interface {ethernet slot/port | mgmt intf-no} | neighbors [detail | interface] | timers | traffic [interface {ethernet slot/port | mgmt intf-no}]}

Syntax Description

interface

Displays LLDP interface information, or LLDP neighbor information on an interface.

ethernet slot/port

Displays the configuration information of the Ethernet IEEE 802.3z interface. The slot number is from 1 to 255, and the port number is from 1 to 128.

mgmt intf-no

Displays the configuration information of the management interface. The management interface number is 0.

neighbors

Displays information about LLDP neighbors.

detail

(Optional) Displays the detailed information about LLDP neighbors.

timers

Displays information about LLDP timers.

traffic

Displays the LLDP counters configured on the switch.


Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

This example shows how to display LLDP interface information:

switch# show lldp traffic interface ethernet 1/1 
LLDP interface traffic statistics:

    Total frames transmitted: 7490
    Total entries aged: 0
    Total frames received: 7458
    Total frames received in error: 0
    Total frames discarded: 0
    Total unrecognized TLVs: 0
switch# 

This example shows how to display LLDP management interface information:

switch# show lldp traffic interface mgmt 0 
LLDP interface traffic statistics:

    Total frames transmitted: 0
    Total entries aged: 0
    Total frames received: 0
    Total frames received in error: 0
    Total frames discarded: 0
    Total unrecognized TLVs: 0
switch#

This example shows how to display LLDP timers configured on the switch:

switch# show lldp timers 
LLDP Timers:

    Holdtime in seconds: 120
    Reinit-time in seconds: 2
    Transmit interval in seconds: 30
switch#

This example shows how to display LLDP neighbor information:

switch# show lldp neighbors 
Capability codes:
  (R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
  (W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Local Intf  Chassis ID        Port ID        Hold-time   Capability
Eth1/1      000d.eca3.6080    Eth1/1            120      B
Eth1/2      000d.eca3.6080    Eth1/2            120      B
Eth1/3      000d.eca3.6080    Eth1/3            120      B
Eth1/4      000d.eca3.6080    Eth1/4            120      B
Eth1/7      000d.ecf2.0880    Eth1/7            120      B
Eth1/8      000d.ecf2.0880    Eth1/8            120      B
Eth1/9      000d.ecf2.0b40    Eth1/9            120      B
Eth1/10     000d.ecf2.0b40    Eth1/10           120      B
switch#

This example shows how to display LLDP information for a specified interface:

switch# show lldp interface ethernet 1/1 
Interface Information:
  Enable (tx/rx/dcbx): Y/Y/Y    Port Mac address: 00:0d:ec:b2:30:c8

Peer's LLDP TLVs:
Type Length Value
---- ------ -----
001  007    04000dec a36080
002  007    05457468 312f31
003  002    0078
004  009    4e354b2d 506f7274 00
005  013    45756765 6e652d4e 354b2d32 00
006  010    4e354b2d 53776974 6368
007  004    00040004
008  012    05010ac1 8303021a 00000000
128  055    001b2102 020a0000 00000001 00000001 06060000 80000808 080a0000
            80008906 001b2108 04110000 80000001 00003232 00000000 000002
128  005    00014201 01
128  006    0080c201 0001
000  000
switch#

This example shows how to display LLDP traffic information:

switch# show lldp traffic 
LLDP traffic statistics:

    Total frames transmitted: 89743
    Total entries aged: 0
    Total frames received: 59300
    Total frames received in error: 0
    Total frames discarded: 0
    Total unrecognized TLVs: 0
switch#

Related Commands

Command
Description

lldp

Configures the global LLDP options on the switch.

lldp (Interface)

Configures the LLDP feature on an interface.


show loadbalancing

To display load-balancing status for specific unicast flows, use the show loadbalancing command.

show loadbalancing vsan vsan-id source-fcid dest-fcid [exchange-id]

Syntax Description

vsan vsan-id

Displays FLOGI database entries based on the FCID allocated. The format is 0xhhhhhh.

source-fcid

Displays loadbalancing status for the specified source FCID. The format is 0xhhhhhh.

dest-fcid

Displays loadbalancing status for the specified destination FCID. The format is 0xhhhhhh.

exchange-id

(Optional) Displays loadbalancing status for the specified exchange. The format is 0xhhhhhh.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays the load-balancing information for the specified source and destination in VSAN 3:

switch# show loadbalancing vsan 3 0x3345 0x2546 

show npv flogi-table

To display the information about N port virtualization (NPV) FLOGI session, use the show npv flogi-table command.

show npv flogi-table

Syntax Description

This command has no other keywords or arguments.

Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

The show npv flogi-table command is available only when the switch is in NPV mode.

Examples

The following example displays the information on NPV FLOGI session:

switch# show npv flogi-table 

Related Commands

Command
Description

show npv status

Displays the NPV current status.


show npv status

To display the N port virtualization (NPV) current status, use the show npv status command.

show npv status

Syntax Description

This command has no other keywords or arguments.

Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

The show npv status command is available only when the switch is in NPV mode.

Examples

The following example displays the current status of NPV:

switch# show npv status 

Related Commands

Command
Description

show npv flogi-table

Displays the information about NPV FLOGI session.


show npv traffic-map

To display N port virtualization (NPV) traffic maps, use the show npv traffic-map command.

show npv traffic-map

Syntax Description

This command has no other keywords or arguments.

Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


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.

show port-security {database [active [vsan vsan-id]] | fwwn fwwn-id vsan vsan-id | interface {fc slot/port | san-port-channel port} vsan vsan-id | vsan vsan-id] | pending [vsan vsan-id] | pending-diff [vsan vsan-id] | session status [vsan vsan-id] | statistics [vsan vsan-id] | status [vsan vsan-id] | violations [last count | vsan vsan-id]}

Syntax Description

database

Displays database-related port security information.

active

(Optional) Displays the activated database information.

vsan vsan-id

(Optional) Displays information for the specified database.

fwwn fwwn-id

Displays information for the specified fabric WWN.

interface

Displays information for an interface.

fc slot/port

Displays information for the specified Fibre Channel interface.

san-port-channel port

Displays information for the specified SAN port channel interface. The range is 1 to 128.

pending

Displays the server address pending configuration.

pending-diff

Displays the server address pending configuration differences with the active configuration.

session status

Displays the port security session status on a per VSAN basis.

statistics

Displays port security statistics.

status

Displays the port security status on a per VSAN basis.

violations

Displays violations in the port security database.

last count

(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 last number 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:

switch# show port-security database fwwn 20:85:00:44:22:00:4a:9e vsan 1 

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

switch# show port-security database fwwn 20:01:00:05:30:00:95:de vsan 1 

The following example displays the interface port information in VSAN 2.

switch# show port-security database interface fc 2/1 vsan 2 

The following example displays the port security statistics:

switch# show port-security statistics 

The following example displays the status of the active database and the autolearn configuration.

switch# show port-security status 

The following example displays the previous 100 violations.

switch# show port-security violations 

Related Commands

Command
Description

port-security

Configures port security parameters.


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

erl

Displays the Established Registration List.

vsan vsan-id

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

history

Displays the link incident history.

recent

Displays recent link incidents.

interface fc slot/port

Specifies a Fibre Channel interface.

portnumber port

Displays RLIR information for the specified port number.

statistics

Displays RLIR statistics for all VSANs or the specified VSAN.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays RLIR information for VSAN 1:

switch# show rlir erl vsan 1 

The following example displays RLIR statistics:

switch# show rlir statistics vsan 1 

show rscn

To display Registered State Change Notification (RSCN) information, use the show rscn command.

show rscn {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

event-tov

Displays the event timeout value.

vsan vsan-id

Specifies a VSAN ID. The range is 1 to 4093.

pending

Displays the pending configuration.

pending-diff

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.

show san-port-channel {compatibility-parameters | consistency [detail] | database [interface san-port-channel port] | summary | usage}

Syntax Description

compatibility-parameters

Displays compatibility parameters.

consistency

Displays the database consistency information of all modules.

detail

(Optional) Displays detailed database consistency information.

database

Displays SAN port channel database information.

interface san-port-channel port

(Optional) Specifies the SAN port channel number. The range is 1 to 256.

summary

Displays SAN port channel summary.

usage

Displays SAN port channel number usage.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays the SAN port channel summary:

switch# show san-port-channel summary 

The following example displays the SAN port channel compatibility parameters:

switch# show san-port-channel compatibility-parameters 

The following example displays the SAN port channel database:

switch# show san-port-channel database 

The following example displays the consistency status of the SAN port channel database:

switch# show san-port-channel consistency 

The following example displays detailed information about the consistency status of the SAN port channel database:

switch# show san-port-channel consistency detail 

The show san-port-channel usage command displays details of the used and unused SAN port channel numbers:

switch# show san-port-channel usage 

show scsi-target

To display information about existing SCSI target configurations, use the show scsi-target command.

show scsi-target {auto-poll | custom-list | devices [vsan vsan-id] [fcid fcid-id] | disk [vsan vsan-id] [fcid fcid-id] | lun [vsan vsan-id] [fcid fcid-id] [os [aix | all | hpux | linux | solaris | windows] | pwwn | status | tape [vsan vsan-id] [fcid fcid-id] | vsan vsan-id}

Syntax Description

auto-poll

Displays SCSI target auto polling information.

custom-list

Displays customized discovered targets.

devices

Displays discovered SCSI target devices information

vsan vsan-range

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

fcid fcid-id

(Optional) Specifies the FCID of the SCSI target to display.

disk

Displays discovered disk information.

lun

Displays discovered SCSI target LUN information.

os

(Optional) Discovers the specified operating system.

aix

(Optional) Specifies the AIX operating system.

all

(Optional) Specifies all operating systems.

hpux

(Optional) Specifies the HPUX operating system.

linux

(Optional) Specifies the Linux operating system.

solaris

(Optional) Specifies the Solaris operating system.

windows

(Optional) Specifies the Windows operating system.

pwwn

Displays discovered pWWN information for each operating system.

status

Displays SCSI target discovery status.

tape

Displays discovered tape information.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Usage Guidelines

Use the show scsi-target auto-poll command to verify automatic discovery of online SCSI targets.

Examples

The following example displays the status of a SCSI discovery:

switch# show scsi-target status 

The following example displays a customized discovered targets:

switch# show scsi-target custom-list 

The following example displays discovered disk information:

switch# show scsi-target disk 

The following example displays the discovered LUNs for all operating systems:

switch# show scsi-target lun os all 

The following example displays the discovered LUNs for the Solaris operating system:

switch# show scsi-target lun os solaris 

The following example displays auto-polling information:

switch# show scsi-target auto-poll 

The following example displays the port WWN that is assigned to each operating system (Windows,  AIX, Solaris, Linux, or HPUX):

switch# show scsi-target pwwn 

show topology

To display topology information for connected SAN switches, use the show topology command.

show topology [vsan vsan-id]

Syntax Description

vsan vsan-id

(Optional) Displays information for a VSAN. 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.


Examples

The following example displays topology information:

switch# show topology 

show trunk protocol

To display trunk protocol status, use the show trunk protocol command.

show trunk protocol

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays trunk protocol status:

switch# show trunk protocol 

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

vsan-id

(Optional) Displays information for the specified VSAN ID. The range is 1 to 4093.

membership

(Optional) Displays membership information.

interface

(Optional) Specifies the interface type.

fc slot/port

(Optional) Specifies a Fibre Channel interface.

san-port-channel port

(Optional) Specifies a SAN port channel interface specified by the port channel number.

vfc vfc-id

(Optional) Specifies a virtual Fibre Channel interface.

usage

(Optional) Displays VSAN usage in the system.


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 vsan membership interface command, interface information is displayed for interfaces that are configured in this VSAN.

The interface range must be in ascending order and non-overlapping. 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:

For example, show int fc2/1 - 3 , fc2/4 , fc3/2

Examples

The following example displays configured VSAN information:

switch# show vsan 1 

The following example displays membership information for all VSANs.

switch # show vsan membership 

The following example displays membership information for a specified interface:

switch # show vsan membership interface fc1/1 

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

status

Displays a summary of WWN usage and alarm status.

block-id number

(Optional) Displays WWN usage and alarm status for a block ID. The range is 34 to 1793.

switch

Displays switch WWN.

vsan-wwn

Displays all user-configured VSAN WWNs.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays the WWN of the switch:

switch# show wwn switch 

The following example displays a user-configured VSAN WWN:

switch# show wwn vsan-wwn 

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 fcid-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

active

(Optional) Displays zones which are part of active zone set.

vsan vsan-id

(Optional) Displays zones belonging to the specified VSAN ID. The range is 1 to 4093.

analysis

(Optional) Displays analysis of the zone database.

active

Displays analysis of the active zone database.

vsan

Displays analysis of the zone database for the specified VSAN.

zoneset zoneset-name

Displays analysis of the specified zoneset.

ess

(Optional) Displays ESS information.

member

(Optional) Displays all zones in which the given member is part of.

fcalias alias-name

Displays member information for a specific fcalias.

fc-id fc-id

Displays member information for a specific Fibre Channel ID.

lun lun-id

Displays logical unit ID.

pwwn wwwn

Displays device name information for a specific pWWN. The format is hh:hh:hh:hh:hh:hh:hh:hh, where h is a hexadecimal number.

name string

Displays members of a specified zone.

pending

Displays members of a specified zone in the current session.

pending-diff

Displays pending changes to the zone database.

statistics

Displays zone server statistics.

status

Displays zone server current status.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays configured zone information:

switch# show zone  

The following example displays zone information for a specific VSAN:

switch# show zone vsan 1 

The following example displays members of a specific zone:

switch# show zone name Zone1 

The following example displays all zones to which a member belongs using the FCID:

switch# show zone member pwwn 21:00:00:20:37:9c:48:e5 

The following example displays the number of control frames exchanged with other switches:

switch# show zone statistics 

The following example displays the status of the configured zones:

switch# show zone status 

The following example checks the status of the zoneset distribute vsan command and displays the default zone attributes of a specific VSAN or all active VSANs:

switch# show zone status vsan 1 
VSAN:1 default-zone:deny distribute:active only Interop:default 
    mode:basic merge-control:allow session:none 
    hard-zoning:enabled 
Default zone: 
    qos:low broadcast:disabled ronly:disabled 
Full Zoning Database : 
    Zonesets:0  Zones:0 Aliases:0 
Active Zoning Database : 
    Database Not Available 
Status: 

Table 9-3 describes the significant fields shown in the show zone status vsan display.

Table 9-3 show zone status Field Descriptions 

Field
Description

VSAN:

VSAN number displayed.

default-zone:

Default-zone policy either permit or deny.

Default zone:

The Default zone field displays the attributes for the specified VSAN. The attributes include: Qos level, broadcast zoning enabled/disabled, and read-only zoning enabled/disabled.

distribute:

Distribute full-zone set (full) or active-zone set (active only).

Interop:

Displays interop mode. 100 = default, 1 = standard, 2 and 3 = Non-Cisco vendors.

mode:

Displays zoning mode either basic or enhanced.

merge control:

Displays merge policy either allow or restrict.

Hard zoning is enabled

If hardware resources (TCAM) becomes full, hard zoning is automatically disabled.

Full Zoning Database:

Displays values of zone database.

Active Zoning Database:

Displays values of active zone database.

Status:

Displays status of last zone distribution.


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 | vsan vsan-id | zoneset name vsan vsan-id}

Syntax Description

active

Displays analysis information for the active zone set.

vsan vsan-id

Displays analysis information for the specified VSAN ID. The range is 1 to 4093.

zoneset name

Displays zone set analysis information for the specified zone set.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays detailed statistics and analysis of the active zoning database:

switch# show zone analysis active vsan 1 

The following example displays detailed statistics and analysis of the full zoning database:

switch# sh zone analysis 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 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.


The following example displays zone set analysis information:

switch# show zone analysis zoneset zs1 vsan 1 

Related Commands

Command
Description

zone compact database

Compacts a zone database in 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

active

(Optional) Displays only active zone sets.

vsan vsan-id

(Optional) Displays the VSAN. The range is 1 to 4093

brief

(Optional) Displays zone set members in a brief list.

name zoneset-name

(Optional) Displays members of a specified zone set.

pending

(Optional) Displays zone sets members that are in session.


Command Default

None

Command Modes

EXEC mode.

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


Examples

The following example displays configured zone set information:

switch# show zoneset vsan 1 

The following example displays configured zone set information for a specific VSAN:

switch# show zoneset vsan 2-3