display fc name-service database

Use display fc name-service database to display the name server 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

mdc-admin

mdc-operator

Parameters

vsan vsan-id: Specifies a VSAN by its ID in the range of 1 to 3839. If no VSAN is specified, this command displays the name server database information of all VSANs.

fcid fcid: Specifies an FC address. The fcid argument is in the range of 0x010000 to 0xEFFFFF (hexadecimal). If no FC address is specified, this command displays the name server database entries of all FC addresses.

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

count: Displays the number of name service entries.

Examples

# Display brief information about the name server database in VSAN 1.

<Sysname> display fc name-service database vsan 1
VSAN 1:
  FCID     Type               PWWN(vendor)                      FC4-type:feature
  0x030001 0x01(N)            10:00:00:05:30:00:25:a3           SCSI-FCP:Initiat
  0x030101 0x01(N)            10:00:00:00:77:99:60:2c
  0x030200 0x01(N)            10:00:00:49:c9:28:c7:01
  0xec0001 0x01(N)            21:00:00:20:37:a6:be:14           SCSI-FCP:Initiat

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

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

Table 10: Command output

Field

Description

FCID

FC address of the N_Port.

Type

Link type of the N_Port, which can be N representing point-to-point.

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): 10: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:6
  Hard-addr: 0x000000

VSAN:1     FCID:0xec0200
  Port-WWN(vendor): 10: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):
  Symbolic-port-name:
  Symbolic-node-name:
  Port-type: 0x01(N)
  Fabric-port-WWN: 22:0a:00:05:30:00:26:1e
  Hard-addr: 0x000000

--- Total 2 entries ---

Table 11: 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.

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 the N_Port.

Symbolic-node-name

Symbolic name, which is used for describing the node.

Port-type

Link type of the N_Port, which can be N representing point-to-point.

Fabric-port-WWN

WWN of the F_Port.

Hard-addr

Hardware address of the N_Port.

Total entries

Number of entries in the VSAN.