思科cisco2950交换机配置手册中文

上传人:206****923 文档编号:90746518 上传时间:2019-06-15 格式:DOCX 页数:23 大小:65.93KB
返回 下载 相关 举报
思科cisco2950交换机配置手册中文_第1页
第1页 / 共23页
思科cisco2950交换机配置手册中文_第2页
第2页 / 共23页
思科cisco2950交换机配置手册中文_第3页
第3页 / 共23页
思科cisco2950交换机配置手册中文_第4页
第4页 / 共23页
思科cisco2950交换机配置手册中文_第5页
第5页 / 共23页
点击查看更多>>
资源描述

《思科cisco2950交换机配置手册中文》由会员分享,可在线阅读,更多相关《思科cisco2950交换机配置手册中文(23页珍藏版)》请在金锄头文库上搜索。

1、2950交换机简明配置维护手册目录说明3产品特性3配置端口4配置一组端口4配置二层端口6配置端口速率及双工模式6端口描述7监控及维护端口8监控端口和控制器的状态8刷新、重置端口及计数器10关闭和打开端口10配置VLAN11理解VLAN11可支持的VLAN12配置正常范围的VLAN12生成、修改以太网VLAN13删除VLAN14将端口分配给一个VLAN15配置VLAN Trunks16使用STP实现负载均衡19配置Cluster23第1章 说明本手册只包括日常使用的有关命令及特性,其它未涉及的命令及特性请参考英文的详细配置手册。第2章 产品特性2950是只支持二层的交换机支持VLAN 到250个

2、VLAN 支持VLAN ID从1到4094( IEEE 802.1Q 标准) 支持ISL及IEEE 802.1Q封装安全 支持IOS标准的密码保护 支持标准及扩展的访问列表来定义安全策略 支持基于VLAN的访问列表监视 交换机LED指示端口状态 SPAN及远端SPAN (RSPAN) 可以监视任何端口或VLAN的流量 内置支持四组的RMON监控功能(历史、统计、告警及事件)第3章 配置端口3.1 配置一组端口命令 目的 Step1 configure terminal进入配置状态Step2 interface range port-range 进入组配置状态Step3 可以使用平时的端口配置命

3、令进行配置Step4 end退回Step5 show interfaces interface-id验证配置Step6 copy running-config startup-config保存当使用interface range命令时有如下的规则: 有效的组范围:o vlan从1 到4094 o fastethernet 槽位/first port - last port, 槽位为0o gigabitethernet槽位/first port - last port,槽位为0o port-channel port-channel-number - port-channel-number, po

4、rt-channel号从1到64 端口号之间需要加入空格,如:interface range fastethernet 0/15 是有效的,而interface range fastethernet 0/1-5 是无效的. interface range 命令只能配置已经存在的interface vlan 所有在同一组的端口必须是相同类别的。见以下例子:Switch# configure terminalSwitch(config)# interface range fastethernet0/1 - 5 Switch(config-if-range)# no shutdown Switch(

5、config-if-range)#*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface Fas

6、tEthernet0/4, changed state to up*Oct 6 08:24:35: %LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to up*Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/05, changed state to up*Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, chan

7、ged state to up*Oct 6 08:24:36: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up 以下的例子显示使用句号来配置不同类型端口的组:Switch# configure terminalSwitch(config)# interface range fastethernet0/1 - 3, gigabitethernet0/1 - 2 Switch(config-if-range)# no shutdown Switch(config-if-rang

8、e)#*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/2, changed state to up*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to up*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet0/

9、1, changed state to up*Oct 6 08:29:28: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed state to up*Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/ 1, changed state to up*Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/ 2, changed

10、state to up*Oct 6 08:29:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/ 3, changed state to up 3.2 配置二层端口2950的所有端口缺省的端口都是二层口,如果此端口已经配置成三层端口的话,则需要用switchport来使其成为二层端口。3.2.1 配置端口速率及双工模式3.2.1.1 可以配置快速以太口的速率为10/100Mbps及千兆以太口的速率为10/100/1000-Mbps; 但对于GBIC端口则不能配置速率及双工模式,有时可以配置nonegotiate

11、,当需要联接不支持自适应的其它千兆端口时命令目的 Step1 configure terminal进入配置状态.Step2 interface interface-id进入端口配置状态.Step3 speed 10 | 100 | 1000 | auto | nonegotiate设置端口速率 注1000 只工作在千兆口. GBIC模块只工作在1000 Mbps下. nonegotiate 只能在这些GBIC上用 1000BASE-SX, -LX, and -ZX GBIC.Step4 duplex auto | full | half设置全双工或半双工. Step5 end退出Step6 s

12、how interfaces interface-id显示有关配置情况Step7 copy running-config startup-config保存Switch# configure terminalSwitch(config)# interface fastethernet0/3Switch(config-if)# speed 10Switch(config-if)# duplex half3.2.2 端口描述 命令目的 Step1 configure terminal进入配置模式Step2 interface interface-id进入要加入描述的端口Step3 descripti

13、on string加入描述 (最多240个字符).Step4 end退回.Step5 show interfaces interface-id descriptionorshow running-config验证.Step6 copy running-config startup-config保存Use the no description interface configuration command to delete the description.This example shows how to add a description on Fast Ethernet interface

14、 0/4 and to verify the description:Switch# config terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)# interface fastethernet0/4Switch(config-if)# description Connects to MarketingSwitch(config-if)# endSwitch# show interfaces fastethernet0/4 descriptionInterface Status Protocol DescriptionFa0/4 up down Connects to Marketing3.3 监控及维护端口3.3.1 监控端口和控制器的状态主要命令见下表:Show Commands for Interfaces Command 目的 show interfaces interface-id显示所有端口或某一端口的状态和配置.show interfaces interface-id status err-disable

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

当前位置:首页 > 中学教育 > 其它中学文档

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