HCNA培训-【理论4-6】AAA-302
- 格式:pptx
- 大小:993.94 KB
- 文档页数:13


HCNA考题1.IP地址199.32.59.64,子网掩码为255.255.255.224,网段地址为A.199.32.59.64B.199.32.59.65C.199.32.59.192D.199.32.59.2243.按网络拓扑结构划分,网络可分为A.总线型B.星型C.树形D.环形E.网型7.下面哪些协议是属于传输层的A.IPB.TCPC.UDPD.SNMP8.在OSI模型中,传输层为第()层A.3B.4C.6D.711.TCP会为应用程序分配一个源端口号。
TCP报文头中的源端口号占用()个字节。
A.1B.2C.4D.815.VLSM的含义是A.VariableLengthSubnetMakingB.VariableLengthShortetMakingC.V eryLong/ShortetMakingD.VariableLongSubnetMaking16.IP地址192.168.1.7/28的子网掩码为()A.255.255.255.240B.255.255.255.248C.255.255.255.224D.255.255.255.25217.D类IP地址的缺省子网掩码有()位A.8B.16C.24D.没有子网掩码18.下列()是合法的IP主机地址A.127.2.3.5B.1.255.255.2/24C.225.23.200.9D.192.240.150.255/2422.一个MAC地址有()比特A.6B.12C.24D.4826.二层网络中的路径环路容易引起网络的以下问题()。
A.链路带宽增加B.广播风暴C.MAC地址表不稳定D.端口无法聚合27.起用了STP的二层交换网络中,交换机的端口可能会经历下面哪些状态A.DiabledB.BlockingC.LiteningD.LearningE.Forwarding33.三层交换机连接三个主机用户,分别为A,B,C,其中要求A与B 用户能够二层互通,AB与C二层隔离,AB与C可以实现三层互通,请问交换机必须要做以下哪些配置A.A与B用户划到同一个VLANB.C用户划到与AB不同的另一个VLANC.A,B用户主机地址必须在同一网段D.交换机上配置两个VLAN虚接口,并配置IP地址,该地址作为用户的默认网关34.一个完整的数据通信系统由哪几部分组成A.发送方B.接收方C.介质D.报文E.协议37.局域网最主要的特点是:网络为一个单位所拥有,且地理范围和站点数目均有限。
实验一.命令行基础一、实验目标掌握设备系统参数的配置方法,包括设备名称、系统时间及系统时区掌握Console口空闲超时时长的配置方法掌握登录信息的配置方法掌握登录密码的配置方法掌握保存配置文件的方法掌握配置路由器接口IP地址的方法掌握测试两台直连路由器连通性的方法掌握重吭设备的方法掌握查看版本、当前配置、接口信息实验描述及组网二、实验过程步骤一查看系统信息执行display version命令,查看路由器的软件版本不硬件信息。
[Huawei]display versionHuawei Versatile Routing Platform SoftwareVRP (R) software, Version 5.130 (AR2200 V200R003C00)Copyright (C) 2011-2012 HUAWEI TECH CO., LTDHuawei AR2220 Router uptime is 0 week, 0 day, 0 hour, 0 minuteBKP 0 version information:1. PCB Version : AR01BAK2A VER.NC2. If Supporting PoE : No3. Board Type : AR22204. MPU Slot Quantity : 15. LPU Slot Quantity : 6MPU 0(Master) : uptime is 0 week, 0 day, 0 hour, 0 minuteMPU version information :1. PCB Version : AR01SRU2A VER.A2. MAB Version : 03. Board Type : AR22204. BootROM Version : 0命令回显信息中包含了VRP版本,设备型号和启动时间等信息。
步骤二修改系统时间VRP系统会自动保存时间,但如果时间不正确,可以在用户规图下执行clock timezone命令和clock datetime命令修改系统时间。
华为认证系列教程HCNA-HNTD入门华为网络技术与设备华为技术有限公司版权声明版权所有©华为技术有限公司<2016>。
保留一切权利。
本书所有内容受版权法保护,华为拥有所有版权,但注明引用其他方的内容除外。
未经华为技术有限公司事先书面许可,任何人、任何组织不得将本书的任何内容以任何方式进行复制、经销、翻印、存储于信息检索系统或使用于任何其他任何商业目的。
版权所有侵权必究。
商标声明和其他华为商标均为华为技术有限公司的商标。
本文档提及的其他所有商标或注册商标,由各自的所有人拥有。
华为认证系列教程HCNA-HNTD华为网络技术与设备第2.2版本华为认证体系介绍依托华为公司雄厚的技术实力和专业的培训体系,华为认证考虑到不同客户对ICT技术不同层次的需求,致力于为客户提供实战性、专业化的技术认证。
根据ICT技术的特点和客户不同层次的需求,华为认证为客户提供面向十二个方向的三级认证体系。
HCNA是对企业网络初级知识和技能的认证。
HCNA定位于企业网络技术领域具备初级知识和技能水平的专业人士。
侧重于对初级企业网络技术的考察和认证。
具备HCNA证书的工程师是公认的具备小型企业网络通用技术和基本设计能力的专业人士。
HCNP-R&S是对企业网络高级知识和技能的认证。
HCNP-R&S定位于企业网络技术领域具备高级知识和技能水平的专业人士。
侧重于对中小型企业网络技术的考察和认证。
具备HCNP-R&S证书的工程师是公认的具备中小型企业网络构建和管理能力的专业人士。
HCIE-R&S是对企业网络专家级知识和技能的认证。
HCIE-R&S定位于企业网络技术领域中具备专家知识和技能水平的专业人士。
侧重于对大型复杂企业网络技术的考察和认证。
具备HCIE-R&S证书的工程师是公认的具备大型复杂企业网络构建、优化和管理能力的专业人士。
华为认证协助您打开行业之窗,开启改变之门,屹立在ICT世界的潮头浪尖!前言简介本书为HCNA认证培训教程,专门适用于准备参加HCNA考试的学员。
Stpstp mode 配置交换机模式stp priority 配置设备优先级stp pathcost-standard 配置交换机上的路径开销stp edged-port enable 配置边缘端口stp root-protection 配置根保护stp bpdu-protection 配置bpdu保护stp loop-protection 配置环路保护静态路由ip route-static 目的网段掩码下一跳负载分担(目的网段和掩码一样)缺省路由(目的网段和掩码为全0)Ripripversion 2network 自然网段rip metricin 加rip metricout 改rip split-horizon 水平分割rip poison-reverse 毒性逆转undo rip output 禁止发送undo rip input禁止接受silent-interface 抑制接口OSPFospf router-id 1.1.1.1area 0network 网段反掩码DHCP接口dhcp enableinterface g 0/0/0dhcp select interface全局dhcp enableip pool pool2network 地址池下的网段地址mask24 gateway-list 出口网关地址int g 0/0/0dhcp select globalFTPftp server enableaaalocal-user 用户名password cipher 密码local-user 用户名service-type ftplocal-user 用户名ftp-directory flash: local-user 用户名privilege level 3 Telnet密码模式user-interface vty 0 4authentication-mode passwordset authentication password cipher 密码AAA模式aaalocal-user 用户名password cipher 密码local-user 用户名service-type telnet local-user 用户名privilege 3 authentication-mode aaa链路聚合二层int eth-trunk 1int g 0/0/0eth-trunk 1int g 0/0/1eth-trunk 1三层int eth-trunk 1undo portswitchip addressint g 0/0/0eth-trunk 1int g 0/0/1eth-trunk 1VLANAccessvlan batchport link-type accessport default vlanTrunkvlan batchport link-type trunkport trunk allow-pass vlan port trunk pvid vlan Hybridport link-type hybridport hybrid pvid vlanport hybrid untagged vlan port hybrid tagged vlan单臂路由交换机上的配置vlan batch 2 3int g 0/0/0port link-type trunkport trunk allow-pass vlan 2 3int g 0/0/1port link-type accessport access default vlan 2路由上的配置int g 0/0/0.1dot1q termination vid 2ip addressarp broadcast enable三层交换vlan batch 2 3int g 0/0/0port link-type trunkport access default vlan 2int g 0/0/1port link-type accessport access default vlan 3int vlanif 2ip addressint vlanif 3ip addressHDLCint s0/0/0link-protocol hdlcip address unnumbered interface loopback 0PAP认证认证方aaalocal-user 用户名password cipher 密码local-user 用户名password service-type pppint s0/0/0link-protocol pppppp authentication-mode papip address被认证方int s0/0/0link-protocol pppppp pap local-user 用户名password cipher 密码ip addressCHAP认证认证方aaalocal-user 用户名password cipher 密码local-user 用户名password service-type pppint s0/0/0link-protocol pppppp authentication-mode chapip address被认证方int s0/0/0link-protocol pppppp pap local-user 用户名ppp chap password cipher 密码帧中继(FR)动态映射int s 0/0/0link-protocol frfr interface-type dte/dcefr inarp静态映射int s 0/0/0link-protocol frfr interface-type dte/dceundo fr inarpfr map ip网络地址转换(NAT)静态NATint g 0/0/0ip addressnat static global 公网地址inside 私网地址动态NATnat address-group 1acl 2000rule permit source 网段通配符int s0/0/0outbound 2000 address-group 1 no patEasy IPacl 2000rule permit source 网段通配符int s 0/0/0nat outbound 2000NAT服务器int s 0/0/0ip addressnat server protocol tcp global 公网地址www inside 私网地址访问控制列表(ACL)基本ACLacl 2000rule deny source 网段通配符int g 0/0/0traffic-filter outbound acl 2000高级ACLacl 3000rule deny tcp source 源网段destination 目的网段destination-port eq端口号rule permit iptraffic-filter outbound acl 3000AAAaaaauthentication-scheme auth1 认证方案authentication-mode local 认证方式authorization-scheme auth2 授权方案authorization-mode local 授权方式domain域名authentication-scheme auth1authorization-scheme auth2aaalocal-user 用户名@域名password cipher 密码local-user 用户名@域名service-type telnetlocal-user 用户名@域名privilege level 3user-interface vty 0 4authentication-mode aaaIPSec VPNacl number 3000rule permit ip source 源网段destination 目的网段ipsec proposal 123esp authentication-algorithm sha1ipsec policy p1 10 manualsecurity acl 3000proposal 123tunnel remote 对端ip地址tunnel local 本段ip地址sa spi outbound esp 54321 出方向sa spi inbound esp 12345 进方向sa string-key outbound esp simple 密码sa string-key inbound esp simple 密码int g 0/0/0ipsec policy p1 接口调用GREint tunnel 0/0/1ip ad 虚拟地址tunnel-protocol gresource 源地址destination 目的地址ip router-static 目的网段掩码tunnel 0/0/1int tunnel 0/0/1keepalive period 3 启用keepalive检测功能dis ipsec statistics esp 查找GRE隧道是否加密。