Chinaunix

标题: 接口不同网络层次查看命令 [打印本页]

作者: tonywam1036    时间: 2008-09-19 15:47
标题: 接口不同网络层次查看命令
看物理层
show controllers f0/0
显示结果:一大堆,不好看懂
看链路层
show interface f0/0
显示结果:FastEthernet0/0 is up, line protocol is up,如果line protocol is down,可能是网线断了,没接好
看网络层
show ip interface f0/0
结果:FastEthernet0/0 is up, line protocol is up
  Internet address is 172.16.20.1/16
  Broadcast address is 172.16.255.255
.....
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/51156/showart_1210490.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2