交换机的卡板地址池不只有一个地址的(show module查看),
cat系列中,每个二层接口都会有一个唯一的mac地址,这个不会重复。三层接口(svi/no swithport )等接口共用一个mac地址
如下:(部分字符已替换为x)
6807-2#sh int g6/1 | in add
Hardware is Gigabit Ethernet Port, address is f0f7.5xxf.d3a0 (bia f0f7.5xxf.d3a
0)
6807-2#sh int g6/2 | in add
Hardware is Gigabit Ethernet Port, address is f0f7.5xxf.d3a1 (bia f0f7.5xxf.d3a
1)
6807-2#sh int g6/3 | in add
Hardware is Gigabit Ethernet Port, address is f0f7.5xxf.d3a2 (bia f0f7.5xxf.d3a
2)
6807-1>sh module
Mod Ports Card Type Model Serial No.
--- ----- -------------------------------------- ------------------ -----------
1 48 CEF720 48 port 1000mb SFP WS-X6848-SFP SALxxxxxxxxHR
2 48 CEF720 48 port 1000mb SFP WS-X6848-SFP SAxxxxxxxxxWE
3 5 Supervisor Engine 2T 10GE w/ CTS (Acti VS-SUP2T-10G SAxxxxxxxxxQ
5 48 DCEF 48P 10/100/1000MB Ethernet C6800-48P-TX SALxxxxxxxRX
6 48 DCEF 48P 10/100/1000MB Ethernet C6800-48P-TX SAxxxxxxxxxxT
7 20 DCEF2T 4 port 40GE / 16 port 10GE C6800-16P10G SAxxxxxxxxxxV
Mod MAC addresses Hw Fw Sw Status
--- ---------------------------------- ------ ------------ ------------ -------
1 a0ec.fxxb.de20 to a0ec.fxxb.de4f 3.1 12.2(18r)S1 15.2(1)SY1a Ok
2 a0ec.fxx8.f860 to a0ec.fxx8.f88f 3.1 12.2(18r)S1 15.2(1)SY1a Ok
3 006b.fxxa.7c0e to 006b.fxxa.7c15 2.1 12.2(50r)SYS 15.2(1)SY1a Ok
5 00a2.exx3.38e8 to 00a2.exx3.3917 1.0 12.2(18r)S1 15.2(1)SY1a Ok
6 00a2.exx3.2978 to 00a2.exx3.29a7 1.0 12.2(18r)S1 15.2(1)SY1a Ok
7 00d7.8xx6.1b8d to 00d7.8xx6.1ba0 1.2 15.1(58r)SYL 15.2(1)SY1a Ok
6807-1#
sh catalyst6000 chassis-mac-addresses chassis MAC addresses: 64 addresses from
00c1.6xx8.0840 to 00c1.6xx8.087f
6807-2#sh ip arp | in 00c1.6xx8.0840
Internet 10.x.32.1 - 00c1.6xx8.0840 ARPA Vlan98
Internet 10.x.20.2 - 00c1.6xx8.0840 ARPA GigabitEthernet2/3
Internet 10.x.20.2 - 00c1.6xx8.0840 ARPA GigabitEthernet2/4
三层接口共用一个地址是设备的默认行为,具体原因我也不太清楚。
参考链接:
https://www.cisco.com/c/en/us/support/docs/switches/catalyst-6000-series-switches/41263-catmac-41263.html#topic1中文版:
https://www.cisco.com/c/zh_cn/support/docs/switches/catalyst-6000-series-switches/41263-catmac-41263.pdf我用的6k举例,4k的工作机制和6k 差不太多,但是4k上面没有show catalyst4500的命令。。