interface Ethernet1/0/24 port access vlan 3 loopback-detection enable # interface GigabitEthernet1/1/1 port link-type trunk port trunk permit vlan all loopback-detection enable # interface Gigabit port link-type trunk port trunk permit vlan all shutd
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/07 21:33:48
interface Ethernet1/0/24 port access vlan 3 loopback-detection enable # interface GigabitEthernet1/1/1 port link-type trunk port trunk permit vlan all loopback-detection enable # interface Gigabit port link-type trunk port trunk permit vlan all shutd
interface Ethernet1/0/24
port access vlan 3
loopback-detection enable
#
interface GigabitEthernet1/1/1
port link-type trunk
port trunk permit vlan all
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
interface Ethernet1/0/24 port access vlan 3 loopback-detection enable # interface GigabitEthernet1/1/1 port link-type trunk port trunk permit vlan all loopback-detection enable # interface Gigabit port link-type trunk port trunk permit vlan all shutd
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