VMware Cloud Community
tdubb123
Expert
Expert

cisco trunk port config

Does anyone have a cisco trunk port config ? I am setting up vm network switch with 2 ports that will have a few vlans.

i am using VST

0 Kudos
5 Replies
Rubeck
Virtuoso
Virtuoso

interface GigabitEthernet1/1

description VMware ESX Trunk port

switchport trunk encapsulation dot1q

switchport trunk allowed vlan 5,10,11,130

switchport mode trunk

switchport nonegotiate

spanning-tree portfast trunk

/Rubeck

0 Kudos
tdubb123
Expert
Expert

hi

why do I need to enabled portfast on the trunk?

0 Kudos
benma
Hot Shot
Hot Shot

STP Portfast is a feature in Cisco IOS which allows a switchport which

is participating in STP to directly transition from Blocking mode to

Forwarding mode when a device connects and the link goes up.

0 Kudos
Rubeck
Virtuoso
Virtuoso

As vSwitches cant participate in a STP loop anyway, the port might as well start to forward right away..

From

Due to the specifics of VMware, the following design considerations apply:

Configure the switchport trunk for trunkfast (i.e., such that the port goes forwarding immediately without waiting for Spanning Tree timers).

/Rubeck

0 Kudos
tdubb123
Expert
Expert

we also have loopguard enabled. Its generating errors even with portfast enabled on the trunks. Should I disbale loopguard?

0 Kudos