<kj-B10>display mac-address interface Ethernet
<kj-B10>display mac-address interface Ethernet 0/1
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
001a-4d2e-410f N/A Learned Ethernet0/1 135
0016-76bd-f976 N/A Learned Ethernet0/1 135
000f-e207-f2e0 N/A Learned Ethernet0/1 135
0024-1d32-d24c N/A Learned Ethernet0/1 135
0007-e923-eb42 N/A Learned Ethernet0/1 135
0016-76be-02bd N/A Learned Ethernet0/1 135
000f-e240-45ce N/A Learned Ethernet0/1 135
0024-1d34-81ca N/A Learned Ethernet0/1 135
0024-8cb7-df52 N/A Learned Ethernet0/1 135
00e0-4c03-6490 N/A Learned Ethernet0/1 135
0024-1d30-9cc0 N/A Learned Ethernet0/1 135
000f-e25d-64b0 N/A Learned Ethernet0/1 135
000f-e249-bb5d N/A Learned Ethernet0/1 135
000a-1700-04dd N/A Learned Ethernet0/1 135
0024-1d31-d961 N/A Learned Ethernet0/1 135
0024-1d34-76fc N/A Learned Ethernet0/1 135
<kj-B10>display mac
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
0024-8cb4-fe72 N/A Learned Ethernet0/20 275
001a-4df4-827e N/A Learned Ethernet0/23 275
001a-4d2e-410f N/A Learned Ethernet0/1 275
00e0-4c09-a2ea N/A Learned Ethernet0/14 275
0024-8cb4-fd00 N/A Learned Ethernet0/22 275
000f-e207-f2e0 N/A Learned Ethernet0/1 275
0024-1d32-d24c N/A Learned Ethernet0/1 275
0007-e923-eb42 N/A Learned Ethernet0/1 275
0024-1d32-8bff N/A Learned Ethernet0/16 275
0024-8cb4-fe4d N/A Learned Ethernet0/15 275
0016-76be-02bd N/A Learned Ethernet0/1 275
0024-8cb4-fe75 N/A Learned Ethernet0/24 275
000f-e240-45ce N/A Learned Ethernet0/1 275
0007-e923-46bc N/A Learned Ethernet0/1 275
001f-d0c8-5105 N/A Learned Ethernet0/17 275
0024-8c5a-4c3a N/A Learned Ethernet0/12 275
001c-250f-8b81 N/A Learned Ethernet0/18 275
0024-1d34-81ca N/A Learned Ethernet0/1 275
0024-8cb7-df52 N/A Learned Ethernet0/1 275
00e0-4c03-6490 N/A Learned Ethernet0/1 275
0024-1d30-9cc0 N/A Learned Ethernet0/1 275
000f-e25d-64b0 N/A Learned Ethernet0/1 275
000f-e249-bb5d N/A Learned Ethernet0/1 275
001f-d00d-ba9f N/A Learned Ethernet0/19 270
0024-1d31-d961 N/A Learned Ethernet0/1 270
0024-1d34-76fc N/A Learned Ethernet0/1 270
<kj-B10>
你那个e1/0/1哪口,应该是与其他交换机相连接的那个口。 简单点说,每台电脑都有一个唯一的mac地址,而且应该是固定不变的(如果没有去设置过的话),与电脑直接相连的交换机口都只会有一条不变的mac记录,但与其他交换机相连的口,因为会对应所有与其他交换机相连的电脑,所以会有多条mac记录,这是正常现象。 想要仔细分析的话,可以去查下交换机的原理,根据源mac地址学习,根据目标mac地址转发,如果没有记录就广播。
你把端口绑定MAC以后在关闭该端口的MAC地址学习就OK,
还有一种可能这个是汇聚层的,E0/0/1接下面的交换机