发布网友 发布时间:2022-05-01 11:04
共3个回答
热心网友 时间:2023-10-09 13:03
拓扑图在下面,交换机之间应该用交叉线,而不是直通线
配置如下:
交换机一:
en
conf t
vlan 10
vlan 20
vlan 30
vlan 40
interface range f0/1-4
switchport mode access
switchport access vlan 10
no shut
interface range f0/5-14
switchport mode access
switchport access vlan 20
no shut
interface range f0/15-19
switchport mode access
switchport access vlan 40
no shut
interface f0/24
switchport mode trunk
switchport trunk allow vlan all
no shut
end
交换机二:
en
conf t
vlan 10
vlan 20
vlan 30
vlan 40
interface range f0/1-6
switchport mode access
switchport access vlan 10
no shut
interface range f0/7-16
switchport mode access
switchport access vlan 30
no shut
interface range f0/17-21
switchport mode access
switchport access vlan 40
no shut
interface f0/24
switchport mode trunk
switchport trunk allow vlan all
no shut
end
热心网友 时间:2023-10-09 13:03
1.两个楼层的交换机都要支持端口VLAN热心网友 时间:2023-10-09 13:03
这个题很简单啊。