最新15 交换基础与VLN(共26张PPT课件).pptx

上传人:豆**** 文档编号:27524106 上传时间:2022-07-25 格式:PPTX 页数:26 大小:1.36MB
返回 下载 相关 举报
最新15 交换基础与VLN(共26张PPT课件).pptx_第1页
第1页 / 共26页
最新15 交换基础与VLN(共26张PPT课件).pptx_第2页
第2页 / 共26页
点击查看更多>>
资源描述

《最新15 交换基础与VLN(共26张PPT课件).pptx》由会员分享,可在线阅读,更多相关《最新15 交换基础与VLN(共26张PPT课件).pptx(26页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、 2006, Shenzhen Polytechnic, All rights reserved.1交换交换(jiohun)和和VLANSwitching and VLAN九江职业九江职业(zhy)技术学院信息工程系网络专业技术学院信息工程系网络专业第一页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.2教学教学(jio xu)(jio xu)目标(目标( Objectives )1. 交换机学习主机地址交换机学习主机地址 (Switche Learn Host Address)2. 两种交换方法两种交换方法(fngf)(T

2、wo Switching Methods) 3. 配置端口安全(配置端口安全(Configuring Port Security) 4.密码破解(密码破解(Password Recovery) 5. VLAN操作(操作(VLAN Operations) 6.配置和验证静态配置和验证静态VLAN (Configuring and Verifying Static VLANs)第二页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.3 地址学习(地址学习(Address learning) 决定转发或过滤(决定转发或过滤(Forw

3、ard/filter decision) 避免避免(bmin)环路(环路(Loop avoidance)交换机三种交换机三种(sn zhn)功能功能(Three Switch Functions ) 第三页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.4交换机学习交换机学习(xux)主机地址主机地址 (Switche Learn Host Address) 初始初始(ch sh)MAC地址表是空的地址表是空的 Initial MAC address table is emptyMAC address table0260.8

4、c01.11110260.8c01.22220260.8c01.33330260.8c01.4444E0E1E2E3ABCD第四页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.5交换机学习交换机学习(xux)主机地址主机地址 (Switche Learn Host Address) A向向C发送帧(发送帧(Station A sends a frame to Station C) 交换机将交换机将A的的MAC地址和其对应的接口地址和其对应的接口(ji ku)E0放入放入MAC地址表地址表Switch caches stat

5、ion A MAC address to port E0 by learning the source address of data frames 该帧向除了该帧向除了E0接口的所有接口泛洪接口的所有接口泛洪The frame from station A to station C is flooded out to all ports except port E0 MAC address table0260.8c01.11110260.8c01.22220260.8c01.33330260.8c01.4444E0: 0260.8c01.1111E0E1E2E3DCBA第五页,共二十六页。

6、2006, By Shenzhen Polytechnic. All rights reserved.6交换机学习主机交换机学习主机(zhj)地址地址 (Switche Learn Host Address)D向向C发送帧发送帧(Station D sends a frame to station C)交换机将交换机将D的的MAC地址地址(dzh)和其对应的接口和其对应的接口E3放入放入MAC地址表地址表 Switch caches station D MAC address to port E3 by learning the source Address of data frames该帧向

7、除了该帧向除了E3接口的所有接口泛洪接口的所有接口泛洪The frame from station D to station C is flooded out to all ports except port E3 (unknown unicasts are flooded)MAC address table0260.8c01.11110260.8c01.22220260.8c01.33330260.8c01.4444E0: 0260.8c01.1111E3: 0260.8c01.4444E0E1E2E3DCAB第六页,共二十六页。 2006, By Shenzhen Polytechnic.

8、 All rights reserved.7交换机过滤交换机过滤(gul)帧(帧( Switches Filter Frames) A向向C发送帧发送帧 Station A sends a frame to station C 目的目的(md)地址已知,帧不被泛洪地址已知,帧不被泛洪 Destination is known, frame is not flooded E0: 0260.8c01.1111E2: 0260.8c01.2222E1: 0260.8c01.3333E3: 0260.8c01.44440260.8c01.11110260.8c01.22220260.8c01.3333

9、0260.8c01.4444E0E1E2E3XXDCABMAC address table第七页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.8两种交换两种交换(jiohun)方法(方法(Two Switching Methods)第八页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.9存储转发特征存储转发特征(tzhng)(Store-and-forward Feature)1. 在转发之前整个帧被接收在转发之前整个帧被接收 The entire fr

10、ame is received before any forwarding takes place. 2.由于交换开始之前要接收完整帧,较大的数据由于交换开始之前要接收完整帧,较大的数据(shj)帧延迟较大帧延迟较大 Latency is greater with larger frames because the entire frame must be received before the switching process begins. 第九页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.10直通特征直通特征(t

11、zhng)(Cut-through Feature)1.在接收完整帧之前,帧就被转发。在接收完整帧之前,帧就被转发。The frame is forwarded through the switch before the entire frame is received. 2.最快的是只要读到目的地址最快的是只要读到目的地址(dzh)就转发。就转发。At a minimum the frame destination address must be read before the frame can be forwarded.3.这种模式降低了延迟,但是不进行检错这种模式降低了延迟,但是不进行

12、检错 This mode decreases the latency of the transmission, but also reduces error detection. 第十页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.11直通分类直通分类(fn li)(Cut-through Class)一、快速转发(一、快速转发(Fast-forward )1.快速转发提供了最低的延迟快速转发提供了最低的延迟 Fast-forward switching offers the lowest level of latency

13、. 2.只要只要(zhyo)读到目的地址,就立刻转发读到目的地址,就立刻转发Fast-forward switching immediately forwards a packet after reading the destination address. 第十一页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.12直通分类直通分类(fn li)(Cut-through Class)二、二、Fragment-free (无碎片方式)(无碎片方式)1.无碎片方式在转发之前过滤无碎片方式在转发之前过滤(gul)掉碰撞碎片掉碰撞

14、碎片Fragment-free switching filters out collision fragments before forwarding begins. 2.无碎片方式在转发之前要读到帧的前无碎片方式在转发之前要读到帧的前64字节字节Fragment-free switching waits until the packet is determined not to be a collision fragment(64bytes) before forwarding第十二页,共二十六页。 2006, By Shenzhen Polytechnic. All rights rese

15、rved.13配置配置(pizh)SVI地址(地址(Configuring SVI Address)Switch(config)#interface vlan 1Switch(config-if)#ip address 10.1.1.1 255.255.255.0Switch(config-if)#no shutdown第十三页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.14配置配置(pizh)端口安全(端口安全(Configuring Port Security)Switch(config)#int f0/1Switc

16、h(config-if)#switchport mode accessSwitch(config-if)#switchport port-security Switch(config-if)#switchport port-security mac-address 0060.6700.dd5bSwitch(config-if)#switchport port-security violation restrict Switch#sh port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Ac

17、tion (Count) (Count) (Count)- Fa0/1 132 1 0 Restrict第十四页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.15 密码密码(m m)破解(破解(Password Recovery)1. 拔掉电源(拔掉电源(Unplug the power cable) 2.按下按下mode按钮(按钮(hold down the mode button)3.输入输入flash_init (type flash_init)4.执行执行dir flash: (type dir flash:)5.

18、重命名配置文件重命名配置文件(rename flash:config.text flash:config.old)6.启动(启动(Boot)7.在进入在进入setup模式模式(msh)提示下输入提示下输入N(enter N at the prompt to start the setup program.)第十五页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.16密码密码(m m)破解(破解(Password Recovery)8. 进入特权模式(进入特权模式(switchenable)9. 重命名配置文件重命名配置文件(

19、rename flash:config.old flash:config.text)10. 将配置文件拷贝到将配置文件拷贝到RAM中运行中运行(copy flash:config.text system:running-config)11.修改修改(xigi)密码密码 (enable password cisco)12.存盘(存盘(write)13.重启(重启(reload)第十六页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.17VLAN预览(预览(VLAN Overview) 分段分段Segmentation 灵活灵活

20、(ln hu) Flexibility 安全安全 Security3rd floor2nd floor1st floorSALESHRENG1 VLAN =1广播广播(gungb)域域1逻辑子网逻辑子网A VLAN = A broadcast domain = Logical network (subnet) 第十七页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.18VLAN操作操作(cozu)(VLAN Operations)Switch AGreenVLANBlackVLAN RedVLAN每一个逻辑每一个逻辑(lu

21、j)的的VLAN就像一个独立的物理网桥就像一个独立的物理网桥 Each logical VLAN is like a separate physical bridge第十八页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.19VLAN操作操作(cozu)(VLAN Operations)Switch AGreenVLANBlackVLAN RedVLANSwitch BGreenVLANBlackVLANRedVLAN 同一个同一个VLAN可以跨越可以跨越(kuyu)多个交换机多个交换机 VLANs can span acr

22、oss multiple switches第十九页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.20VLAN操作操作(cozu)(VLAN Operations)Switch AGreenVLANBlackVLAN RedVLANSwitch BGreenVLANBlackVLANRedVLAN Trunk TRUNK链路携带多个链路携带多个VLAN的数据的数据 Trunks carries traffic for multiple VLANs Trunks利用特定的封装来识别利用特定的封装来识别(shbi)不同的不同的V

23、LAN Trunks use special encapsulation to distinguish between different VLANs Fast Ethernet第二十页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.21VLAN成员成员(chngyun)模式(模式(VLAN Membership Modes)VLAN5静态静态(jngti)VLAN (Static VLAN)动态动态(dngti)VLAN(Dynamic VLAN)MAC = 1111.1111.1111TrunkVMPS1111.1111

24、.1111 = vlan 10 VLAN10Port e0/9Port e0/4第二十一页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.22配置配置(pizh)静态静态VLAN (Configuring Static VLANs)1.创建创建VLAN (create the VLAN )Switch#vlan databaseSwitch(vlan)#vlan vlan_numberSwitch(vlan)#exit 2.将接口将接口(ji ku)指定到指定到VLAN中中assign the VLAN to one or

25、more interfaces : Switch(config)#interface fastethernet 0/9Switch(config-if)#switchport access vlan vlan_number第二十二页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.23配置静态配置静态(jngti)VLAN实例实例 (Configuring Static VLANs Example)Switch#vlan database Switch(vlan)#vlan 2 name v2 VLAN 2 added: Na

26、me: v2Switch(vlan)#vlan 3 name v3VLAN 3 added: Name: v3Switch(vlan)#vlan 4 name v4VLAN 4 modified: Name: v4Switch(vlan)#no vlan 4Deleting VLAN 4.Switch(vlan)#exitAPPLY completed.Exiting.Switch(config)#int f0/2Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 2Switch(c

27、onfig-if)#int f0/3Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 3Switch(config-if)#end第二十三页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.24验证验证(ynzhng)静态静态VLAN配置配置(Verifying Static VLANs Configuration)Switch#sh vlan brieVLAN Name Status Ports- - - -1

28、default active Fa0/1, Fa0/4, Fa0/5, Fa0/6 Fa0/7, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/122 v2 active Fa0/23 v3 active Fa0/31002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active Switch#第二十四页,共二十六页。 2006, By Shenzhen Polytechnic. All rights reserved.2

29、5思考题(思考题(Questions)1. 交换机三种主要交换机三种主要(zhyo)的功能是什么?的功能是什么?2. 交换机怎样学习主机地址?交换机怎样学习主机地址?3. 什么是存储转发?什么是存储转发?4. 什么是快速转发?什么是快速转发?5. 什么是无碎片方式转发?什么是无碎片方式转发?6. 简述交换机密码破解的步骤?简述交换机密码破解的步骤?7. 什么是什么是VLAN?第二十五页,共二十六页。内容(nirng)总结交换(jiohun)和VLANSwitching and VLAN。Fa0/1 132 1 0 Restrict。VLAN Name Status Ports。2 v2 active Fa0/2第二十六页,共二十六页。

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

当前位置:首页 > pptx模板 > 企业培训

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com