08-19-2008 01:20 PM - edited 03-06-2019 12:54 AM
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
08-19-2008 02:25 PM
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
08-19-2008 06:03 PM
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.
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: