Thursday, March 11, 2021

Inconsistent MAC address table in VLAN 1

I'm labbing and I see something that I do not understand. Tried to Google this but the question is hard to describe. I have three Cisco 3560CX's, all running the same software. S1 and S2 each have 12 ports, S3 has 8 ports.

``` S1#show version Cisco IOS Software, C3560CX Software (C3560CX-UNIVERSALK9-M), Version 15.2(7)E3, RELEASE SOFTWARE (fc3) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2020 by Cisco Systems, Inc. Compiled Sun 06-Sep-20 15:15 by prod_rel_team

ROM: Bootstrap program is C3560CX boot loader BOOTLDR: C3560CX Boot Loader (C3560CX-HBOOT-M) Version 15.2(6r)E, RELEASE SOFTWARE (fc1)

S1 uptime is 6 hours, 13 minutes System returned to ROM by power-on System restarted at 09:58:29 UTC Thu Mar 11 2021 System image file is "flash:/c3560cx-universalk9-mz.152-7.E3/c3560cx-universalk9-mz.152-7.E3.bin" Last reload reason: power-on

This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at: http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to export@cisco.com.

License Level: ipservices License Type: Permanent Right-To-Use Next reload license Level: ipservices

cisco WS-C3560CX-12PC-S (APM86XXX) processor (revision C0) with 524288K bytes of memory. Processor board ID FOT1941Z0LD Last reset from power-on 3 Virtual Ethernet interfaces 16 Gigabit Ethernet interfaces The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : 9C:57:AD:A2:98:80 Motherboard assembly number : 73-16468-04 Power supply part number : 341-0675-02 Motherboard serial number : FOC194122P7 Power supply serial number : LIT193819HB Model revision number : C0 Motherboard revision number : A0 Model number : WS-C3560CX-12PC-S System serial number : FOT1941Z0LD Top Assembly Part Number : 68-5361-01 Top Assembly Revision Number : C0 Version ID : V01 CLEI Code Number : CMM1300DRA Hardware Board Revision Number : 0x02

Switch Ports Model SW Version SW Image


  • 1 16 WS-C3560CX-12PC-S 15.2(7)E3 C3560CX-UNIVERSALK9-M

Configuration register is 0xF

```

None of the three switches have an active port in VLAN 1. All are running RSTP.

``` S1#show spanning-tree vlan 1

Spanning tree instance(s) for vlan 1 does not exist.

S1#show vlan br

VLAN Name Status Ports


1 default active Gi0/6, Gi0/7, Gi0/8, Gi0/13, Gi0/14, Gi0/16 12 WORKSTATIONS active Gi0/1, Gi0/2, Gi0/3, Gi0/4 14 VOIP active Gi0/1, Gi0/2, Gi0/3, Gi0/4 16 MGMT active 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup ```

``` S2#show spanning-tree vlan 1

Spanning tree instance(s) for vlan 1 does not exist.

S2#show vlan br

VLAN Name Status Ports


1 default active Gi0/13, Gi0/14, Gi0/15, Gi0/16 12 WORKSTATIONS active Gi0/1, Gi0/2, Gi0/3, Gi0/4 14 VOIP active 16 MGMT active 999 UNUSED act/lshut Gi0/5, Gi0/6, Gi0/7, Gi0/8 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup ```

``` S3#show spanning-tree vlan 1

Spanning tree instance(s) for vlan 1 does not exist.

S3#show vlan br

VLAN Name Status Ports


1 default active Gi0/5, Gi0/6, Gi0/9, Gi0/10, Gi0/12 12 VLAN0012 active 16 MGMT active Gi0/1, Gi0/2, Gi0/3, Gi0/4 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup ```

So here's the question: why do S1 and S3 show MAC addresses, but S2 does not?

``` S1#show mac address-table vlan 1

Mac Address Table

Vlan Mac Address Type Ports


All 0100.0ccc.cccc STATIC CPU All 0100.0ccc.cccd STATIC CPU All 0100.0ccd.cddc STATIC CPU All 0180.c200.0000 STATIC CPU All 0180.c200.0001 STATIC CPU All 0180.c200.0002 STATIC CPU All 0180.c200.0003 STATIC CPU All 0180.c200.0004 STATIC CPU All 0180.c200.0005 STATIC CPU All 0180.c200.0006 STATIC CPU All 0180.c200.0007 STATIC CPU All 0180.c200.0008 STATIC CPU All 0180.c200.0009 STATIC CPU All 0180.c200.000a STATIC CPU All 0180.c200.000b STATIC CPU All 0180.c200.000c STATIC CPU All 0180.c200.000d STATIC CPU All 0180.c200.000e STATIC CPU All 0180.c200.000f STATIC CPU All 0180.c200.0010 STATIC CPU All ffff.ffff.ffff STATIC CPU Total Mac Addresses for this criterion: 21 ```

This is what I would expect to see. Same story for S3:

``` S3#show mac address-table vlan 1

Mac Address Table

Vlan Mac Address Type Ports


All 0100.0ccc.cccc STATIC CPU All 0100.0ccc.cccd STATIC CPU All 0100.0ccd.cddc STATIC CPU All 0180.c200.0000 STATIC CPU All 0180.c200.0001 STATIC CPU All 0180.c200.0002 STATIC CPU All 0180.c200.0003 STATIC CPU All 0180.c200.0004 STATIC CPU All 0180.c200.0005 STATIC CPU All 0180.c200.0006 STATIC CPU All 0180.c200.0007 STATIC CPU All 0180.c200.0008 STATIC CPU All 0180.c200.0009 STATIC CPU All 0180.c200.000a STATIC CPU All 0180.c200.000b STATIC CPU All 0180.c200.000c STATIC CPU All 0180.c200.000d STATIC CPU All 0180.c200.000e STATIC CPU All 0180.c200.000f STATIC CPU All 0180.c200.0010 STATIC CPU All ffff.ffff.ffff STATIC CPU Total Mac Addresses for this criterion: 21 ```

But something completely different on S2:

``` S2#show mac address-table vlan 1

Mac Address Table

Vlan Mac Address Type Ports


```

What is going on here?



No comments:

Post a Comment