2950交换机配置文档

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

2950交换机简明配置维护手册中国思科培训网目录说明..................................................................................................................................................3产品特性...........................................................................................................................................3配置端口...........................................................................................................................................4配置一组端口...........................................................................................................................4配置二层端口...........................................................................................................................6配置端口速率及双工模式...............................................................................................6端口描述...........................................................................................................................7监控及维护端口.......................................................................................................................8监控端口和控制器的状态...............................................................................................8刷新、重置端口及计数器.............................................................................................10关闭和打开端口.............................................................................................................10配置VLAN....................................................................................................................................11理解VLAN............................................................................................................................11可支持的VLAN.....................................................................................................................12配置正常范围的VLAN.........................................................................................................12生成、修改以太网VLAN.............................................................................................13删除VLAN.....................................................................................................................15将端口分配给一个VLAN.............................................................................................15配置VLANTrunks................................................................................................................16使用STP实现负载均衡................................................................................................19配置Cluster....................................................................................................................................23说明本手册只包括日常使用的有关命令及特性,其它未涉及的命令及特性请参考英文的详细配置手册。产品特性2950是只支持二层的交换机支持VLAN到250个VLAN支持VLANID从1到4094(IEEE802.1Q标准)支持ISL及IEEE802.1Q封装安全支持IOS标准的密码保护支持标准及扩展的访问列表来定义安全策略支持基于VLAN的访问列表监视交换机LED指示端口状态SPAN及远端SPAN(RSPAN)可以监视任何端口或VLAN的流量内置支持四组的RMON监控功能(历史、统计、告警及事件)配置端口配置一组端口命令目的Step1configureterminal进入配置状态Step2interfacerange{port-range}进入组配置状态Step3可以使用平时的端口配置命令进行配置Step4End退回Step5showinterfaces[interface-id]验证配置Step6copyrunning-configstartup-config保存当使用interfacerange命令时有如下的规则:有效的组范围:ovlan从1到4094ofastethernet槽位/{firstport}-{lastport},槽位为0ogigabitethernet槽位/{firstport}-{lastport},槽位为0oport-channelport-channel-number-port-channel-number,port-channel号从1到64端口号之间需要加入空格,如:interfacerangefastethernet0/1–5是有效的,而interfacerangefastethernet0/1-5是无效的.interfacerange命令只能配置已经存在的interfacevlan所有在同一组的端口必须是相同类别的。见以下例子:Switch#configureterminalSwitch(config)#interfacerangefastethernet0/1-5Switch(config-if-range)#noshutdownSwitch(config-if-range)#*Oct608:24:35:%LINK-3-UPDOWN:InterfaceFastEthernet0/1,changedstatetoup*Oct608:24:35:%LINK-3-UPDOWN:InterfaceFastEthernet0/2,changedstatetoup*Oct608:24:35:%LINK-3-UPDOWN:InterfaceFastEthernet0/3,changedstatetoup*Oct608:24:35:%LINK-3-UPDOWN:InterfaceFastEthernet0/4,changedstatetoup*Oct608:24:35:%LINK-3-UPDOWN:InterfaceFastEthernet0/5,changedstatetoup*Oct608:24:36:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/05,changedstatetoup*Oct608:24:36:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/3,changedstatetoup*Oct608:24:36:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/4,changedstatetoup以下的例子显示使用句号来配置不同类型端口的组:Switch#configureterminalSwitch(config)#interfacerangefastethernet0/1-3,gigabitethernet0/1-2Switch(config-if-range)#noshutdownSwitch(config-if-range)#*Oct608:29:28:%LINK-3-UPDOWN:InterfaceFastEthernet0/1,changedstatetoup*Oct608:29:28:%LINK-3-UPDOWN:InterfaceFastEthernet0/2,changedstatetoup*Oct608:29:28:%LINK-3-UPDOWN:InterfaceFastEthernet0/3,changedstatetoup*Oct608:29:28:%LINK-3-UPDOWN:InterfaceGigabitEthernet0/1,changedstatetoup*Oct608:29:28:%LINK-3-UPDOWN:InterfaceGigabitEthernet0/2,changedstatetoup*Oct608:29:29:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceGigabitEthernet0/1,changedstatetoup*Oct608:29:29:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/2,changedstatetoup*Oct608:29:29:%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/3,changedstatetoup配置二层端

1 / 23
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功