On a 3560 switchport below, my goal is to make this as "full duplex and speed 100". Since the connection is fiber, I don't see how I can get 100Mbps.
When I read the documentation, it is not clear whether "nonegotiate" is related to speed and auto or whether that is actually a way to stop DTP protocol on the interface thus avoiding trunking.
Am I right that I should do command "no negotiate"?
Gi0/26 myswitch connected trunk a-full a-1000 1000BaseLX SF P
myswitch#show run int g0/26
Current configuration : 158 bytes
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2-5
switchport mode trunk
You are referring to two different commands.
The speed 'nonegotiate' disables the link-negotiation protocol on the Gigabit Ethernet ports hence it speeds up the port opening process.
The switchport 'nonegotiate' disables the DTP process