Switch>en
Switch#configure terminal Switch(config)#vlan 2Switch(config-vlan)#exitSwitch(config)#vlan 3Switch(config-vlan)#exitSwitch(config)#interface fa0/1Switch(config-if)#switchport access vlan 2Switch(config-if)#exitSwitch(config)#interface fa0/2Switch(config-if)#switchport access vlan 3Switch(config-if)#exit
Switch(config)#interface fa0/3
Switch(config-if)#switchport mode trunk