• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1124
  • Last Modified:

Switchport Mode Access

    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.
1 Solution
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".
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now