Toggle theme
Tim's Technology Journey Wiki
User Tools
Toggle theme
Log In
Site Tools
Search
Tools
Show pagesource
Old revisions
Backlinks
Fold/unfold all
Recent Changes
Media Manager
Sitemap
Log In
>
Recent Changes
Media Manager
Sitemap
Trace:
•
hp_switch
•
sdwan
•
gigamon
•
trunks
trunks
Table of Contents
Trunks
Trunks
To configure a trunk between two switches:
Switch1(config)#
interface g1/0/20
Switch1(config-if)#
switchport trunk encapsulation dot1q
Switch1(config-if)#
switchport mode trunk
Switch1(config-if)#
switchport trunk allowed vlan 100,200
—
Switch2(config)#
interface g1/0/20
Switch2(config-if)#
switchport trunk encapsulation dot1q
Switch2(config-if)#
switchport mode trunk
Switch2(config-if)#
switchport trunk allowed vlan 100,200
Optionally, you can change the native VLAN, which will VLAN will get tagged over the trunk link.
Switch(config-if)#
switchport trunk native vlan 99
trunks.txt
· Last modified:
2025/02/17 23:36
by
127.0.0.1
Page Tools
Show pagesource
Old revisions
Backlinks
Fold/unfold all
Back to top