cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2394
Views
5
Helpful
2
Replies

trunk port vs. access port

mmoore
Level 1
Level 1

What are the danger of this configuration on a port that connects to a server?

switchport access vlan 100

switchport trunk encapsulation dot1q

switchport mode trunk

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

The switch will try to negotiate a trunk connection during the initial connection.

If the negotiation fails, it falls back to the access vlan. In your case, your server will use Vlan 100 for this connection.

There isn't any danger but you may experience a delay on the port becoming active due to the negotiation. I recommend configuring the port for mode access and remove the encapsulation from the configuration.

Now, if your server NIC is able to use 802.1q, then the switchport will be trunked and all Vlans except for Vlan 1 will be tagged. Per your configuration, the trunk native Vlan is Vlan 1.

HTH,

__

Edison.

Please rate helpful posts

sunyu
Level 1
Level 1

the native vlan will be 100 , not default 1.

the server will become int vlan 100 .

the trunk default permit all traffic date out of the port ,the server will process more useless date.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco