ImageVerifierCode 换一换
格式:DOCX , 页数:21 ,大小:50.33KB ,
资源ID:8977923      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/8977923.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(附录5如何设置交换机的端口速率双工模式.docx)为本站会员(b****7)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

附录5如何设置交换机的端口速率双工模式.docx

1、附录5如何设置交换机的端口速率双工模式附录5:如何设置交换机的端口速率、双工模式 1附录6:如何关闭交换机的生成树协议及启用端口快速 4附录7:如何设置路由器、交换机的组播 7附录5:如何设置交换机的端口速率、双工模式注:黑体为命令,底纹为注释,斜体为举例。因同一厂家不同型号及同一型号不同版本的 IOS会有所不同,如与本文中介绍有所不同,为正常情况,请参考厂家相关设备技术资料或联系相关技术支持。原则:首先配置端口的速度,然后配置双工模式,千兆端口请参考设备技术手册。CISCO交换机在基于IOS交换机上的配置进入以太网端口 EthernetO/3 的配置模式SwitchenableSwitch#

2、 con figure termi nalSwitch(c on fig)# in terface in terface module/nu mber例:Switch (co nfig)# in terface faO/3Switch(co nfig-if)# speed 10|100|1000 设置端口的速率例:Switch(config-if)# speed 100 将以太网端口 Ethernet0/3 端口速率设置为 100MbpsSwitch(config-if)# duplex full|half|auto 设置以太网端口的全双工 /半双工属性例:Switch(config-if)#

3、 duplex full 将以太网端口 Ethernet0/3 端口设为全双工Switch(config-if)# end 或两次 exitSwitch# copy runnin g-c onfig startup-c onfig返回到特权模式下将配置文件保存到NVRAM 中在基于CatOS交换机上的配置Switch enable进入特权用户Switch (en able) set port speed mod_num/port_ num 10|100|1000|auto 设置端口的速率例:Switch (enable)set port speed 2/3 100 将端口 2/3 的速度设为

4、100MbpsSwitch (en able) set port例:Switch (enable)mod _n um/port_ num full|half 设置端口的双工模式set port duplex 2/3 full 将端口 2/3 设为全双工Switch(en able) show port mod_nu m/port_ num 查看端口配置结果例:Switch (enable) show port 2/3 查看端口 2/3 的配置结果基于CatOS的交换机输入完的命令立即存储到 NVRAM中华为交换机Quidwaysystem-view 进入系统视图Quidway in terfa

5、ce i nterface_type in terface _nu m|i nterface _n ame进入以太网端口配置模式 例:Quidway in terface ethernetO/3 进入端口 EthernetO/3 的配置模式Quidway-EthernetO/3 speed 例:Quidway-EthernetO/310| 100| auto 设置端口的速率Quidway-EthernetO/3duplex half | full例:Quidway-Ethernet0/3 duplex full| auto 设置以太网端口的全双工 /半双工属性将端口 Ethernet0/3设置

6、为全双工speed 100 将端口 EthernetO/3 速率设置为 100Mbps港湾交换机Harbourenable进入配置模式Password:*输入口令关闭自适应模式 on为打开Harbour(c on fig)# config port |all auto off例: config port 24 auto off关闭端口 24的自适应模式config port 3,7,9,18-22 auto off关闭端口 3、7、9、18-22的自适应模式Harbour(co nfig)# config port |all speed 10|100|1000例:config port 20

7、speed 100 将端口 20 速率设为 100Mbpsconfig port all speed 100 将所有端口速率设为 100Mbps设置端口速率Harbour(c on fig)# config port |all duplex full|half例:config port 20 duplex full 将端口 20设为全双工config port all duplex full 将所有端口设为全双工设置端口双工模式(half为半双工)神州数码交换机User Access Verificati onUsername: adminPassword: *CLI sessi on wit

8、h the host is ope ned. To end the CLI sessi on, en ter Exit. Con sole#Con sole# con figure输入账号、密码进入特权模式进入全局配置模式Con sole(c on fig)#Con sole(con fig-if)#Con sole(c on fig-if)#Con sole(c on fig-if)#in terface ether net 1/3no shutdow nno n egotiati onspeed-duplex 1000full | 100full | 100half | 10full |1

9、0half进入端口 Ethernet1/3 的配置模式启用该端口关闭自适应功能设置端口速率和双工模式例:Console(config-if)# speed-duplex lOOfull将端口 ethernet 1/3 设为100M全双工附录6:如何关闭交换机的生成树协议及启用端口快速CISCO交换机一、关闭生成树协议进入特权用户 进入全局配置模式 关闭某个vlan上的生树树 将vlan 1的生成树关闭 将vla n 1的生成树打开在基于IOS交换机上的配置:SwitchenableSwitch# con figure termi nalSwitch(c on fig)# no spa nnin

10、 g-tree vla n vlan-id例:Switch (config)# no spanning-tree vlan 1例:Switch (config)# spanning-tree vlan 1进入特权用户关闭所有端口的生成树 关闭某个vlan上的生树 将vlan 1的生成树关闭 将vlan 1的生成树打开在基于CatOS交换机上的配置:Switch enableSwitch (en able) set spa ntree disable allSwitch (en able) set spa ntree disable vlan例: Switch (enable) set span

11、tree disable 1例: Switch (enable) set spantree enable 1二、启用快速端口( PortFast为Cisco的私有技术)注:如果启用快速端口,就不用关闭交换机的生成树协议,快速端口只需要在接有终端的端口启用就可以,其他端口可配可不配。其他厂家交换机相同进入特权用户 进入全局配置模式 进入以太网端口配置模式在基于IOS交换机上的配置:Switch enableSwitch# con figure termi nalSwitch(c on fig)# in terface in terface module/nu mberSwitch(con fig

12、-if)# spa nnin g-tree portfast例:Switch (co nfig)# in terface faO/3 进入以太网端口 EthernetO/3 的配置模式打开端口 faO/3的快速端口在基于CatOS交换机上的配置:Switch enable进入特权用户Switch (en able) set spa ntree portfast mod_nu m/port_ num en able|disable打开或关闭某端口的快速端口例: Switch (enable) set spantree 2/3 enable打开端口 2/3的快速端口华为交换机华为交换机缺省情况下,

13、不运行生成树协议,如已开启,默认运行为 RSTP (快速生成树协议)。一、关闭生成树协议1、 关闭整个交换机的生成树Quidwaysystem-viewQuidway stp disabl e2、 关闭某个端口的生成树进入系统视图 关闭生成树协议Quidwaysystem-view Quidway in terface Quidway-EthernetO/3二、启用边缘端口Quidwaysystem-view Quidway in terface Quidway-EthernetO/3ethernetO/3stp disableEdgePort (端口快速)ethernet0/3stp edg

14、ed-port en able进入系统视图进入端口 Ethernet0/3配置模式关闭端口 E0/3的生成树进入系统视图进入端口 Ethernet0/3配置模式设定端口 E0/3为边缘端口港湾交换机港湾交换机缺省情况下,不运行生成树协议,如已开启,默认运行为 RSTP (快速生成树协议)。一、关闭生成树协议进入配置模式 输入口令 关闭生成树1、关闭整个交换机的生成树HarbourenablePassword:*Harbour(c on fig)# config spa nnin g-tree disable2、关闭某个端口的生成树Harbour enable 进入配置模式Password:*

15、输入口令Harbour(c on fig)# config spa nnin g-tree port non e-stp yes |no 设定端口的 RSTP例:config spanning-tree port 10 none-stp yes 将关闭指定端口 10 的RSTP功能、启用边缘端口 EdgePort (快速端口)Harbourenable Password:*Harbour(c on fig)# config spa nnin g-tree port edgeyes |no例:Harbour(c on fig)# config spa nnin g-tree port 8 edg

16、e yes进入配置模式输入口令|设定快速端口设定端口 8为快速端口神州数码交换机神州数码的交换机缺省情况下,不运行生成树协议。1、 关闭整个交换机的生成树User Access Verificati onUsername: adminPassword: *CLI sessi on with the host is ope ned.To end the CLI sessi on, en ter Exit.Con sole#Con sole# con figureCon sole(c on fig)# no spa nnin g-tree2、 关闭某个端口的生成树User Access Verif

17、icati onUsername: adminPassword: *CLI sessi on with the host is ope ned.To end the CLI sessi on, en ter Exit.Con sole#Con sole# con figureCon sole(c on fig)# in terface ether net 3Con sole(c on fig-ifsystem-viewQuidway igmp-snooping enableigmp-s nooping disable进入系统视图 在系统视图启用IGMP监听 为关闭IGMP监听附录7:如何设置路

18、由器、交换机的组播拓扑1 :只有二层交换机,没有路由器或三层交换功能e帆教学终端 e帆教学终端 e帆教学终端 e帆教学终端CISCO交换机CISCO缺省情况下基于IOS的交换机IGMP监听是在全局启动的, 基于Catos的交换机中Catalyst 5000 家族缺省情况下为停用,其他为启用。在基于IOS交换机上的配置SwitchenableSwitch# con figure termi nalSwitch(c on fig)# ip igmp snooping在基于CatOS交换机上的配置Switch enableSwitch (en able) set igmp en able港湾交换机进

19、入配置模式Harbourenable输入口令启用IGMP监听Password:*Harbour(con fig)# service igmp snooping en able神州数码交换机默认情况下,IGMP监听是启用状态。User Access Verificati onUsername: adminPassword: *CLI sessi on with the host is ope ned.To end the CLI sessi on, en ter Exit.Con sole#Con sole# con figureCon sole(c on fig)# ip igmp snoop

