华为S9306交换机配置,可以部分不同
交换机trunk在局域网中也不能三级串接,串接太多,会导致网络时断时续,同一个交换机部分能上,部分不能上的毛病,ip地址没有问题,DNS也是正确的,应为忽然出现这个情况,不是一开始就这样的。
所以电脑网络问题故障,可以从三个方面处理,一,查看设置指示灯,ping交换机管理地址 二,更换收发器,尾纤, 三就是把交换机的trunk改为access的模式。这样基本可以解决大多数网络问题。
华为S9306交换机配置
1. 配置电缆连接
第一步:将配置电缆的DB-9(或DB-25)孔式插头接到要对路由器进行配置的微机或终端的串口上。
第二步:将配置电缆的RJ-45一端连到路由器的配置口(Console)上。
2. 设置微机或终端的参数
第一步:打开微机或终端。
如果使用微机进行配置,需要在微机上运行终端仿真程序,如Windows的超级终端。
第二步:设置终端参数。
参数要求:
设置波特率为9600,数据位为8,奇偶校验为无,停止位为1,流量控制为无,选择终端仿真为VT100。
超级终端参数设置方法如下:
(1) 在超级终端窗口中,单击其[属性]按钮。
(2) 在超级终端属性对话框中[连接时使用]一栏选择连接的串口。选择的串口应该与配置电缆接的串口一致。单击[配置]按钮。
(3) 在串口的属性对话框中设置波特率为9600,数据位为8,奇偶校验为无,停止位为1,流量控制为无。单击[确定]按钮。
(4) 在超级终端属性对话框中选择[设置]一项,进入下图所示的属性设置窗口。选择终端仿真为VT100,单击[确定]按钮。
3. 路由器上电
确认路由器与配置终端的连接正确,确认已经完成配置终端参数的设置后,即可对路由器上电。随后路由器上出现自检内容。启动完毕,回车,超级终端里显示password。
password:admin 密码:admin
<Quidway>sys 输入sys进入全局模式
[Quidway]vlan 2 创建VLAN2
[Quidway-vlan2]q 退出VLAN2
[Quidway]intervlan 2 进入VLAN2接口视图
[Quidway-Vlanif2]ip address 192.168.2.1255.255.255.0 配置VLAN2ip地址和子网掩码
[Quidway-Vlanif2]q 退出VLAN2接口模式
[Quidway]inter ethernet 2/0/0 进入以太网口2/0/0
[Quidway-Ethernet2/0/0]port link access 接口类型为access
[Quidway-Ethernet2/0/0]q 退出
[Quidway]inter ethernet 2/0/1 进入以太网口2/0/1
[Quidway-Ethernet2/0/1]port link access 接口类型为access
[Quidway-Ethernet2/0/1]q 退出
[Quidway]inter ethernet 2/0/2
[Quidway-Ethernet2/0/2]port link access
[Quidway-Ethernet2/0/2]q
[Quidway]inter ethernet 2/0/3
[Quidway-Ethernet2/0/3]port link access
[Quidway-Ethernet2/0/3]q
[Quidway]inter ethernet 2/0/4
[Quidway-Ethernet2/0/4]port link access
[Quidway-Ethernet2/0/4]q
[Quidway]inter ethernet 2/0/5
[Quidway-Ethernet2/0/5]port link access
[Quidway-Ethernet2/0/5]q
[Quidway]inter ethernet 2/0/6
[Quidway-Ethernet2/0/6]port link access
[Quidway-Ethernet2/0/6]q
[Quidway]inter ethernet 2/0/7
[Quidway-Ethernet2/0/7]port link access
[Quidway-Ethernet2/0/7]q
[Quidway]inter ethernet 2/0/8
[Quidway-Ethernet2/0/8]port link access
[Quidway-Ethernet2/0/8]q
[Quidway]inter ethernet 2/0/9
[Quidway-Ethernet2/0/9]port link access
[Quidway-Ethernet2/0/9]q
[Quidway]inter ethernet 2/0/10
[Quidway-Ethernet2/0/10]port link access
[Quidway-Ethernet2/0/10]q
[Quidway]inter ethernet 2/0/11
[Quidway-Ethernet2/0/11]port link access
[Quidway-Ethernet2/0/11]q
[Quidway]vlan 2 进入VLAN2
[Quidway-vlan2]portethernet 2/0/0 将2/0/0口加入VLAN2
[Quidway-vlan2]port ethernet 2/0/1 将2/0/1口加入VLAN2
[Quidway-vlan2]port ethernet 2/0/2
[Quidway-vlan2]port ethernet 2/0/3
[Quidway-vlan2]port ethernet 2/0/4
[Quidway-vlan2]port ethernet 2/0/5
[Quidway-vlan2]port ethernet 2/0/6
[Quidway-vlan2]port ethernet 2/0/7
[Quidway-vlan2]port ethernet 2/0/8
[Quidway-vlan2]port ethernet 2/0/9
[Quidway-vlan2]port ethernet 2/0/10
[Quidway-vlan2]port ethernet 2/0/11
[Quidway]vlan 3
[Quidway-vlan3]q
[Quidway]inter vlan 3
[Quidway-Vlanif3]ip address 192.168.3.1255.255.255.0
[Quidway-Vlanif3]q
[Quidway]inter ethernet 2/0/12
[Quidway-Ethernet2/0/12]port link access
[Quidway-Ethernet2/0/12]q
[Quidway]inter ethernet 2/0/13
[Quidway-Ethernet2/0/13]port link access
[Quidway-Ethernet2/0/13]q
[Quidway]inter ethernet 2/0/14
[Quidway-Ethernet2/0/14]port link access
[Quidway-Ethernet2/0/14]q
[Quidway]inter ethernet 2/0/15
[Quidway-Ethernet2/0/15]port link access
[Quidway-Ethernet2/0/15]q
[Quidway]inter ethernet 2/0/16
[Quidway-Ethernet2/0/16]port link access
[Quidway-Ethernet2/0/16]q
[Quidway]inter ethernet 2/0/17
[Quidway-Ethernet2/0/17]port link access
[Quidway-Ethernet2/0/17]q
[Quidway]inter ethernet 2/0/18
[Quidway-Ethernet2/0/18]port link access
[Quidway-Ethernet2/0/18]q
[Quidway]inter ethernet 2/0/19
[Quidway-Ethernet2/0/19]port link access
[Quidway-Ethernet2/0/19]q
[Quidway]inter ethernet 2/0/20
[Quidway-Ethernet2/0/20]port link access
[Quidway-Ethernet2/0/20]q
[Quidway]inter ethernet 2/0/21
[Quidway-Ethernet2/0/21]port link access
[Quidway-Ethernet2/0/21]q
[Quidway]inter ethernet 2/0/22
[Quidway-Ethernet2/0/22]port link access
[Quidway-Ethernet2/0/22]q
[Quidway]inter ethernet 2/0/23
[Quidway-Ethernet2/0/23]port link access
[Quidway-Ethernet2/0/23]q
[Quidway]vlan 3
[Quidway-vlan3]port ethernet 2/0/12
[Quidway-vlan3]port ethernet 2/0/13
[Quidway-vlan3]port ethernet 2/0/14
[Quidway-vlan3]port ethernet 2/0/15
[Quidway-vlan3]port ethernet 2/0/16
[Quidway-vlan3]port ethernet 2/0/17
[Quidway-vlan3]port ethernet 2/0/18
[Quidway-vlan3]port ethernet 2/0/19
[Quidway-vlan3]port ethernet 2/0/20
[Quidway-vlan3]port ethernet 2/0/21
[Quidway-vlan3]port ethernet 2/0/22
[Quidway-vlan3]port ethernet 2/0/23
[Quidway-vlan3]q
[Quidway]vlan 4
[Quidway-vlan4]inter vlan 4
[Quidway-Vlanif4]ip address 192.168.4.1255.255.255.0
[Quidway-Vlanif4]q
[Quidway]inter ethernet 2/0/24
[Quidway-Ethernet2/0/24]port link access
[Quidway-Ethernet2/0/24]q
[Quidway]inter ethernet 2/0/25
[Quidway-Ethernet2/0/25]port link access
[Quidway-Ethernet2/0/25]q
[Quidway]inter ethernet 2/0/26
[Quidway-Ethernet2/0/26]port link access
[Quidway-Ethernet2/0/26]q
[Quidway]inter ethernet 2/0/27
[Quidway-Ethernet2/0/27] port link access
[Quidway-Ethernet2/0/27]q
[Quidway]inter ethernet 2/0/28
[Quidway-Ethernet2/0/28]port link access
[Quidway-Ethernet2/0/28]q
[Quidway]inter ethernet 2/0/29
[Quidway-Ethernet2/0/29]port link access
[Quidway-Ethernet2/0/29]q
[Quidway]inter ethernet 2/0/30
[Quidway-Ethernet2/0/30]port link access
[Quidway-Ethernet2/0/30]q
[Quidway]inter ethernet 2/0/31
[Quidway-Ethernet2/0/31]port link access
[Quidway-Ethernet2/0/31]q
[Quidway]inter ethernet 2/0/32
[Quidway-Ethernet2/0/32]port link access
[Quidway-Ethernet2/0/32]q
[Quidway]inter ethernet 2/0/33
[Quidway-Ethernet2/0/33]port link access
[Quidway-Ethernet2/0/33]q
[Quidway]inter ethernet 2/0/34
[Quidway-Ethernet2/0/34]port link access
[Quidway-Ethernet2/0/34]q
[Quidway]inter ethernet 2/0/35
[Quidway-Ethernet2/0/35]port link access
[Quidway-Ethernet2/0/35]q
[Quidway]vlan 4
[Quidway-vlan4]port ethernet 2/0/24
[Quidway-vlan4]port ethernet 2/0/25
[Quidway-vlan4]port ethernet 2/0/26
[Quidway-vlan4]port ethernet 2/0/27
[Quidway-vlan4]port ethernet 2/0/28
[Quidway-vlan4]port ethernet 2/0/29
[Quidway-vlan4]port ethernet 2/0/30
[Quidway-vlan4]port ethernet 2/0/31
[Quidway-vlan4]port ethernet 2/0/32
[Quidway-vlan4]port ethernet 2/0/33
[Quidway-vlan4]port ethernet 2/0/34
[Quidway-vlan4]port ethernet 2/0/35
[Quidway-vlan4]q
[Quidway]vlan 5
[Quidway-vlan5]q
[Quidway]inter vlan 5
[Quidway-Vlanif5]ip address 192.168.5.1255.255.255.0
[Quidway-Vlanif5]q
[Quidway]inter ethernet 2/0/36
[Quidway-Ethernet2/0/36]port link access
[Quidway-Ethernet2/0/36]q
[Quidway]inter ethernet 2/0/37
[Quidway-Ethernet2/0/37]port link access
[Quidway-Ethernet2/0/37]q
[Quidway]inter ethernet 2/0/38
[Quidway-Ethernet2/0/38]port link access
[Quidway-Ethernet2/0/38]q
[Quidway]inter ethernet 2/0/39
[Quidway-Ethernet2/0/39]port link access
[Quidway-Ethernet2/0/39]q
[Quidway]inter ethernet 2/0/40
[Quidway-Ethernet2/0/40]port link access
[Quidway-Ethernet2/0/40]q
[Quidway]inter ethernet 2/0/41
[Quidway-Ethernet2/0/41]port link access
[Quidway-Ethernet2/0/41]q
[Quidway]inter ethernet 2/0/42
[Quidway-Ethernet2/0/42]port link access
[Quidway-Ethernet2/0/42]q
[Quidway]inter ethernet 2/0/43
[Quidway-Ethernet2/0/43]port link access
[Quidway-Ethernet2/0/43]q
[Quidway]inter ethernet 2/0/44
[Quidway-Ethernet2/0/44]port link access
[Quidway-Ethernet2/0/44]q
[Quidway]vlan 5
[Quidway-vlan5]port ethernet 2/0/36
[Quidway-vlan5]port ethernet 2/0/37
[Quidway-vlan5]port ethernet 2/0/38
[Quidway-vlan5]port ethernet 2/0/39
[Quidway-vlan5]port ethernet 2/0/40
[Quidway-vlan5]port ethernet 2/0/41
[Quidway-vlan5]port ethernet 2/0/42
[Quidway-vlan5]port ethernet 2/0/43
[Quidway-vlan5]port ethernet 2/0/44
[Quidway-vlan5]q
[Quidway]vlan 6
[Quidway-vlan6]q
[Quidway]inter vlan 6
[Quidway-Vlanif6]ip address 192.168.6.1255.255.255.0
[Quidway-Vlanif6]q
[Quidway]inter ethernet 2/0/45
[Quidway-Ethernet2/0/45]port link access
[Quidway-Ethernet2/0/45]q
[Quidway]inter ethernet 2/0/46
[Quidway-Ethernet2/0/46]port link access
[Quidway-Ethernet2/0/46]q
[Quidway]inter ethernet 2/0/47
[Quidway-Ethernet2/0/47]port link access
[Quidway-Ethernet2/0/47]q
[Quidway]vlan 6
[Quidway-vlan6]port ethernet 2/0/45
[Quidway-vlan6]port ethernet 2/0/46
[Quidway-vlan6]port ethernet 2/0/47
光口:
[Quidway]interface GigabitEthernet1/0/0
[Quidway-GigabitEthernet1/0/0]port linkaccess
[Quidway-GigabitEthernet1/0/0]q
[Quidway]inter g1/0/1
[Quidway-GigabitEthernet1/0/1]port linkaccess
[Quidway-GigabitEthernet1/0/1]q
[Quidway]inter g1/0/2
[Quidway-GigabitEthernet1/0/2]port linkaccess
[Quidway-GigabitEthernet1/0/2]q
[Quidway]inter g1/0/3
[Quidway-GigabitEthernet1/0/3]port linkaccess
[Quidway-GigabitEthernet1/0/3]q
[Quidway]inter g1/0/4
[Quidway-GigabitEthernet1/0/4]port linkaccess
[Quidway-GigabitEthernet1/0/4]q
[Quidway]inter g1/0/5
[Quidway-GigabitEthernet1/0/5]port linkaccess
[Quidway-GigabitEthernet1/0/5]q
[Quidway]vlan 6
[Quidway-vlan6]port GigabitEthernet1/0/0
[Quidway-vlan6]port GigabitEthernet1/0/1
[Quidway-vlan6]port GigabitEthernet1/0/2
[Quidway-vlan6]port GigabitEthernet1/0/3
[Quidway-vlan6]port GigabitEthernet1/0/4
[Quidway-vlan6]port GigabitEthernet1/0/5
[Quidway-vlan6]q
[Quidway]vlan 7
[Quidway-vlan7]q
[Quidway]inter vlan 7
[Quidway-Vlanif7]ip address 192.168.7.1255.255.255.0
[Quidway-Vlanif7]q
[Quidway]inter GigabitEthernet1/0/6
[Quidway-GigabitEthernet1/0/6]port linkaccess
[Quidway-GigabitEthernet1/0/6]q
[Quidway]inter g1/0/7
[Quidway-GigabitEthernet1/0/7]port link access
[Quidway-GigabitEthernet1/0/7]q
[Quidway]inter g1/0/8
[Quidway-GigabitEthernet1/0/8]port linkaccess
[Quidway-GigabitEthernet1/0/8]q
[Quidway]inter g1/0/9
[Quidway-GigabitEthernet1/0/9]port linkaccess
[Quidway-GigabitEthernet1/0/9]q
[Quidway]inter g1/0/10
[Quidway-GigabitEthernet1/0/10]port linkaccess
[Quidway-GigabitEthernet1/0/10]q
[Quidway]inter g1/0/11
[Quidway-GigabitEthernet1/0/11]port linkaccess
[Quidway-GigabitEthernet1/0/11]q
[Quidway]vlan 7
[Quidway-vlan7]port GigabitEthernet1/0/6
[Quidway-vlan7]port GigabitEthernet1/0/7
[Quidway-vlan7]port GigabitEthernet1/0/8
[Quidway-vlan7]port GigabitEthernet1/0/9
[Quidway-vlan7]port GigabitEthernet1/0/10
[Quidway-vlan7]port GigabitEthernet1/0/11
[Quidway-vlan7]q
[Quidway]vlan 8
[Quidway-vlan8]q
[Quidway]inter vlan 8
[Quidway-Vlanif8]ip address 192.168.8.1255.255.255.0
[Quidway-Vlanif8]q
[Quidway]vlan 8
[Quidway-vlan8]port GigabitEthernet1/0/12
Error: Trunk or Hybrid port(s) cannot beadded or deleted in this manner
[Quidway-vlan8]q
[Quidway]inter g1/0/12
[Quidway-GigabitEthernet1/0/12]port linkaccess
[Quidway-GigabitEthernet1/0/12]q
[Quidway]inter g1/0/13
[Quidway-GigabitEthernet1/0/13]port linkaccess
[Quidway-GigabitEthernet1/0/13]q
[Quidway]inter g1/0/14
[Quidway-GigabitEthernet1/0/14]port link access
[Quidway-GigabitEthernet1/0/14]q
[Quidway]inter g1/0/15
[Quidway-GigabitEthernet1/0/15]port linkaccess
[Quidway-GigabitEthernet1/0/15]q
[Quidway]inter g1/0/16
[Quidway-GigabitEthernet1/0/16]port linkaccess
[Quidway-GigabitEthernet1/0/16]q
[Quidway]inter g1/0/17
[Quidway-GigabitEthernet1/0/17]port linkaccess
[Quidway-GigabitEthernet1/0/17]q
[Quidway]inter g1/0/18
[Quidway-GigabitEthernet1/0/18]port linkaccess
[Quidway-GigabitEthernet1/0/18]q
[Quidway]vlan 8
[Quidway-vlan8]port g1/0/12
[Quidway-vlan8]port g1/0/13
[Quidway-vlan8]port g1/0/14
[Quidway-vlan8]port g1/0/15
[Quidway-vlan8]port g1/0/16
[Quidway-vlan8]port g1/0/17
[Quidway-vlan8]port g1/0/18
[Quidway-vlan8]q
[Quidway]vlan 9
[Quidway-vlan9]q
[Quidway]inter vlan 9
[Quidway-Vlanif9]ip address 192.168.9.1255.255.255.0
[Quidway-Vlanif9]inter g1/0/19
[Quidway-GigabitEthernet1/0/19]port linkaccess
[Quidway-GigabitEthernet1/0/19]q
[Quidway]inter g1/0/20
[Quidway-GigabitEthernet1/0/20]port linkaccess
[Quidway-GigabitEthernet1/0/20]q
[Quidway]inter g1/0/21
[Quidway-GigabitEthernet1/0/21]port linkaccess
[Quidway-GigabitEthernet1/0/21]q
[Quidway]inter g1/0/22
[Quidway-GigabitEthernet1/0/22]port linkaccess
[Quidway-GigabitEthernet1/0/22]q
[Quidway]inter g1/0/23
[Quidway-GigabitEthernet1/0/23]port linkaccess
[Quidway-GigabitEthernet1/0/23]q
[Quidway]vlan 9
[Quidway-vlan9]port g1/0/19
[Quidway-vlan9]port g1/0/20
[Quidway-vlan9]port g1/0/21
[Quidway-vlan9]port g1/0/22
[Quidway-vlan9]port g1/0/23
[Quidway-vlan9]q
[Quidway]q
<Quidway>save
The current configuration will be writtento the device. Continue? [Y/N]:y
Now saving the current configuration to thedevice.
Nov 3 2009 14:52:23 Quidway %%01CFM/4/SAVE(l): The user chose Y whendeciding w
hether to save the configuration to thedevice...
Info: Succeeded in saving the currentconfiguration to the master board device.
Info: Succeeded in saving the currentconfiguration to the device.
<Quidway>