to avoid fingerprinting, it may not be optimal. Hi Cis.Learner, Use command show arp on switch, if loop is there, you will find same mac address learned via two different ports, to prevent loop, you can shut either of ports. In normal scenarios thare is no need for this but can be handy Edit: normally a multilayer switch uses the same MAC for all vlan SVI interfaces. this may be useful when using VRFs for example. bgl14-1.j.07-3850-3 (config) mac address-table static 0000.02cc.0501 vlan 20 drop -1/ when the issue happened show mac add on cat3850, not seen the 0000.02cc.0501 entry bgl14-1.j. Im open to any workaround, no matter how obscure. the change of the MAC address on an SVI is needed when you need two different SVI to talk to each other.
Since I'm not sure of the reason for your request, it may or may not be important to note that an ARP request for 10.0.0.254 will still reveal the switch's BIA (burnt-in address) so if you're doing this e.g. Because all VLAN interfaces derive their MAC addresses from the base MAC ( show version include Base) and the Switch (config-if) mac-address command is missing in the context of a VLAN interface, I cannot get the desired configuration. On the comment that most people pull data from MAC address count per VLANs and then add them up.Are they using MIB values from each VLAN for MAC address count. Where 10.0.0.254 is a previously unused address.
In other words if you currently have interface vlan 2
If "standby mac-address" is supported on your platform, you can configure HSRP with a virtual IP address linked to a virtual MAC. So, look up your model there but I think it is safe to assume that if Switch(config-if)# mac-address does not work, changing the MAC address is not supported on that platform. If sh mac-address-table shows same MAC address belongs to different Vlans and those came from the same interface, it is likely that MAC belongs to neighboring Switch interface which is trunkig. A quick google search turns up the doc " Supported Platforms for Unique MAC Address Configuration on VLAN or 元 Interfaces for Catalyst Switches" which learns us that both the default behaviour as well as the potential to change the MAC address, are very different depending on the switch model (and in some cases, depending on the IOS version). Every switch port has MAC assigned to it it is used to ID interface internally by switch or switch CPU (process).