华为网络工程师学习资料
- 格式:doc
- 大小:50.50 KB
- 文档页数:9
“华为HCIA/HCIP认证”课程大纲章节知识点技能点1.TCP/IP基础1.理解通信的基本概念及其常见术语2.熟悉OSI与TCP/IP参考模型的基本概念3.掌握数据链路层的基本功能和应用4.掌握IPv4地址分类5.掌握IP子网规划6.掌握ARP与IPv4通信原理7.掌握TCP与UDP的基本原理8.掌握应用层的基本功能和常见应用1.IP子网划分2.ICMP与连通性测试2.交换技术1.理解传统以太网的工作方式和冲突域的概念2.掌握交换机的工作原理3.掌握VLAN技术的基本概念和工作原理4.掌握STP的基本概念和工作原理5.掌握RSTP的概念和工作原理1.交换机的基本设置2.配置VLAN3.配置STP4.配置RSTP3.路由技术1.理解路由的基本概念2.掌握路由表的生成与路由条目3.掌握静态路由的工作原理4.掌握默认路由的工作原理5.掌握静态路由汇总的方法6.掌握单区域OSPF的基本原理7.掌握VLAN间路由的概念8.掌握单臂路由和三层交换机的工作原理1.配置静态路由2.配置默认路由3.配置静态路由汇总4.配置浮动静态路由及负载均衡5.配置单区域OSPF6.配置单臂路由7.配置三层交换机VLAN间路由4.网络可靠性1.掌握VRRP的作用2.掌握VRRP的工作原理3.掌握链路聚合的作用4.掌握链路聚合的工作原理5.掌握链路聚合的模式6.掌握堆叠技术的基本原理及应用7.掌握iStack堆叠的实现过程1.VRRP的基本配置2.配置VRRP认证3.配置VRRP的负载均衡4.手动配置链路聚合CP配置链路聚合5.广域网技术1.掌握广域网的基本概念2.掌握广域网的接入方式3.掌握PPP的基本概念4.掌握PPP的工作原理5.掌握CHAP和PAP认证的工作过程6.掌握PPPoE的基本概念7.掌握PPPoE的工作过程1.PPP的基本配置2.配置PAP认证3.配置CHAP认证4.配置PPPoE6.网络安全技术1.理解ACL的基本原理2.掌握ACL的工作过程3.掌握ACL的分类4.掌握基本ACL与高级ACL的区别5.掌握NAT的工作原理6.掌握NAT的基本类型7.掌握AAA认证的基本概念8.掌握AAA认证的工作过程1.配置基本ACL2.配置高级ACL3.配置静态NAT4.配置动态NAT5.配置NAPT6.配置Easy IP7.配置AAA认证服务器7.IPV6基础1.掌握IPv6的数据包封装2.掌握IPv6的地址表示方式3.掌握IPv6地址分类4.掌握IPv6的单播地址5.掌握IPv6的组播地址6.掌握IPv6的任播地址7.掌握IPv6静态路由8.掌握IPv6默认路由9.掌握IPv6汇总路由1.IPv6的基本配置2.配置IPv6静态路由3.配置IPv6默认路由4.配置IPv6汇总路由8.WLAN技术1.掌握WLAN的应用概况2.掌握WLAN协议标准3.掌握WLAN的常见设备4.掌握WLAN的工作原理5.掌握WLAN的安全对策6.掌握WLAN的安全标准1.FAT AP的基础配置2.WLAN的安全配置9.网络管理1.掌握网络设备的密码恢复2.掌握SNMP的基本概念3.掌握SNMP的工作原理4.掌握SNMP的基本架构5.掌握SNMP的简单应用1.FAT AP的基础配置2.WLAN的安全配置10.企业网项目建设实践1.掌握网络需求分析方法和步骤2.掌握网络规划和设计原则和步骤3.掌握网络工程实施步骤和方法4.掌握网络工程测试步骤和方法1.描述项目背景和功能2.项目需求分析3.设计网络拓扑4.设计LAN规划5.设计设备管理规划6.设计端口互联规划7.规划SSH服务8.规划IP地址9.实施项目10.测试网络11.网络自动化运维项目实践1.掌握Python运维常用库和常用语法1.掌握通过Python代码管控网络设备2.掌握通过Python代码备份网络设备运行配置应用1.自动化运维项目需求分析2.自动化运维项目规划设计3.自动化修改网络设备登录密码的配置4.掌握自动化运维项目需求分析5.掌握自动化运维项目规划和设计原则6.掌握自动化运维项目实施步骤和方法7.掌握自动化运维项目测试步骤和方法4.定时自动化备份网络设备配置5.自动化运维项目测试。
基础教程西南师范大学网络技术室整理2005.5“网络工程师培训”基础教程 第一章网络基础知识第一章网络基础知识.1培训目标本章介绍网络的基础知识,包括网络的演进和层次化模型、TCP/IP 协议简介、局域网和广域网的定义及常用设备原理、常用协议原理与常用组网方式、一些协议特性的比较、以及不同的费用和性能需求下网络组网方式的选用。
.2网络的演进与层次模型.2.1网络的演进六十至七十年代,网络的概念主要是基于主机架构的低速串行联接,提供应用程序执行、远程打印和数据服务功能。
IBM 的 SNA 架构与非IBM 公司的 X.25 公用数据网络是这种网络的典型例子。
七十至八十年代,出现了以个人电脑为主的商业计算模式。
最初,个人电脑是独立的设备,由于认识到商业计算的复杂性,局域网产生了。
局域网的出现,大大降低了商业用户打印机和磁盘昂贵的费用。
八十年代至九十年代,远程计算的需求不断地增加,迫使计算机界开发出多种广域网络协议,满足不同计算方式下远程联接的需求,网间网的互联极大程度地发展起来。
.2.2 OSI 七层模型及其功能在七十年代末,国际标准化组织 ISO 提出了开放系统互连参考模型。
协议分层大大简化了网络协议的复杂性,这实际也是自顶向下、逐步细化的程序设计方法的很好的应用。
网络协议按功能组织成一系列“层”,每一层建筑在它的下层之上。
分成的层数,每一层的名字、功能,都可以不一样,但是每一层的目的都是为上层提供一定的服务,屏蔽低层的细节。
物理层涉及到通信在信道上传输的原始比特流,它实现传输数据所需要的机械、电气、功能性及过程等手段。
数据链路层的主要任务是提供对物理层的控制,检测并纠正可能出现的错误,使之对网络层显现一条无错线路;并且进行流量调控。
网络层检查网络拓扑,以决定传输报文的最佳路由,其关键问题是确定数据包从源端到目的端如何选择路由。
传输层的基本功能是从会话层接受数据,并且在必要的时候把它分成较小的单元,传递给网络层,并确保到达对方的各段信息正确无误。
hcna复习资料HCNA复习资料近年来,信息技术的飞速发展已经改变了人们的生活方式和工作方式。
网络技术作为其中的重要组成部分,对于现代社会的发展起到了关键性的作用。
作为网络技术的基础,华为认证网络工程师(HCNA)证书备受关注。
本文将为大家提供一些HCNA复习资料,帮助大家更好地备考。
一、网络基础知识首先,我们需要了解一些网络基础知识。
网络是由多个设备通过通信线路连接起来,形成一个互联的系统。
网络的基本组成包括服务器、交换机、路由器、防火墙等。
了解这些设备的功能和作用,对于理解网络的工作原理非常重要。
其次,我们需要了解网络的拓扑结构。
常见的网络拓扑结构有总线型、环型、星型、树型等。
每种拓扑结构都有其特点和适用场景,掌握这些知识有助于我们在实际应用中选择合适的网络拓扑结构。
二、网络通信协议网络通信协议是网络中设备之间进行通信的规则和约定。
常见的网络通信协议有TCP/IP协议、HTTP协议、FTP协议等。
了解这些协议的工作原理和应用场景,对于网络工程师来说至关重要。
在学习网络通信协议时,我们需要重点关注TCP/IP协议,因为它是互联网的基础协议。
TCP/IP协议是一个分层的协议体系,包括物理层、数据链路层、网络层、传输层和应用层。
每一层都有相应的协议和功能,掌握这些内容可以帮助我们更好地理解网络通信的过程。
三、网络安全网络安全是网络工程师必须要关注的一个重要领域。
随着网络的普及和应用,网络安全问题也日益突出。
了解网络安全的基本概念和方法,对于保护网络的安全至关重要。
在学习网络安全时,我们需要了解一些基本概念,如防火墙、入侵检测系统、虚拟专用网络等。
同时,我们还需要了解一些常见的网络攻击方式,如DDoS攻击、SQL注入、网络钓鱼等。
掌握这些知识,可以帮助我们更好地预防和应对网络安全威胁。
四、网络管理与维护网络管理与维护是网络工程师的重要任务之一。
网络管理包括对网络设备的配置、监控和故障排除等工作。
了解网络管理的基本原理和方法,对于提高网络的稳定性和可靠性非常重要。
华为网络工程师用户培训大纲网络基础知识课程目标1.对网络知识有较清晰的认知课程内容1.网络分层模型2.典型的网络设备3.广域网常见的接口及电缆、链路层协议、组网方式理论授课交换机原理及其配置课程目标1.理解网络分段的需求2.掌握网桥与交换机工作原理3.了解VLAN、生成树、端口捆绑的概念及工作方式4.能够对交换机进行配置课程内容1.能够对交换机进行配置2.共享式以太网的工作原理3.网络分段的意义4.网桥、交换机的工作原理5.了解VLAN、生成树、端口捆绑的概念及工作方式路由器基础及原理课程目标1.理解路由器软件功能、实现方式、管理方式2.能够自行搭建路由器的试验环境3.掌握路由器命令行配置方式、升级路由器课程内容1.路由器的基本原理2.路由器在网络中的地位与作用3.Quidway 系列路由器介绍4.Quidway 系列路由器常见电缆及接口介绍5.路由器配置环境的搭建6.路由器的各种配置模式7.路由器的基本操作TCP/IP协议课程目标1.了解TCP/IP协议的基本协议的工作方式2.掌握IP地址的分类及基本子网划分的概念课程内容1.TCP/IP简介2.TCP/UDP的段结构3.ICMP/ARP协议简介4.IP地址基础及子网规划5.掌握IP地址的相关配置方法IPX协议课程目标1.了解IPX协议的基本概念2.掌握IPX的工作方式及其配置课程内容1.IPX简介2.IPX编址方式3.IPX协议的配置方式路由器广域网协议配置课程目标1.了解常见的广域网协议的基本原理、特点和典型应用2.能够在“背对背”环境中配置HDLC、PPP、、帧中继课程内容1.路由器广域网协议的总体介绍及分类2.HDLC协议的配置3.PPP协议的原理及配置4.PAP、CHAP验证的过程5.的原理及配置6.帧中继的原理及配置路由器路由协议配置课程目标1.了解常用路由路由算法置2.能在不同的广域网中配置静、动态路由协议课程内容1.路由器路由协议的总体介绍及分类2.静态路由的配置3.RIP协议原理及配置4.OSPF协议原理及配置路由器防火墙配置课程目标1.理解包过滤的原理2.能区分标准访问列表和扩展访问列表3.能配置简单的访问列表课程内容1.如何进行数据包过滤2.标准访问列表的格式及适用范围3.扩展访问列表的格式及扩展功能4.访问列表的组合配置路由器拨号DDR配置课程目标1.能够理解DDR的原理,熟悉DDR的常见应用环境2.能够通过拨号方式实现两台路由器互通3.能够配置路由器的拨号上网模拟线路、ISDN课程内容1.路由器DDR的原理及过程2.DDR的配置列表、标准DDR的配置方法3.通过ISDN拨号上网的配置路由器备份中心配置课程目标1.理解备份中心的作用和典型应用,掌握各种备份方式的配置课程内容1.路由器备份中心实现的原理及作用2.Quidway路由器备份中心的分类3.端口备份、路由备份、链路备份的配置。
华为网络工程师学习资料华为网络工程师学习资料交换机命令之一--华为1.在基于IOS的交换机上设置主机名/系统名:switch(config)# hostname hostname在基于CLI的交换机上设置主机名/系统名:switch(enable) set system name name-string2.在基于IOS的交换机上设置登录口令:switch(config)# enable password level 1password在基于CLI的交换机上设置登录口令:switch(enable) set passwordswitch(enable) set enalbepass3.在基于IOS的交换机上设置远程访问:switch(config)# interface vlan 1switch(config-if)# ip address ip-address netmaskswitch(config-if)# ip default-gateway ip-address在基于CLI的交换机上设置远程访问:switch(enable) set interface sc0 ip-address netmask broadcast-addressswitch(enable) set interface sc0 vlanswitch(enable) set ip route default gateway4.在基于IOS的交换机上启用和浏览CDP信息:switch(config-if)# cdp enableswitch(config-if)# no cdp enable为了查看Cisco邻接设备的CDP通告信息:switch# show cdp interface [type modle/port]switch# show cdp neighbors [type module/port] [detail]在基于CLI的交换机上启用和浏览CDP信息:switch(enable) set cdp {enable|disable} module/port为了查看Cisco邻接设备的CDP通告信息:switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]5.基于IOS的交换机的端口描述:switch(config-if)# description description-string基于CLI的交换机的端口描述:switch(enable)set port name module/number description-string6.在基于IOS的交换机上设置端口速度:switch(config-if)# speed{10|100|auto}在基于CLI的交换机上设置端口速度:switch(enable) set port speed moudle/number {10|100|auto}switch(enable) set port speed moudle/number {4|16|auto}7.在基于IOS的交换机上设置以太网的链路模式:switch(config-if)# duplex {auto|full|half}在基于CLI的交换机上设置以太网的链路模式:switch(enable) set port duplex module/number {full|half}8.在基于IOS的交换机上配置静态VLAN:switch# vlan databaseswitch(vlan)# vlan vlan-num name vlaswitch(vlan)# exitswitch# configure teriminalswitch(config)# interface interface module/numberswitch(config-if)# switchport mode accessswitch(config-if)# switchport access vlan vlan-numswitch(config-if)# end在基于CLI的交换机上配置静态VLAN:switch(enable) set vlan vlan-num [name name]switch(enable) set vlan vlan-num mod-num/port-list9. 在基于IOS的交换机上配置VLAN中继线:switch(config)# interface interface mod/portswitch(config-if)# switchport mode trunkswitch(config-if)# switchport trunk encapsulation {isl|dotlq}switch(config-if)# switchport trunk allowed vlan remove vlan-listswitch(config-if)# switchport trunk allowed vlan add vlan-list在基于CLI的交换机上配置VLAN中继线:switch(enable) set trunk module/port [on|off|desirable|auto|nonegotiate] Vlan-range [isl|dotlq|dotl0|lane|negotiate]10.在基于IOS的交换机上配置VTP管理域:switch# vlan databaseswitch(vlan)# vtp domain domain-name在基于CLI的交换机上配置VTP管理域:switch(enable) set vtp [domain domain-name]11.在基于IOS的交换机上配置VTP 模式:switch# vlan databaseswitch(vlan)# vtp domain domain-nameswitch(vlan)# vtp {sever|cilent|transparent}switch(vlan)# vtp password password在基于CLI的交换机上配置VTP 模式:switch(enable) set vtp [domain domain-name][mode{ sever|cilent|transparent }][password password]12. 在基于IOS的交换机上配置VTP版本:switch# vlan databaseswitch(vlan)# vtp v2-mode在基于CLI的交换机上配置VTP版本:switch(enable) set vtp v2 enable13. 在基于IOS的交换机上启动VTP剪裁:switch# vlan databaseswitch(vlan)# vtp pruning在基于CL I 的交换机上启动VTP剪裁:switch(enable) set vtp pruning enable14.在基于IOS的交换机上配置以太信道:switch(config-if)# port group group-number [distribution {source|destination}]在基于CLI的交换机上配置以太信道:switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}15.在基于IOS的交换机上调整根路径成本:switch(config-if)# spanning-tree [vlan vlan-list] cost cost在基于CLI的交换机上调整根路径成本:switch(enable) set spantree portcost moudle/port costswitch(enable) set spantree portvlancost moudle/port [cost cost][vlan-list]16.在基于IOS的交换机上调整端口ID:switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority在基于CLI的交换机上调整端口ID:switch(enable) set spantree portpri {mldule/port}priorityswitch(enable) set spantree portvlanpri {module/port}priority [vlans]17. 在基于IOS的交换机上修改STP时钟:switch(config)# spanning-tree [vlan vlan-list] hello-time secondsswitch(config)# spanning-tree [vlan vlan-list] forward-time seconds` switch(config)# spanning-tree [vlan vlan-list] max-age seconds在基于CLI的交换机上修改STP时钟:switch(enable) set spantree hello interval[vlan]switch(enable) set spantree fwddelay delay [vlan]switch(enable) set spantree maxage agingtiame[vlan]18. 在基于IOS的交换机端口上启用或禁用Port Fast 特征:switch(config-if)#spanning-tree portfast在基于CLI的交换机端口上启用或禁用Port Fast 特征:switch(enable) set spantree portfast {module/port}{enable|disable}19. 在基于IOS的交换机端口上启用或禁用UplinkFast 特征:switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]在基于CLI的交换机端口上启用或禁用UplinkFast 特征:switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate][all-protocols off|on]交换机命令之二--华为20. 为了将交换机配置成一个集群的命令交换机,首先要给管理接口分配一个IP地址,然后使用下列命令:switch(config)# cluster enable cluster-name21. 为了从一条中继链路上删除VLAN,可使用下列命令:switch(enable) clear trunk module/port vlan-range22. 用show vtp domain 显示管理域的VTP参数.23. 用show vtp statistics显示管理域的VTP参数.24. 在Catalyst交换机上定义TrBRF的命令如下:switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]25. 在Catalyst交换机上定义TrCRF的命令如下:switch (enable) set vlan vlan-num [name name] type trcrf{ring hex-ring-num|decring decimal-ring-num} parent vlan-num26. 在创立好TrBRF VLAN之后,就能够给它分配交换机端口.对于以太网交换,能够采用如下命令给VLAN分配端口:switch(enable) set vlan vlan-num mod-num/port-num27. 命令show spantree显示一个交换机端口的STP状态.28. 配置一个ELAN的LES和BUS,能够使用下列命令:ATM (config)# interface atm number.subint multiointATM(config-subif)# lane serber-bus ethernet elan-name29. 配置LECS:ATM(config)# lane database database-nameATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-addressATM(lane-config-databade)# name …。
网络工程师基础必学知识点1. 网络协议:网络工程师应熟悉常见的网络协议,如TCP/IP协议、HTTP协议、FTP协议等。
了解协议的工作原理和使用方式。
2. 网络拓扑:了解不同网络拓扑结构,如星型、总线型、环形等,并能根据需求设计合适的网络拓扑。
3. 网络设备:熟悉常见的网络设备,如交换机、路由器、防火墙等,并了解其功能和配置方式。
4. IP地址:掌握IP地址的类型、划分和分配方式,能进行IP地址的规划和管理。
5. 子网划分:了解子网划分的目的和方法,能根据需求进行子网规划和配置。
6. VLAN:了解虚拟局域网的概念和使用方式,能进行VLAN的划分和配置。
7. DHCP:掌握DHCP协议的工作原理和配置方式,能进行DHCP服务器的搭建和管理。
8. DNS:了解域名系统的原理和基本概念,能进行域名解析和DNS服务器的配置。
9. 网络安全:了解网络安全的基本概念和攻防原理,能进行网络安全策略的制定和安全设备的配置。
10. 网络故障排除:掌握常见的网络故障排除方法和工具,能快速定位和解决网络问题。
11. 配线和布线:了解网络配线和布线的原则和要求,能进行网络布线计划和实施。
12. 数据通信:了解数据通信的基本原理和常用的传输介质,如光纤、双绞线等。
13. 网络监控:掌握网络监控的方法和工具,能进行网络性能监测和故障预警。
14. 网络优化:了解网络优化的原理和方法,能进行网络性能优化和带宽管理。
15. 信息安全:了解信息安全的基本概念和安全技术,能进行信息安全的策略规划和安全措施的实施。
以上是网络工程师基础必学的知识点,掌握这些知识将能够进行网络的规划、搭建、管理和故障排除等工作。
华为网络工程师学习资料交换机命令之一--华为1.在基于IOS的交换机上设置主机名/系统名:switch(config)# hostname hostname在基于CLI的交换机上设置主机名/系统名:switch(enable) set system name name-string2.在基于IOS的交换机上设置登录口令:switch(config)# enable password level 1password在基于CLI的交换机上设置登录口令:switch(enable) set passwordswitch(enable) set enalbepass3.在基于IOS的交换机上设置远程访问:switch(config)# interface vlan 1switch(config-if)# ip address ip-address netmaskswitch(config-if)# ip defaul t-gateway ip-address在基于CLI的交换机上设置远程访问:switch(enable) set interface sc0 ip-address netmask broadcast-addressswitch(enable) set interface sc0 vlanswitch(enable) set ip route default gateway4.在基于IOS的交换机上启用和浏览CDP信息:switch(config-if)# cdp enableswitch(config-if)# no cdp enable为了查看Cisco邻接设备的CDP通告信息:switch# show cdp interface [type modle/port]switch# show cdp neighbors [type module/port] [detail]在基于CLI的交换机上启用和浏览CDP信息:switch(enable) set cdp {enable|disable} module/port为了查看Cisco邻接设备的CDP通告信息:switch(enable) show cdp neighbors[module/port] [vlan|duplex|capabilities|detail]5.基于IOS的交换机的端口描述:switch(config-if)# description description-string基于CLI的交换机的端口描述:switch(enable)set port name module/number description-string6.在基于IOS的交换机上设置端口速度:switch(config-if)# speed{10|100|auto}在基于CLI的交换机上设置端口速度:switch(enable) set port speed moudle/number {10|100|auto}switch(enable) set port speed moudle/number {4|16|auto}7.在基于IOS的交换机上设置以太网的链路模式:switch(config-if)# duplex {auto|full|half}在基于CLI的交换机上设置以太网的链路模式:switch(enable) set port duplex module/number {full|half}8.在基于IOS的交换机上配置静态VLAN:switch# vlan databaseswitch(vlan)# vlan vlan-num name vlaswitch(vlan)# exitswitch# configure teriminalswitch(config)# interface interface module/numberswitch(config-if)# switchport mode accessswitch(config-if)# switchport access vlan vlan-numswitch(config-if)# end在基于CLI的交换机上配置静态VLAN:switch(enable) set vlan vlan-num [name name]switch(enable) set vlan vlan-num mod-num/port-list9. 在基于IOS的交换机上配置VLAN中继线:switch(config)# interface interface mod/portswitch(config-if)# switchport mode trunkswitch(config-if)# switchport trunk encapsulation {isl|dotlq}switch(config-if)# switchport trunk allowed vlan remove vlan-listswitch(config-if)# switchport trunk allowed vlan add vlan-list在基于CLI的交换机上配置VLAN中继线:switch(enable) set trunk module/port [on|off|desirable|auto|nonegotiate]Vlan-range [isl|dotlq|dotl0|lane|negotiate]10.在基于IOS的交换机上配置VTP管理域:switch# vlan databaseswitch(vlan)# vtp domain domain-name在基于CLI的交换机上配置VTP管理域:switch(enable) set vtp [domain domain-name]11.在基于IOS的交换机上配置VTP 模式:switch# vlan databaseswitch(vlan)# vtp domain domain-nameswitch(vlan)# vtp {sever|cilent|transparent}switch(vlan)# vtp password password在基于CLI的交换机上配置VTP 模式:switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password]12. 在基于IOS的交换机上配置VTP版本:switch# vlan databaseswitch(vlan)# vtp v2-mode在基于CLI的交换机上配置VTP版本:switch(enable) set vtp v2 enable13. 在基于IOS的交换机上启动VTP剪裁:switch# vlan databaseswitch(vlan)# vtp pruning在基于CL I 的交换机上启动VTP剪裁:switch(enable) set vtp pruning enable14.在基于IOS的交换机上配置以太信道:switch(config-if)# port group group-number [distribution {source|destination}] 在基于CLI的交换机上配置以太信道:switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}15.在基于IOS的交换机上调整根路径成本:switch(config-if)# spanning-tree [vlan vlan-list] cost cost在基于CLI的交换机上调整根路径成本:switch(enable) set spantree portcost moudle/port costswitch(enable) set spantree portvlancost moudle/port [cost cost][vlan-list]16.在基于IOS的交换机上调整端口ID:switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority在基于CLI的交换机上调整端口ID:switch(enable) set spantree portpri {mldule/port}priorityswitch(enable) set spantree portvlanpri {module/port}priority [vlans]17. 在基于IOS的交换机上修改STP时钟:switch(config)# spanning-tree [vlan vlan-list] hello-time secondsswitch(config)# spanning-tree [vlan vlan-list] forward-time seconds` swi t ch(config)# spanning-tree [vlan vlan-list] max-age seconds在基于CLI的交换机上修改STP时钟:switch(enable) set spantree hello interval[vlan]switch(enable) set spantree fwddelay delay [vlan]switch(enable) set spantree maxage agingtiame[vlan]18. 在基于IOS的交换机端口上启用或禁用Port Fast 特征:switch(config-if)#spanning-tree portfast在基于CLI的交换机端口上启用或禁用Port Fast 特征:switch(enable) set spantree portfast {module/port}{enable|disable}19. 在基于IOS的交换机端口上启用或禁用UplinkFast 特征:switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]在基于CLI的交换机端口上启用或禁用UplinkFast 特征:switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]交换机命令之二--华为20. 为了将交换机配置成一个集群的命令交换机,首先要给管理接口分配一个IP地址,然后使用下列命令:switch(config)# cluster enable cluster-name21. 为了从一条中继链路上删除VLAN,可使用下列命令:switch(enable) clear trunk module/port vlan-range22. 用show vtp domain 显示管理域的VTP参数.23. 用show vtp statistics显示管理域的VTP参数.24. 在Catalyst交换机上定义TrBRF的命令如下:switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]25. 在Catalyst交换机上定义TrCRF的命令如下:switch (enable) set vlan vlan-num [name name] type trcrf{ring hex-ring-num|decring decimal-ring-num} parent vlan-num26. 在创建好TrBRF VLAN之后,就可以给它分配交换机端口.对于以太网交换,可以采用如下命令给VLAN分配端口:switch(enable) set vlan vlan-num mod-num/port-num27. 命令show spantree显示一个交换机端口的STP状态.28. 配置一个ELAN的LES和BUS,可以使用下列命令:ATM (config)# interface atm number.subint multiointATM(config-subif)# lane serber-bus ethernet elan-name29. 配置LECS:ATM(config)# lane database database-nameATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-addressATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-addressATM(lane-config-databade)# name …41. 配置默认路由:switch(enable) set ip route default gateway42. 为一个路由处理器分配VLANID,可在接口模式下使用下列命令:router(config)# interface interface numberrouter(config-if)# mls rp vlan-id vlan-id-num43. 在路由处理器启用MLSP:router(config)# mls rp ip44. 为了把一个外置的路由处理器接口和交换机安置在同一个VTP域中:router(config)# interface interface numberrouter(config-if)# mls rp vtp-domain domain-name45. 查看指定的VTP域的信息:router# show mls rp vtp-domain vtp domain name46. 要确定RSM或路由器上的管理接口,可以在接口模式下输入下列命令:router(config-if)#mls rp management-interface47. 要检验MLS-RP的配置情况:router# show mls rp48. 检验特定接口上的MLS配置:router# show mls rpnterface interface number49. 为了在MLS-SE上设置流掩码而又不想在任一个路由处理器接口上设置访问列表:set mls flow [destination|destination-source|full]50. 为使MLS和输入访问列表可以兼容,可以在全局模式下使用下列命令:router(config)# mls rp ip input-acl51. 当某个交换机的第3层交换失效时,可在交换机的特权模式下输入下列命令:switch(enable) set mls enable52. 若想改变老化时间的值,可在特权模式下输入以下命令:switch(enable) set mls agingtime agingtime53. 设置快速老化:switch(enable) set mls agingtime fast fastagingtime pkt_threshold54. 确定那些MLS-RP和MLS-SE参与了MLS,可先显示交换机引用列表中的内容再确定:switch(enable) show mls include55. 显示MLS高速缓存记录:switch(enable) show mls entry56. 用命令show in arp显示ARP高速缓存区的内容。