导读 您好,今天小编胡舒来为大家解答以上的问题。思科vlan配置,vlan配置相信很多小伙伴还不知道,现在让我们一起来看看吧!1、1.交换机默认所有...

您好,今天小编胡舒来为大家解答以上的问题。思科vlan配置,vlan配置相信很多小伙伴还不知道,现在让我们一起来看看吧!

1、1.交换机默认所有端口都是在VLAN1里面的,所以,不做配置也是能通的;2、(1)上面两台PC所连接的端口配置举例 interface ethernet 0/1 //端口1下配置vlan10接入一台电脑 port link-type access port access vlan 10 interface ethernet 0/2 //端口2下配置vlan10接入一台电脑。

2、这样上面两台电脑就通了 port link-type access port access vlan 10 (2)下面两台PC所连接的端口配置举例 interface ethernet 0/1 //端口1下配置vlan20接入一台电脑 port link-type access port access vlan 20 interface ethernet 0/2 //端口2下配置vlan20接入一台电脑,这样下面这两台电脑也就通了 port link-type access port access vlan 20(3)两台的互联口上都做这样的配置: interface ethernet 0/24 port link-type trunk port trunk permit vlan 10 20。

本文就为大家分享到这里,希望小伙伴们会喜欢。