不通,要用路由器才可以进行vlan间的访问,参考一下:
华为s3026交换机配置:
Enter system view, return to user view with Ctrl+Z.
[Quidway]vlan 2
[Quidway-vlan2]port e0/2
[Quidway-vlan2]vlan 3
[Quidway-vlan3]port e0/7
[Quidway-vlan3]int vlan 2
[Quidway-Vlan-interface2]quit
[Quidway]int e0/1
[Quidway-Ethernet0/1]port link-type trunk
[Quidway-Ethernet0/1]port trunk permit vlan all
[Quidway-Ethernet0/1]port trunk encap dot1q
[Quidway]save
Save current configuration to flash memory successfully.
[Quidway]
华为r2621路由器配置:
Enter system view, return to user view with Ctrl+Z.
[Quidway]int e0
[Quidway-Ethernet0]undo shut
[Quidway-Ethernet0]int e0.1
[Quidway-Ethernet0.1]ip add 10.65.1.2 255.255.255.0
[Quidway-Ethernet0.1]encap dot1q 2
[Quidway-Ethernet0.1]int e0.2
[Quidway-Ethernet0.2]ip add 10.66.1.2 255.255.255.0
[Quidway-Ethernet0.2]encap dot1q 3
[Quidway-Ethernet0.2]undo shut
[Quidway-Ethernet0.2]quit
[Quidway]save
Save current configuration to flash memory successfully.
[Quidway]ip routing
[Quidway]save
Save current configuration to flash memory successfully.
[Quidway]
其中:10.65.1.2和10.66.1.2为pc1和pc2的网关地址
你可以试试:admin、system、super、huawei
不能通!
像你所说的这种情况,相当于两台不同交换机通过一条网线互联,但是分别接上一台不同IP的pc。你说这样能通吗?