This one is more of an annoyance than a problem, but its good to keep your configurations clean in case another misconfiguration turns your annoyance into a real issue. Not to mention logs full of unactionables or meaningless data are just a distraction.
Let’s take a look at the error in question:
I 05/13/16 08:14:06 00828 lldp: PVID mismatch on port D12(VID unknown)with peer device port 48(VID 1)(146167)
The meaning here is as follows: On our local switch we have no native VLAN on port D12 (ie: VID unknown). On the peer switch’s port 48, we are seeing VLAN1 (VID 1).
We can confirm this by looking at our configuration of our local switch:
local(config)# sh run int d12 interface D12 tagged vlan 6,12,44,46 loop-protect receiver-action no-disable exit
Notice that we do not have an untagged assignment for our D12 interface.
Now let’s check our peer switch and see what’s going on with port 48:
remote(config)# sh run int 48 interface 48 tagged vlan 6,12,44,46 untagged vlan 1 exit
You’ll see interface 48 is native to VLAN1. We can also confirm that the peer switch has a similar message in the logs:
I 05/13/16 08:06:11 00828 lldp: PVID mismatch on port 48(VID 1)with peer device port 82(VID unknown)(385635)
Finally, to clean up our logs we need the two sides of our connection to agree on a native VLAN. We can either add VLAN1 to our local switch or remove VLAN1 from our remote switch. Let’s remove VLAN1 from the remote switch.
remote(config)# vlan 1 remote(vlan-1)# no untagged 48 remote(config)# sh run int 48 interface 48 tagged vlan 6,12,44,46 exit