2950交换机简要配置手册中文(编辑修改稿)内容摘要:

connected routed afull a100 10/100/1000Base TX Gi0/2 wce server disabled routed auto auto 10/100/1000Base TX Gi0/3 ip wccp webcache notconnect routed auto auto 10/100/1000Base TX Gi0/4 notconnect routed auto auto 10/100/1000Base TX Gi0/5 notconnect routed auto auto 10/100/1000Base TX Gi0/6 disabled routed auto auto 10/100/1000Base TX Gi0/7 disabled routed auto auto 10/100/1000Base TX Gi0/8 disabled routed auto 100 10/100/1000Base TX Gi0/9 notconnect routed auto auto 10/100/1000Base TX Gi0/10 notconnect routed auto auto 10/100/1000Base TX Gi0/11 disabled routed auto auto unknown Gi0/12 notconnect routed auto auto unknown Switch show interfaces fastether 0/1 switchport Name: Fa0/1 Switchport: Enabled Administrative Mode: static access Operational Mode: down Administrative Trunking Encapsulation: dot1q Negotiation of Trunking: Off Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 21001 Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Voice VLAN: dot1p (Inactive) Appliance trust: 5 Switch show runningconfig interface fastether0/2 Building configuration... Current configuration : 131 bytes ! interface FastEther0/2 switchport mode access switchport protected no ip address mls qos cos 7 mls qos cos override end 刷新、重置端口及计数器 Clear 命令 目的 clear counters [interfaceid] 清除端口计数器 . clear line [number | console 0 | vty number] 重置异步串口的硬件逻辑 Note clear counters 命令只清除用 show interface 所显示的计数,不影响用 snmp 得到的计数 举例如下: Switch clear counters fastether0/5 Clear show interface counters on this interface [confirm] y Switch *Sep 30 08:42:55: %CLEAR5COUNTERS: Clear counter on interface FastEther0/5 by vty1 () 可使用 clear line 命令来清除或重置某一端口或串口,在大部分情况下并不需要这样做 : Switch clear interface fastether0/5 关闭和打开端口 命令 目的 Step 1 configure terminal 进入配置状态 Step 2 interface {vlan vlanid} | {{fastether | gigabitether} interfaceid} | {portchannel portchannelnumber} 选择要关闭的端口 Step 3 shutdown 关闭 Step 4 end 退出 Step 5 show runningconfig 验证 使用 no shutdown 命令重新打开端口 . 举例如下 : Switch configure terminal Switch(config) interface fastether0/5 Switch(configif) shutdown Switch(configif) *Sep 30 08:33:47: %LINK5CHANGED: Interface FastEther0/5, changed state to a administratively down Switch configure terminal Switch(config) interface fastether0/5 Switch(configif) no shutdown Switch(configif) *Sep 30 08:36:00: %LINK3UPDOWN: Interface FastEther0/5, changed state to up 配置 VLAN 理解 VLAN 一个 VLAN 就是一个交换网, 其逻辑上按功能、项目、应用来分而不必考虑用户的物理位置。 任何交换口都可以属于某一 VLAN, IP 包、广播包及组播包均可以发送或广播给在此VLAN 内的最终用户。 每一个 VLAN 均可看成是一个逻辑网络,发往另一 VLAN 的数据包必须由路由器或网桥转发(如下图)。 由于 VLAN 被看成是一个逻辑网络,其具有自己的网桥管理信息庫 (MIB) 并可支持自己的生成树 VLAN 作为逻辑定义的网络示意图 VLAN 常常与 IP 子网相联系,同一 IP 子网属于同一 VLAN。 在 3550 上 VLAN 之间的数据包可以由 VLAN 端口进行转发。 可支持的 VLAN Catalyst 3550 交换机支持 250 个 VLAN,可以分别是 VTP client, server, 及 transparent modes. VLAN 号可以从 1 到 4094. VLAN 号 1002 到 1005 保留给令牌环及 FDDI VLAN. VTP 只能学习到普通范围的 VLAN, 即从 VLAN 到 1 到 1005。 VLAN 号大于 1005 属于扩展 VLAN,不存在 VLAN 数据庫中。 交换机必须配置成VTP 透明模式当需要生成 VLAN 号从 1006 到 4094. 本交换机支持基于每一 VLAN 的生成树 (PVST),最多支持 128 个生成树。 本交换机支持 ISL 及 IEEE trunk 二种封装。 配置正常范围的 VLAN VLAN 号 1, 1002 到 1005 是自动生成的不能被去掉。 VLAN号 1到 1005的配置被写到文件 中 , 可。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。