So the question is what state is the following port in?
#sho run all | beg GigabitEthernet2/5
interface GigabitEthernet2/5
description LAB newtork
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 138
switchport mode trunk
shutdown
no snmp trap link-status
The answer might not be what you think.
#sho int g2/5
GigabitEthernet2/5 is up, line protocol is up (connected)
#sho run int g2/5
Building configuration…
Current configuration : 230 bytes
!
interface GigabitEthernet2/5
description LAB newtork f
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 138
switchport mode trunk
no snmp trap link-status
end
#sho ver
Cisco IOS Software, s3223_rp Software (s3223_rp-IPBASEK9-M), Version 12.2(33)SXI14, RELEASE SOFTWARE (fc2)
The question is why? I’m not sure other than it might be a code version bug.