有谁知道如何查看哪些交换机端口从CLI或ASDM连接?
我正在configuration一个5505,里面有6个接口关联,其中只有一个实际上是活动链接的。
我看不到这个信息,任何帮助将不胜感激。
运行命令:
show interface
这将输出有关所有接口的信息。 每一行的第一行都会这样说:
Interface Ethernet0/2 "", is administratively down, line protocol is down
如果它被链接,它通常显示:
Interface Ethernet0/1 "inside", is up, line protocol is up
如果你想看到所有接口的状态。 这是你如何做的。
显示接口状态| 包括连接
Gi3 / 2连接28 a-full a-1000 10/100/1000-TX
Gi3 / 3连接28 a-full a-1000 10/100/1000-TX
显示接口状态| 包括notconnect
Te1 / 8不连接1个完整的10G 10GBase-SR
Gi2 / 1不连接1自动自动10/100/1000-TX
Gi2 / 2不连接27自动自动10/100/1000-TX
Gi2 / 5不连接1自动自动10/100/1000-TX
希望有所帮助。
show interface ip brief显示了一些IP信息,还输出类似于Catalyst交换机的接口状态:
Home# sh int ip b Interface IP-Address OK? Method Status Protocol Ethernet0/0 unassigned YES unset up up Ethernet0/1 unassigned YES unset down down Ethernet0/2 unassigned YES unset down down Ethernet0/3 unassigned YES unset up up Ethernet0/4 unassigned YES unset up up Ethernet0/5 unassigned YES unset down down Ethernet0/6 unassigned YES unset down down Ethernet0/7 unassigned YES unset down down Internal-Data0/0 unassigned YES unset up up Internal-Data0/1 unassigned YES unset up up Vlan1 xxxx YES DHCP up up Vlan2 192.168.1.1 YES CONFIG up up Virtual0 127.0.0.1 YES unset up up
然后看到使用show switch vlan命令分配的vlans:
Home# sh switch vlan VLAN Name Status Ports ---- -------------------------------- --------- ----------------------------- 1 internet up Et0/0 2 inside up Et0/1, Et0/2, Et0/3, Et0/4 Et0/5, Et0/6, Et0/7