网络互联技术梁广民王隆杰chp02交换机基础

上传人:w****i 文档编号:100816377 上传时间:2019-09-25 格式:PPT 页数:19 大小:1.68MB
返回 下载 相关 举报
网络互联技术梁广民王隆杰chp02交换机基础_第1页
第1页 / 共19页
网络互联技术梁广民王隆杰chp02交换机基础_第2页
第2页 / 共19页
网络互联技术梁广民王隆杰chp02交换机基础_第3页
第3页 / 共19页
网络互联技术梁广民王隆杰chp02交换机基础_第4页
第4页 / 共19页
网络互联技术梁广民王隆杰chp02交换机基础_第5页
第5页 / 共19页
点击查看更多>>
资源描述

《网络互联技术梁广民王隆杰chp02交换机基础》由会员分享,可在线阅读,更多相关《网络互联技术梁广民王隆杰chp02交换机基础(19页珍藏版)》请在金锄头文库上搜索。

1、交换机基础 Basic of Switch,深圳职业技术学院电子与通信工程学院,教学目标( Objectives ),1.交换机功能( Function of Switch ) 2.交换机启动顺序(The Switch Boot Sequence) 3. 交换机基本配置(Configuring Switch) 4.交换机管理( Switch Management ) 5.备份配置文件(Backing Up the Configuration),Switch功能(Function of Switch),Switch是第2层的网络设备(Switch is layer 2 device),交换机启动

2、顺序(The Switch Boot Sequence),启动存储在 NVRAM中的加载器.(The switch loads the boot loader software from NVRAM.) - 启动加载器(The boot loader): 执行低级CPU初始化(Performs low-level CPU initialization.) 执行开机自检 (Performs POST ) 初始化闪存文件系统(Initializes the flash file system ) 加载默认操作系统文件映像到内存,启动交换机(Loads a default operation sys

3、tem software image into memory and boots the switch.) 操作系统使用存储在交换机闪存中操作系统配置文件 config.text(The operating system using the config.text file, stored in the switch flash storage.),步骤 1:PC 或终端已连接到控制台端口。 Step1:Connect to Switch,准备配置交换机(Prepare to Configure the Switch),准备配置交换机(Prepare to Configure the Swit

4、ch),Catalyst交换机的初始启动需要完成以下步骤: - 步骤 2:终端仿真器应用程序(如 HyperTerminal)正在运行且配置正确。,步骤 2:配置终端仿真器应用程序(如 HyperTerminal) Step2: Configure HyperTerminal,准备配置交换机(Prepare to Configure the Switch),步骤 3:在控制台上查看启动过程 Step3: View Boot Process on Console,基本交换机配置( Basic Switch Configuration ),要使用 TCP/IP 来远程管理交换机,就需要为交换机分配

5、 IP 地址。 To manage a switch remotely using TCP/IP, you need to assign the switch an IP address.,配置管理接口( Configure Management Interface ),配置管理接口 - 要在交换机的管理 VLAN 上配置 IP 地址和子网掩码,您必须处在 VLAN 接口配置模式下。,要在交换机的管理 VLAN 上配置 IP 地址和子网掩码,您必须处在 VLAN 接口配置模式下。 Configure an IP address and subnet mask on the management

6、 VLAN of the switch.,配置默认网关( Configure Default Gateway ),配置默认网关 - 需要将交换机配置为可将 IP 数据包转发到远程网络。,需要将交换机配置为可将 IP 数据包转发到远程网络。 Configure default gateway of the switch so that it can forward IP packets to distant networks,配置双工和速度(Configure Duplex and Speed),使用duplex接口配置命令来指定交换机端口的双工操作模式。 Use the duplex inte

7、rface configuration command to specify the duplex mode of operation for switch ports.,配置双工和速度(Configure Duplex and Speed),Switch(config)#hostname cat2950 cat2950(config)#interface fastEthernet 0/2 cat2950(config-if)# duplex ? auto Enable AUTO duplex configuration full Force full duplex operation hal

8、f Force half-duplex operation cat2950(config-if)# speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation auto Enable AUTO speed configuration,管理MAC地址表 (Managing the MAC Address Table),交换机使用 MAC地址表来确定如何在端口间转发流量。这些 MAC 表包含动态地址和静态地址 Switches use MAC address tables to determine how to forward t

9、raffic between ports. These MAC tables include dynamic and static addresses.,配置静态MAC地址 ( Configuring Static MAC Addresses ),cat2950(config)#mac-address-table static 0090.F22C.BF56 vlan 2 interface fa0/1 cat2950#show mac-address-table - Vlan Mac Address Type Ports - - - - All 000d.6564.0280 STATIC CP

10、U All 0100.0ccc.cccc STATIC CPU All 0100.0ccc.cccd STATIC CPU All 0100.0cdd.dddd STATIC CPU 2 0090.f22c.bf56 STATIC Fa0/1 Total Mac Addresses for this criterion: 5 cat2950(config)#no mac-address-table static 0090.F22C.BF56 vlan 2 cat2950#clear mac-address-table dynamic,验证交换机配置 ( Verifying Switch Con

11、figuration ),备份配置文件(Backing Up the Configuration),当配置恢复到 startup-config 中后,可在特权执行模式下使用 reload 命令重新启动交换机,以使其重新加载新的启动配置。 Restart the switch so that it reloads the new startup configuration.,恢复配置(Restoring the Configuration),要清除启动配置的内容,请使用 erase nvram: 或 erase startup-config 特权执行命令。 To clear the conten

12、ts of your startup configuration, use the erase nvram: or the erase startup-config privileged EXEC command 要从闪存中删除文件,请使用 delete flash:filename 特权执行命令。 To delete a file from Flash memory, use the delete flash:filename privileged EXEC command.,清除配置信息 ( Clearing Configuration Information ),思考题(Questions),1.交换机启动顺序是什么? 2. 如何配置交换机的管理地址? 3. 如何配置交换机的接口速率和双工模式? 4. 如何查看交换机的MAC地址? 5. 配合配置交换机的静态MAC地址? 6. 如何配置交换机的网关?,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 高等教育 > 大学课件

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号