We have multiple switches(Cisco 4510, 4507R, 3560's) within our network. I've been looking over the port settings between them and noticed that not all ports that are connected directly from switch to switch are trunked the same. Some are desirable on one switch and forced truck on the other switch.
I would really like to know what is the prefered method for trunking 2 switches.
I never use "desirable". It's always "nonegotiate".
And Trunks allow only VLANs used.
If the links are fibre then enable UDLD.
I would like hardcore both side port as TRUNK ports along with Nonegotiate also enable UDLD for Fiber ports.
Hardcore the encapsulation type to 802.1q or ISL (802.1q is efficient way)
Also check for VLAN traffic that you want to pass through the trunk.
define te allowed vlans list on each trunk port and consider BFD and NSF eventual settings for HA environments. Consideration of what the native vlan is can help if you need to troubleshoot your network.
depending from the context also some STP(uplinks , backbone fast recovery ec..) and Security settings (trust or not) could be required.
These will be the uplink commands that you are looking for
switchport trunk encapsulation dot1q
switchport trunk native vlan
switchport trunk allowed vlan
switchport mode trunk
udld port aggressive
ip dhcp snooping trust