2900 Series Switch
2900Switch(config)#int fa 0/1
Enters interface mode
2900Switch(config-if)#switchport mode trunk
Turns port to trunking mode
2900Switch(config-if)#switchport trunk encapsulation dot1q
Sets encapsulation type to Dot1Qthis is the default encapsulation type
2950 Series Switch
2950Switch(config)#int fa 0/1
2950Switch(config-if)#switchport mode trunk