View Full Version : Switchport mode access
Stevep
02-03-2008, 04:59 PM
On page 571 it is stated to start with the 'switchport mode access' command, then assign a VLAN.
Continuing to page 577, the 2960 switch configuration, should 'switchport mode access' command also be entered after the subinterface change before the vlan assignment?
Andrew
12-01-2008, 06:03 PM
As the original poster asks, why is the switchport mode access command not used in the config on page 577?
2960#config t
2960(config)#int f0/1
2960(config-if)#switchport mode trunk
2960(config-if)#int f0/2
2960(config-if)#switchport access vlan 1
2960(config-if)#int f0/3
2960(config-if)#switchport access vlan 1
2960(config-if)#int f0/4
2960(config-if)#switchport access vlan 3
2960(config-if)#int f0/5
2960(config-if)#switchport access vlan 3
2960(config-if)#int f0/6
2960(config-if)#switchport access vlan 2
In this thread (http://www.lammle.com/discussion/showpost.php?p=2135&postcount=2) lildeezul wrote:
Also when u create Vlans. IOS automatically makes the vlan port an access port.
So I thought this answered my query but reading page 571 again I saw that Todd wrote:
switchport mode dynamic auto This mode makes the interface able to convert the link to a trunk link. The interface becomes a trunk interface if the neighboring interface is set to trunk or desirable mode. This is now the default switchport mode for all Ethernet interfaces on all new Cisco switches.
Please advise. Many thanks.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.