Cisco 交换Trunk配置

交换Trunk配置

  • #进入直连端口下
  • config)#int f0/1 

  • #配置trunk封装协议
  • config)#switchport trunk encapsulation dot1q 

  • #配置为trunk模式
  • config)#switchport mode trunk 

  • #所有vlan都可以同行
  • config)#switchport trunk allowed vlan all 

 
原文地址:https://www.cnblogs.com/xiangsikai/p/8330715.html