Hi all, I came accross a configuration in one of the ports of a 6509 switch running ios (s72033_rp-JK9SV-M), Version 12.2(18)SXD3. I thought you can have a port configured either switchport access or switchport trunk but not both.
no ip address
switchport access vlan 130
switchport trunk encapsulation dot1q
switchport mode trunk
rmon collection stats 6068 owner monitor
Any input would be appreciate it.
If a server is connecting to this switchport, more than likely is using Vlan 1 as the native/access Vlan.
As Glen pointed out, the mode is set to trunk unconditionally, so regardless the remote connection, the operational state will remain as trunk.
If Vlan 130 is the Vlan for 10.10.10.30/26, then you either need to change the native Vlan in the trunk from Vlan 1 to Vlan 130 with the command, switchport trunk native vlan 130 or change the mode from trunk to access with the command switchport mode access
Again, the command I gave you before should've informed you about the native Vlan.
The mode is what counts, in your case the switchport is set to trunk.
The switchport access is there just in case the remote device does not negotiate the trunk connection.
You can verify the operational state in the interface with the command show interface fa2/21 switchport