display fc name-service database

Use display fc name-service database to display the name service database information.

Syntax

display fc name-service database [ vsan vsan-id [ fcid fcid ] ] [ verbose ]

display fc name-service database [ vsan vsan-id ] count

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

vsan vsan-id: Specifies a VSAN by its ID in the range of 1 to 3839. If you do not specify a VSAN, this command displays the name service database information for all VSANs. On an FCF-NPV switch, this command displays the name service database information for only VSANs operating in FCF mode.

fcid fcid: Specifies an FC address in the range of 0x010000 to efffff (hexadecimal). If you do not specify an FC address, this command displays the name service entries of all FC addresses.

verbose: Displays detailed information about the name service database. If you do not specify this keyword, the command displays brief information about the name service database.

count: Displays the number of name service entries.

Usage guidelines

Only FCF and FCF-NPV switches support this command.

Examples

# Display brief information about the name service database for VSAN 1.

<Sysname> display fc name-service database vsan 1
VSAN 1:
  FCID     Type               PWWN(vendor)                      FC4-type:feature
  0x030001 0x01(N)            20:00:00:05:30:00:25:a3           SCSI-FCP
  0x030200 0x01(N)            20:00:00:49:c9:28:c7:01           NPV

Table 21: Command output

Field

Description

FCID

FC address of the N_Port.

Type

Port type registered by the node with the switch:

  • 0x00(Unidentified)—No port type is registered.

  • 0x01(N)—N_Port, which directly connects to the fabric.

  • 0x02(NL)—NL_Port, which connects to the fabric through an arbitrated loop.

  • 0x03(F/NL)—F_Port or NL_Port.

  • 0x7f(Nx)—N_Port, NL_Port, or F_Port, or NL_Port.

  • 0x81(F)—F_Port, which connects to an N_Port.

  • 0x82(FL)—FL_Port, which connects to an NL_Port.

  • 0x84(E)—E_Port, which connects to an E_Port or B_Port.

  • 0x85(B)—B_Port. The ports on a bridge that connect two E_Ports are called B_Ports.

  • 0xXX(Unknown)—Port types other than the preceding ones.

NOTE:

Typically, only N_Ports and NL_Ports will be registered by a node.

PWWN(vendor)

WWN of the N_Port (name of vendor).

FC4-type:feature

FC4 type feature entry (when this command displays brief information, up to two FC4 type feature entries are displayed):

  • FC4 type—Includes SCSI-FCP, LLC/SNAP, SW_ILS, SNMP, GS3, VI, and NPV.

  • Feature—Includes supporting Initiator, Target, or Initiator/Target.

# Display detailed information about the name service database.

<Sysname> display fc name-service database verbose
VSAN:1     FCID:0x030001
  Port-WWN(vendor): 20:00:00:05:30:00:25:a3
  Node-WWN: 20:00:00:05:30:00:25:9e
  Class: 2,3
  Node-IP-addr: 192.168.0.52
  FC4-types(FC4_features): SCSI-FCP
  Symbolic-port-name:
  Symbolic-node-name:
  Port-type: 0x01(N)
  Fabric-port-WWN: 30:30:30:30:65:33:64:6b
  Hard-addr: 0x000000

VSAN:1     FCID:0x030200
  Port-WWN(vendor): 20:00:00:5a:c9:28:c7:01
  Node-WWN: 10:00:00:5a:c9:28:c7:01
  Class: 3
  Node-IP-addr: 192.168.0.52
  FC4-types(FC4_features): NPV
  Symbolic-port-name: NPV-Sysname:Vfc1
  Symbolic-node-name: NPV-Sysname
  Port-type: 0x01(N)
  Fabric-port-WWN: 22:0a:00:05:30:00:26:1e
  Hard-addr: 0x000000

--- Total 2 entries ---

# Display the number of name service entries for VSAN 1.

<Sysname> display fc name-service database vsan 1 count
Total entries: 2

Table 22: Command output

Field

Description

FCID

FC address of the N_Port.

Port-WWN(vendor)

WWN of the N_Port (name of vendor).

Node-WWN

WWN of the node.

Class

Class of service.

Node-IP-addr

IP address of the node.

FC4-types(FC4 features)

FC4 type (feature) entries:

  • FC4 type—Includes SCSI-FCP, LLC/SNAP, SW_ILS, SNMP, GS3, VI, and NPV.

  • Feature—Includes supporting Initiator, Target, or Initiator/Target.

Symbolic-port-name

Symbolic name, which is used for describing an N_Port. For an NP_Port on an HPE NPV switch, it is in the form of system-name:port-name.

Symbolic-node-name

Symbolic name, which is used for describing a node. For an HPE NPV switch, it is the system-name.

Port-type

Port type registered by the node with the switch:

  • 0x00(Unidentified)—No port type is registered.

  • 0x01(N)—N_Port, which directly connects to the fabric.

  • 0x02(NL)—NL_Port, which connects to the fabric through an arbitrated loop.

  • 0x03(F/NL)—F_Port or NL_Port.

  • 0x7f(Nx)—N_Port, NL_Port, or F_Port, or NL_Port.

  • 0x81(F)—F_Port, which connects to an N_Port.

  • 0x82(FL)—FL_Port, which connects to an NL_Port.

  • 0x84(E)—E_Port, which connects to an E_Port or B_Port.

  • 0x85(B)—B_Port. The ports on a bridge that connect two E_Ports are called B_Ports.

  • 0xXX(Unknown)—Port types other than the preceding ones.

NOTE:

Typically, only N_Ports and NL_Ports will be registered by a node.

Fabric-port-WWN

WWN of the F_Port.

Hard-addr

Hardware address of the N_Port.

Total entries

Number of entries in the VSAN.