08-21-2011 08:49 PM - edited 03-07-2019 01:48 AM
hi,
Is it necessary to configure " switch mode access" when you are configuring access port. Can we configure "switch access vlan x" directly? or Is it mandatory to give both.
Regards
Rajesh.
Solved! Go to Solution.
08-21-2011 10:10 PM
Hey Rajesh,
for all the interfaces connected to hosts usually I set them to:
swichport host.
it does the following:
switchport mode will be set to access
spanning-tree portfast will be enabled
channel group will be disabled
Answering your question it's not necessary but it's advisible hence a user could plug a switch to an interface and potentially form a trunk. The default configuration of cisco switches interface is dynamic desirable which runs DTP.
HTH
Cheers,
Fabio
08-21-2011 10:10 PM
Hey Rajesh,
for all the interfaces connected to hosts usually I set them to:
swichport host.
it does the following:
switchport mode will be set to access
spanning-tree portfast will be enabled
channel group will be disabled
Answering your question it's not necessary but it's advisible hence a user could plug a switch to an interface and potentially form a trunk. The default configuration of cisco switches interface is dynamic desirable which runs DTP.
HTH
Cheers,
Fabio
08-22-2011 12:21 AM
Thanks for the reply, just to be more clear to you answer. ..If i configure " Switchport access vlan x" directly without "Switchport mode access" than it will be dynamic desirable right? please correct me.
Regards
Rajesh.
08-22-2011 12:39 AM
correct.
Cheers,
Fabio
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide