nterface Ethernet1/0/24 百兆电口24端口
port access vlan 3 赋予端口属于vlan 3
loopback-detection enable 端口回环开启,检测环路
#
interface GigabitEthernet1/1/1 千兆光口1
port link-type trunk 设置端口类型为trunk
port trunk permit vlan all 设置trunk允许通过的vlan为所有
loopback-detection enable 同上
#
interface Gigabit
port link-type trunk
port trunk permit vlan all
shutdown 关闭端口
loopback-detection enable
#
interface GigabitEthernet1/2/1
port link-type trunk
port trunk permit vlan all
loopback-detection enable
#
interface GigabitEthernet1/2/2
port link-type trunk
port trunk permit vlan all
shutdown
loopback-detection enable