20、ing输入账号、密码进入特权模式进入全局配置模式启用IGMP监听拓扑2:有二层交换机,有三层交换机三层交换机33中庆服务器4交换机1 接中庆设备交换机2 接其他设备学校其他 服务器e帆教学终端e帆教学终端e帆教学终端e帆教学终端进入VLAN配置模式创建VLAN10创建VLAN11设VTP域名为zonekeySwitch# con figure termi nalSwitch(c on fig)# ip multicast-rout ingSwitch(c on fig)# in terface vla n 10Switch(c on fig-vla n)#Switch(c on fig-vla

21、 n)#Switch(c on fig-vla n)#ip address 192.168.10.1 255.255.255.0 no shutdow nip pim dense-mode进入vlan10的配置模式设vlan10的IP与掩码启用接口在vlan10的接口启动 PIM-DM协议Switch(c on fig-vla n)# exitSwitch(c on fig)# in terface vla n 11Switch(c on fig-vla n)# Switch(c on fig-vla n)# Switch(c on fig-vla n)# Switch(c on fig-vl

22、a n)#ip address 192.168.11.1 255.255.255.0 no shutdow nip pim dense-modeend进入vlan11的配置模式设vlan11的IP与掩码启用接口在vlan11的接口启动PIM-DM协议CISCO交换机1、三层交换机Switch enSwitch# con figure termi nal进入特权用户 进入全局配置模式Switch# vlan dataSwitch(vla n)# vlan 10 n ame zon ekeySwitch(vla n)# vlan 11 n ame otherSwitch(vla n)# vtp d

23、omai n zon ekeySwitch(vla n)# exitSwitch# con figure termi nalSwitch(co nfig)#in terface fa0/3Switch(co nfig-if)#Switch(co nfig-if)#switchport trunk en cap dot1qswitchport mode trunk进入端口 3的配置模式设端口封装为 802.1Q将端口配置为trunk模式Switch(co nfig-if)#in terface faO/4Switch(co nfig-if)#Switch(co nfig-if)#Switch(c

24、o nfig-if)#switchport trunk en cap dot1q switchport mode trunk end进入端口 4的配置模式设端口封装为 802.1Q将端口配置为trunk模式Switch# con figure termi nalSwitch(co nfig)# in terface fa0/2Switch(co nfig-if)#Switch(co nfig-if)#将端口 2定义为接入端口将端口 2加入VLAN 10中switchport mode accessswitchport access vlan 10Switch(co nfig)# in terf

25、ace faO/5Switch(co nfig-if)#Switch(co nfig-if)#switchport mode accessswitchport access vlan 11将端口 2定义为接入端口将端口 5加入VLAN 11中Switch(c on fig-if)# exitSwitch(c on fig)# ip rout ing2、交换机1Switch enSwitch# con figure termi nalSwitch(c on fig)# host name Switch-1Switch-1(config)# exitSwitch-1# vlan dataSwitc

26、h-1(vla n)# vtp domai n zon ekeySwitch-1(vla n)# vtp clie ntSwitch-1(vla n)# exit进入特权用户进入全局配置模式设VTP域名为zonekey设为客户端模式Switch-1# conf tSwitch-1(co nfig)#Switch-1(co nfig-if)#Switch-1(co nfig-if)#in terface fa0/5 switchport switchporttrunk encap dot1q mode trunkSwitch-1(co nfig)#in terface range fa 0/1S

27、witch-1(co nfig-if)#Switch-1(co nfig-if)#Switch-1(co nfig-if)#switchport mode accessswitchport access vla n 10 end设端口封装为 802.1Q将端口配置为trunk模式将端口 1-4定义为接入端口将端口 1-4加入VLAN 10中Switch# con figure termi nalSwitch(c on fig)# ip igmp snooping3、交换机2进入全局配置模式在全局启用IGMP监听Switch enSwitch# con figure termi nalSwitc

28、h(c on fig)# host name Switch-2Switch-2(config)# exit进入特权用户进入全局配置模式Switch-2# vlan dataSwitch-2(vla n)#Switch-2(vla n)#Switch-2(vla n)#vtp domain zonekeyvtp clie ntexit设VTP域名为zonekey设为客户端模式Switch-2# conf tSwitch-2(co nfig)#in terface faO/4Switch-2(co nfig-if)#switchport trunk encap dotlqSwitch-2(co n

29、fig-if)#switchport mode trunk设端口封装为 802.1Q将端口配置为trunk模式Switch-2(co nfig)#Switch-2(co nfig-if)#Switch-2(co nfig-if)#Switch-2(co nfig-if)#in terface range fa 0/1 switchport mode access switchport access vla n 11 end将端口 1定义为接入端口将端口 1加入 VLAN 11中进入全局配置模式在全局启用IGMP监听Switch-2# con figure termi nalSwitch-2(c on fig)# i

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1