交换机配置命令明细全面.doc
《交换机配置命令明细全面.doc》由会员分享,可在线阅读,更多相关《交换机配置命令明细全面.doc(10页珍藏版)》请在冰豆网上搜索。
华为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
sys输入sys进入全局模式
[Quidway]vlan2创建VLAN2
[Quidway-vlan2]q退出VLAN2
[Quidway]intervlan2进入VLAN2接口视图
[Quidway-Vlanif2]ipaddress192.168.2.1255.255.255.0配置VLAN2ip地址和子网掩码
[Quidway-Vlanif2]q退出VLAN2接口模式
[Quidway]interethernet2/0/0进入以太网口2/0/0
[Quidway-Ethernet2/0/0]portlinkaccess接口类型为access
[Quidway-Ethernet2/0/0]q退出
[Quidway]interethernet2/0/1进入以太网口2/0/1
[Quidway-Ethernet2/0/1]portlinkaccess接口类型为access
[Quidway-Ethernet2/0/1]q退出
[Quidway]interethernet2/0/2
[Quidway-Ethernet2/0/2]portlinkaccess
[Quidway-Ethernet2/0/2]q
[Quidway]interethernet2/0/3
[Quidway-Ethernet2/0/3]portlinkaccess
[Quidway-Ethernet2/0/3]q
[Quidway]interethernet2/0/4
[Quidway-Ethernet2/0/4]portlinkaccess
[Quidway-Ethernet2/0/4]q
[Quidway]interethernet2/0/5
[Quidway-Ethernet2/0/5]portlinkaccess
[Quidway-Ethernet2/0/5]q
[Quidway]interethernet2/0/6
[Quidway-Ethernet2/0/6]portlinkaccess
[Quidway-Ethernet2/0/6]q
[Quidway]interethernet2/0/7
[Quidway-Ethernet2/0/7]portlinkaccess
[Quidway-Ethernet2/0/7]q
[Quidway]interethernet2/0/8
[Quidway-Ethernet2/0/8]portlinkaccess
[Quidway-Ethernet2/0/8]q
[Quidway]interethernet2/0/9
[Quidway-Ethernet2/0/9]portlinkaccess
[Quidway-Ethernet2/0/9]q
[Quidway]interethernet2/0/10
[Quidway-Ethernet2/0/10]portlinkaccess
[Quidway-Ethernet2/0/10]q
[Quidway]interethernet2/0/11
[Quidway-Ethernet2/0/11]portlinkaccess
[Quidway-Ethernet2/0/11]q
[Quidway]vlan2进入VLAN2
[Quidway-vlan2]portethernet2/0/0将2/0/0口加入VLAN2
[Quidway-vlan2]portethernet2/0/1将2/0/1口加入VLAN2
[Quidway-vlan2]portethernet2/0/2
[Quidway-vlan2]portethernet2/0/3
[Quidway-vlan2]portethernet2/0/4
[Quidway-vlan2]portethernet2/0/5
[Quidway-vlan2]portethernet2/0/6
[Quidway-vlan2]portethernet2/0/7
[Quidway-vlan2]portethernet2/0/8
[Quidway-vlan2]portethernet2/0/9
[Quidway-vlan2]portethernet2/0/10
[Quidway-vlan2]portethernet2/0/11
[Quidway]vlan3
[Quidway-vlan3]q
[Quidway]intervlan3
[Quidway-Vlanif3]ipaddress192.168.3.1255.255.255.0
[Quidway-Vlanif3]q
[Quidway]interethernet2/0/12
[Quidway-Ethernet2/0/12]portlinkaccess
[Quidway-Ethernet2/0/12]q
[Quidway]interethernet2/0/13
[Quidway-Ethernet2/0/13]portlinkaccess
[Quidway-Ethernet2/0/13]q
[Quidway]interethernet2/0/14
[Quidway-Ethernet2/0/14]portlinkaccess
[Quidway-Ethernet2/0/14]q
[Quidway]interethernet2/0/15
[Quidway-Ethernet2/0/15]portlinkaccess
[Quidway-Ethernet2/0/15]q
[Quidway]interethernet2/0/16
[Quidway-Ethernet2/0/16]portlinkaccess
[Quidway-Ethernet2/0/16]q
[Quidway]interethernet2/0/17
[Quidway-Ethernet2/0/17]portlinkaccess
[Quidway-Ethernet2/0/17]q
[Quidway]interethernet2/0/18
[Quidway-Ethernet2/0/18]portlinkaccess
[Quidway-Ethernet2/0/18]q
[Quidway]interethernet2/0/19
[Quidway-Ethernet2/0/19]portlinkaccess
[Quidway-Ethernet2/0/19]q
[Quidway]interethernet2/0/20
[Quidway-Ethernet2/0/20]portlinkaccess
[Quidway-Ethernet2/0/20]q
[Quidway]interethernet2/0/21
[Quidway-Ethernet2/0/21]portlinkaccess
[Quidway-Ethernet2/0/21]q
[Quidway]interethernet2/0/22
[Quidway-Ethernet2/0/22]portlinkaccess
[Quidway-Ethernet2/0/22]q
[Quidway]interethernet2/0/23
[Quidway-Ethernet2/0/23]portlinkaccess
[Quidway-Ethernet2/0/23]q
[Quidway]vlan3
[Quidway-vlan3]portethernet2/0/12
[Quidway-vlan3]portethernet2/0/13
[Quidway-vlan3]portethernet2/0/14
[Quidway-vlan3]portethernet2/0/15
[Quidway-vlan3]portethernet2/0/16
[Quidway-vlan3]portethernet2/0/17
[Quidway-vlan3]portethernet2/0/18
[Quidway-vlan3]portethernet2/0/19
[Quidway-vlan3]portethernet2/0/20
[Quidway-vlan3]portethernet2/0/21
[Quidway-vlan3]portethernet2/0/22
[Quidway-vlan3]portethernet2/0/23
[Quidway-vlan3]q
[Quidway]vlan4
[Quidway-vlan4]intervlan4
[Quidway-Vlanif4]ipaddress192.168.4.1255.255.255.0
[Quidway-Vlanif4]q
[Quidway]interethernet2/0/24
[Quidway-Ethernet2/