show mac-address-table有的ios是show mac address-table但是注意 这个命令是检查交换机学习到的mac地址信息 如果一个端口接了很多机器或者是接了其他的交换机,就会有很多mac地址
在交换机输入 display mac-address 就可以了。如图。