我在我的 Netra 机器上安装了 Solaris 10

通过 dladm show-dev 我可以看到哪些接口处于关闭状态或打开状态

所有接口都连接到 Cisco 交换机,并且所有 LAN 卡上的所有 LED 都亮起

但我不明白为什么除 e1000g0 之外的所有接口都是未知的?

请指教如何启动未知接口?

  # dladm show-dev
  e1000g0         link: up        speed: 1000  Mbps       duplex: full
  e1000g1         link: unknown   speed: 0     Mbps       duplex: unknown
  e1000g2         link: unknown   speed: 0     Mbps       duplex: unknown
  e1000g3         link: unknown   speed: 0     Mbps       duplex: unknown
  nxge0           link: unknown   speed: 0     Mbps       duplex: unknown
  nxge1           link: unknown   speed: 0     Mbps       duplex: unknown
  nxge2           link: unknown   speed: 0     Mbps       duplex: unknown
  nxge3           link: unknown   speed: 0     Mbps       duplex: unknown

答案1

链接状态设置为“未知”,因为接口从未通过 ifconfig 进行“探测”。这是我在测试机器上看到的内容:

# dladm show-dev
bge0            link: up        speed: 1000  Mbps       duplex: full
bge1            link: up        speed: 1000  Mbps       duplex: full
bge2            link: unknown   speed: 0     Mbps       duplex: unknown
bge3            link: unknown   speed: 0     Mbps       duplex: unknown
# ifconfig bge2 plumb
# dladm show-dev
bge0            link: up        speed: 1000  Mbps       duplex: full
bge1            link: up        speed: 1000  Mbps       duplex: full
bge2            link: down      speed: 0     Mbps       duplex: unknown
bge3            link: unknown   speed: 0     Mbps       duplex: unknown

连接后,链路状态从“未知”变为“关闭”(因为接口未连接)。一旦接口通过 ifconfig“升级”,并且确实连接到交换机,速度和双工就会显示出来。

相关内容