Solved

Switchport Mode Access

Posted on 2008-06-13
1
1,109 Views
Last Modified: 2008-06-13
Hi,
    I've this configuration on Cisco Catalyst 4500:

 interface GigabitEthernet3/31
 description ServerWeb
 switchport access vlan 330
!
  interface GigabitEthernet3/41
 switchport trunk encapsulation dot1q
 switchport mode trunk
 channel-protocol lacp
 channel-group 2 mode active
 spanning-tree portfast trunk
!
 The question is: The  << switchport mode access >> is needed to insert in the  interface GigabitEthernet3/31 or can I  exclude it?It's important to put it or no?

Waiting for an answer.

Have a nice day.
0
Comment
Question by:mrmodular
1 Comment
 
LVL 43

Accepted Solution

by:
JFrederick29 earned 250 total points
ID: 21778472
The use of the command simply forces the port to be an access port instead of letting it negotiate the mode (trunk versus access).  If you are plugging a non trunking device into 3/31, it will automatically become an access port so the command is not needed but I prefer to put it so I know the exact behavior of the port.

You can very the operational mode of the port by doing a "show interface g3/31 switchport".
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SSH logs Cisco switch 4 83
How to enable wireless guest network in Cisco Wireless AP 11 60
switch design question 6 36
Advertise subnet not directly attached 6 31
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question