inushome 发表于 2018-7-14 07:18:30

CISCO 3550 三层交换机配置

interface Port-channel 1 //进入虚拟的以太通道组1  switchport trunk encapsulation dot1q //给这个接口的trunk封装为802.1Q的帧格式
  switchport mode trunk //定义这个接口的工作模式为trunk
  switchport trunk allowed vlan all //在这个trunk上允许所有的vlan通过
  Interface gigabitethernet 0/1 //进入模块0上的吉比特以太口1
  switchport trunk encapsulation dotlq //给这个接口的trunk封装为802.1Q的帧格式
  switchport mode trunk //定义这个接口的工作模式为trunk
  switchport trunk allowed vlan all //在这个trunk上允许所有的vlan通过
  channel-group 1 mode on //把这个接口放到快速以太通道组1中
  Interface gigabitethernet 0/2 //同上
  switchport trunk encapsulation dotlq
  switchport mode trunk
  switchport trunk allowed vlan all
  channel-group 1 mode on
页: [1]
查看完整版本: CISCO 3550 三层交换机配置