You are on page 1of 1

Switch>enable

Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 20
Switch(config-vlan)#name vlan20
Switch(config-vlan)#end
Switch#
Switch#
Switch#

Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface f0/18 %%%%%%%%%%%%5
Switch(config-if)#switchport mode access %%%%%%%%%%%
Switch(config-if)#switchport access vlan 20%%%%%%%%%%%
Switch(config-if)#end
Switch#
Switch#

%%%%%%%%%%%%%%5
Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 20
Switch(config-vlan)#name vlan20
Switch(config-vlan)#end
Switch#
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface f0/1 %%%%%%
Switch(config-if)#switchport mode trunk %%%%5
Switch(config-if)#exit %%%%%%
Switch#
Switch(config)#interface f0/4
Switch(config-if)#switchport mode trunk
Switch(config-if)#exit
Switch#
Switch#

You might also like