Troubleshooting Fiber Optics Issues | REAL LAB EXAMPLES | DOM - Digital Optical Monitoring

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.ย. 2024

ความคิดเห็น • 2

  • @adrianhinojosa9028
    @adrianhinojosa9028 2 ปีที่แล้ว +1

    Hello, I have a question, how do I configure a trunk switch in the vlans between two hosts?

    • @networktutor640
      @networktutor640  2 ปีที่แล้ว +2

      Go to the configuration of each switch port where your hosts are connected to - say one host connected to port 10 another in port 20 - say you wanted both host have access to vlans 1, 2 3 and 4
      Switch 1
      --------------
      Switch 1(config)# interface GigabitEthernet 1/0/10
      Switch 1 (config-if)# switchport trunk encapsulation dot1q
      Switch 1(config-if)# switchport mode trunk
      Switch 1(config-if)# switchport trunk allowed vlan 1,2,3,4
      Switch 2
      --------------
      Switch 2(config)# interface GigabitEthernet 1/0/10
      Switch 2 (config-if)# switchport trunk encapsulation dot1q
      Switch 2(config-if)# switchport mode trunk
      Switch 2(config-if)# switchport trunk allowed vlan 1,2,3,4
      Also remember you need to have all these vlans allowed on trunk between the 2 switches
      Hope this helps...