Agora vamos configurar a porta trunk:

  1. entre no modo de configuração global do switch0-Direito:
    switch0# configure terminal
  2. entre na interface que será trunk
    switch0(config)# interface gig0/2
  3. configure a porta como trunk
    switch0(config-if)# switchport mode trunk
    switch0(config-if)# end
    switch0# wr
  4. Repita os comandos para todas as portas trunk.

O comando “show run” mostra:

Switch#show run
........................................
interface FastEthernet0/1
switchport access vlan 100
interface FastEthernet0/2
switchport access vlan 100
interface FastEthernet0/3
shutdown
........................................
interface FastEthernet0/23
switchport mode trunk
interface FastEthernet0/24
interface GigabitEthernet0/1
switchport mode access
interface GigabitEthernet0/2
switchport mode trunk
.......................................
end
Switch#
Copyright © 2014 AIEC.