250 likes | 398 Views
第三天. 第三天 : 各校交换机安装调试. 1 学校网络结构介绍 设备的上架安装 设备的相关配置. 光纤方式直连示意图. 第三天. 第三天 : 各校交换机安装调试. 连接光纤跳线时 注意收发不要接反. 2M-SDH 方式直连示意图. 第三天. 第三天 : 各校交换机安装调试. G.703 转换器. G.703 转换器. SDH 网络. 县中心. 学校. G.703 转换器关健就是设置,平衡与非平衡工作模式,要结合电信线路. ADSL 方式直连示意图. 第三天. 第三天 : 各校交换机安装调试. ADSL 调制解调器.
E N D
第三天 第三天: 各校交换机安装调试 • 1 学校网络结构介绍 • 设备的上架安装 • 设备的相关配置
光纤方式直连示意图 第三天 第三天: 各校交换机安装调试 连接光纤跳线时 注意收发不要接反
2M-SDH方式直连示意图 第三天 第三天: 各校交换机安装调试 G.703 转换器 G.703 转换器 SDH网络 县中心 学校 G.703转换器关健就是设置,平衡与非平衡工作模式,要结合电信线路
ADSL方式直连示意图 第三天 第三天: 各校交换机安装调试 ADSL 调制解调器 ADSL 调制解调器 ADSL 网络 县中心 学校
设备的安装上架 第三天 第三天: 各校交换机安装调试
设备的安装上架 第三天 第三天: 各校交换机安装调试
设备的调试 第三天 第三天: 各校交换机安装调试
启动终端仿真软件 第三天 第三天: 各校交换机安装调试 开始->程序-> 附件 ->通信工具->超级终端 区号任填一组数如0597 单击 确定 单击 确定
设备的调试 第三天 第三天: 各校交换机安装调试 名称:随便写后 单击 确定
设备的调试 第三天 第三天: 各校交换机安装调试 选择连接的接口:PC主机为COM1口;笔记本口结合实际情况
设备的调试 第三天 第三天: 各校交换机安装调试 属性:分别为:9600,8,无,1 ,无
设备的调试 第三天 第三天: 各校交换机安装调试 --- System Configuration Dialog --- Would you like to enter the initial configuration dialog? [yes/no]: % Please answer 'yes' or 'no'. Would you like to enter the initial configuration dialog? [yes/no]: % Please answer 'yes' or 'no'. Would you like to enter the initial configuration dialog? [yes/no]: % Please answer 'yes' or 'no'. Would you like to enter the initial configuration dialog? [yes/no]: % Please answer 'yes' or 'no'. Would you like to enter the initial configuration dialog? [yes/no]: % Please answer 'yes' or 'no'. Would you like to enter the initial configuration dialog? [yes/no]: no Switch> Switch>
1 配置交换机名字 第三天 第三天: 各校交换机安装调试 如: 上杭湖洋中学SRW208交换机 SH-HYZX-SRW208-SW Switch>enable Switch#configure terminal Switch(config)#hostname SH-HYZX-SRW208-SW SH-HYZX-SRW208-SW(config)#
第三天 2 配置交换机欢迎信息 第三天: 各校交换机安装调试 switch(config)#banner motd # Enter TEXT message. End with the character ‘#' Welcome supervisor! # switch(config)# switch(config)#banner motd # Welcome to SH-HYZX-SRW208-SW # switch(config)#
3 设置交换机的密码 第三天 第三天: 各校交换机安装调试 switch# configurate terminal 进入全局配置模式 switch(config)#enable password xxxx 配置enable 密码 switch(config)#line vty 0 15 进入telnet线程 switch(config-line)#login 启用登录方式 switch(config-line)#password xxxx 设置登录密码 Example: switch# configurate terminal switch(config)#enable password cisco switch(config)#line vty 0 15 switch(config-line)#login switch(config-line)#password cisco
4 VLAN 的配置 第三天 第三天: 各校交换机安装调试 swtich#vlan database swtich(vlan)#vlan 28 name zhaosheng swtich(vlan)#exit SH-HYZX-SRW208-SW#config t SH-HYZX-SRW208-SW(config)#vlan 28 SH-HYZX-SRW208-SW(config-vlan)#name zhaosheng SH-HYZX-SRW208-SW(config-vlan)# 注意:在vlan database 的模式下只能设置小于1000的vlan号 大于1000的vlan号必须在全局模式下配置
5 将接口加入VLAN 第三天 第三天: 各校交换机安装调试 将交换机的第一号接口加入VLAN 28中 SH-HYZX-SRW208-SW(config)#interface fastEthernet 0/1 SH-HYZX-SRW208-SW(config-if)#switchport mode access SH-HYZX-SRW208-SW(config-if)#switchport access vlan 28 SH-HYZX-SRW208-SW#sh vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Gi0/1 10 VLAN0010 active 28 zhaosheng active Fa0/1 100 test active 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup
第三天 6 设置交换机Trunk接口 第三天: 各校交换机安装调试 二层交换机配置方法 SH-HYZX-SRW208-SW(config)#interface gigabitEthernet 0/1 SH-HYZX-SRW208-SW(config-if)#switchport mode trunk SH-HYZX-SRW208-SW(config-if)#switchport trunk allowed vlan 1,28 三层交换机配置方法 SH-HYZX-SRW208-SW(config)#interface gigabitEthernet 0/1 SH-HYZX-SRW208-SW(config-if)#switchport trunk encapsulation dot1q SH-HYZX-SRW208-SW(config-if)#switchport mode trunk SH-HYZX-SRW208-SW(config-if)#switchport trunk allowed vlan 1,28 注意:采用光纤直连方式的学校需要配置Trunk,vlan号一定要对
7 设置VLAN接口IP地址( 管理IP地址) 第三天 第三天: 各校交换机安装调试 SH-HYZX-SRW208-SW(config)#interface vlan 28 SH-HYZX-SRW208-SW(config-if)#ip address 192.168.28.254 255.255.255.0 SH-HYZX-SRW208-SW(config-if)#no shutdown SH-HYZX-SRW208-SW(config-if)# 检查配置 SH-HYZX-SRW208-SW#sh ip int brief Interface IP-Address OK? Method Status Protocol Vlan1 unassigned YES unset administratively down down Vlan28 192.168.28.254 YES manual up down FastEthernet0/1 unassigned YES unset down down FastEthernet0/2 unassigned YES unset down down FastEthernet0/3 unassigned YES unset down down FastEthernet0/4 unassigned YES unset down down FastEthernet0/5 unassigned YES unset down down FastEthernet0/6 unassigned YES unset down down 注意:这里配置的IP为每个学校都不一样
8 配置交换机的默认路由 第三天 第三天: 各校交换机安装调试 SH-HYZX-SRW208-SW#config t SH-HYZX-SRW208-SW(config)#ip route 0.0.0.0 0.0.0.0 192.168.38.254 作用:在二层交换机中作为网管使用
9 端口安全性设置 第三天 第三天: 各校交换机安装调试 SH-HYZX-SRW208-SW(config)#interface fastEthernet 0/1 SH-HYZX-SRW208-SW(config-if)#switchport port-security SH-HYZX-SRW208-SW(config-if)#switchport port-security maximum 2 SH-HYZX-SRW208-SW(config-if)#switchport port-security mac-address aaaa.bbbb.cccc SH-HYZX-SRW208-SW(config-if)#switchport port-security violation shutdown
10 设置交换机快速接口 第三天 第三天: 各校交换机安装调试 SH-HYZX-SRW208-SW(config)#interface fastEthernet 0/2 SH-HYZX-SRW208-SW(config-if)#spanning-tree portfast %Warning: portfast should only be enabled on ports connected to a single host. Connecting hubs, concentrators, switches, bridges, etc... to this interface when portfast is enabled, can cause temporary bridging loops. Use with CAUTION %Portfast has been configured on FastEthernet0/2 but will only have effect when the interface is in a non-trunking mode. SH-HYZX-SRW208-SW(config-if)# 注意:此特性只能用于接终端的交换机接口(电脑,打印机,电话等)
11 SNMP 配置 第三天 第三天: 各校交换机安装调试 swtich(config)# snmp-server contact shou可选 switch(config)# snmp-server location fuzhou.uplife可选 switch(config)#snmp-server community xxxx RW 必须 switch(config)# snmp-server host 192.168.1.23 version 2c xxxx必须 switch(config)# snmp-server enable traps 必须
12 SYSLOG 服务的配置 第三天 第三天: 各校交换机安装调试 Switch(config)#service timestamps log datetime Switch(config)# logging buffered Switch(config)#logging source-interface Vlan1 Switch(config)# logging host 192.168.35.215
设备的调试 第三天 第三天: 各校交换机安装调试