Unix Linux check Lan and Fiber port (FC)

 ** Myself

# check lan and usb class net
systool -c net
Class = "net"

  Class Device = "eth0"
    Device = "0000:01:00.0"

  Class Device = "eth1"
    Device = "0000:01:00.1"

  Class Device = "lo"

  Class Device = "usb0"
    Device = "6-2:1.0"

systool -c fc_host -v
# check Fiber port
Class = "fc_host"

  Class Device = "host3"
  Class Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:09:00.0/host3/fc_host/host3"
    fabric_name         = "0x100000051e904cfb"
    issue_lip           = <store method only>
    max_npiv_vports     = "254"
    node_name           = "0x20000024ff2fae40"
    npiv_vports_inuse   = "0"
    port_id             = "0x321c00"
    port_name           = "0x21000024ff2fae40"
    port_state          = "Online"
    port_type           = "NPort (fabric via point-to-point)"
    speed               = "4 Gbit"
    supported_classes   = "Class 3"
    supported_speeds    = "1 Gbit, 2 Gbit, 4 Gbit, 8 Gbit"
    symbolic_name       = "QLE2562 FW:v5.03.02 DVR:v8.03.01.08.11.1-k8"
    system_hostname     = ""
    tgtid_bind_type     = "wwpn (World Wide Port Name)"
    uevent              =
    vport_create        = <store method only>
    vport_delete        = <store method only>

    Device = "host3"
    Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:09:00.0/host3"
      edc                 = <store method only>
      fw_dump             =
      nvram               = "ISP "
      optrom              =
      optrom_ctl          = <store method only>
      reset               = <store method only>
      sfp                 = ""
      uevent              = "DEVTYPE=scsi_host"
      vpd                 = "("


  Class Device = "host4"
  Class Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:09:00.1/host4/fc_host/host4"
    fabric_name         = "0x100000053368638e"
    issue_lip           = <store method only>
    max_npiv_vports     = "254"
    node_name           = "0x20000024ff2fae41"
    npiv_vports_inuse   = "0"
    port_id             = "0x0a3500"
    port_name           = "0x21000024ff2fae41"
    port_state          = "Online"
    port_type           = "NPort (fabric via point-to-point)"
    speed               = "8 Gbit"
    supported_classes   = "Class 3"
    supported_speeds    = "1 Gbit, 2 Gbit, 4 Gbit, 8 Gbit"
    symbolic_name       = "QLE2562 FW:v5.03.02 DVR:v8.03.01.08.11.1-k8"
    system_hostname     = ""
    tgtid_bind_type     = "wwpn (World Wide Port Name)"
    uevent              =
    vport_create        = <store method only>
    vport_delete        = <store method only>

    Device = "host4"
    Device path = "/sys/devices/pci0000:00/0000:00:03.0/0000:09:00.1/host4"
      edc                 = <store method only>
      fw_dump             =
      nvram               = "ISP "
      optrom              =
      optrom_ctl          = <store method only>
      reset               = <store method only>
      sfp                 = ""
      uevent              = "DEVTYPE=scsi_host"
      vpd                 = "("

0 comments:

Loading