Symptom
Cat 9500 High performance running releases higher than 16.11.1 shows a difference between the running configuration and the startup configuration on L2 ports.
Switch#show run int twe1/0/1
Building configuration...
Current configuration : 37 bytes
!
interface TwentyFiveGigE1/0/1
end
Switch#show startup-config | b TwentyFiveGigE1/0/1
interface TwentyFiveGigE1/0/1
switchport <<<<<
Conditions
This issue is only seen on Catalyst 9500 High Performance
Further Problem Description
This issue causes the command "show archive config diff" to report a config difference in all L2 ports.
sh arch con diff
!Contextual Config Diffs:
interface TwentyFiveGigE1/0/1
+switchport
interface TwentyFiveGigE1/0/2
+switchport
interface TwentyFiveGigE1/0/3
+switchport
interface TwentyFiveGigE1/0/4
+switchport
...