Sie sind auf Seite 1von 1

Switch>enable

Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface fa0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
% Access VLAN does not exist. Creating vlan 10
Switch(config-if)#interface fa0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
% Access VLAN does not exist. Creating vlan 20
Switch(config-if)#interface fa0/24
Switch(config-if)#switchport mode trunk
Switch(config-if)#switchport trunk native vlan 99
Switch(config-if)#switchport trunk add
^
% Invalid input detected at '^' marker.
Switch(config-if)#switchport trunk add
Switch(config-if)#switchport trunk add
^
% Invalid input detected at '^' marker.
Switch(config-if)#switchport trunk allowed vlan all
Switch(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state t
o up
Switch(config-if)#end
Switch#
%SYS-5-CONFIG_I: Configured from console by console
wri
Building configuration...
[OK]
Switch#write
Building configuration...
[OK]
Switch#

Das könnte Ihnen auch gefallen