您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 经营企划 > cisco2950交换机配置
2950交换机简明配置维护手册中望商业机器公司2002-12-14目录说明..................................................................................................................................................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,changedsta
本文标题:cisco2950交换机配置
链接地址:https://www.777doc.com/doc-5856741 .html