CCNA错题

来源:互联网 发布:java相关书籍推荐 编辑:程序博客网 时间:2024/05/22 12:22
1.
IPv6 地址的类型有几种?分别是什么?(5 分) 
全局单播地址 2000::/3 
链路本地地址 FE80::/10 
组播地址 FF00::/7 
唯一本地地址 FC00::/7 

6to4 隧道地址:2002::/16

2.

当在长 ping 时,想停下来一个使用哪种方式?(C) 
A、Ctrl+Z 
B、Ctrl+C 
C、Ctrl+Shift+6 
D、Ctrl+R 
 
3.
请写出思科路由器密码恢复的关键步骤、命令。(10 分) 
1. 重启动,加电时候按住 ctrl+break(或者 ctrl+c)
2. 进入 remmon 模式,输入 confreg 0x2142(4 表示跳过 startup-config)
3. reset 重启跳过配置向导
4. 修改密码
5. 输入 config-register 0x2102 恢复寄存器值
4.
请写出升级 Cisco 路由器 IOS 的关键步骤、命令(10 分) 
1. 备份 ios 文件,和 startup-config
先在 pc 端搭好 tftp 或者 ftp 服务器,连接路由器的以太网口到 PC 的网卡口 ,配置同一网段的 ip 地址,
检查连通性.
然后 copy flash: tftp:或者 copy flash: ftp:(根据你电脑上的客户端设置),
Source filename []? 根据实际情况填写
Address or name of remote host []?根据你配置的 PC 网卡 ip 地址填写
建议通过以太口而不是 console 口 ,因为速度快很多
2. 复制 TFTP 或者 FTP 服务器的 ios 和 startup-config 文件到路由器上
copy tftp: flash:同样会遇到上一步的问题,照样填写
copy ftp: flash:
3. 拷贝 startup-config 到 nvram
Copy flash:startup-config nvram:startup-config
4. 重启
U 盘升级用 copy usbflash0: flash:同样注意备份
5.
 写出你知道的 OSPF 建邻居的必要条件和简述 OSPF 建立邻居的过程。 (10 分)
1) OSPF 路由器接口 up,发送 Hello 包, (NBMA 模式时将进入 Attempt 状态)。
   
2) OSPF 路由器接口收到 Hello 包,进入 Init 状态,并将该 Hello 包的发送者的 Router ID,添加到
Hello 包(自己将要从该接口发送出去的 Hello 包)的邻居列表中。
   
3) OSPF 路由器接口收到另据列表中含有自己 Router ID 的 Hello 包, 进入 Two-way 状态, 形成 OSPF
邻居关系,并把该路由器的 Router ID 添加到自己的 OSPF 邻居表中。
   
4) 在进入 Two-way 状态后,广播,非广播网络类型的链路在 DR 选举等待时间内进行 DR 选举,点对
点没有这个过程。
   
5) 在 DR 选举完成后,或跳过 DR 选举后,建立 OSPF 邻接关系,进入 exstart(准启动)状态;并选
举 DBD 交换主从路由器,以及由主路由器定义 DBD 序列号, Router ID 大的为主路由器,目的是
为了解决 DBD 自身的可靠性。
   
6) 主从路由器选举完成后,进入 Exchange(交换)状态,交换 DBD 信息。
   
7) DBD 交换完成后,进入 Loading 状态,对链路状态数据库和收到的 DBD 的 LSA 头部进行比较, 发现自己数据库中没有的 LSA 就发送 LSR,向邻居请求该 LSA;邻居收到 LSR 后,回应 LSU;收到邻居发来的 LSU,存储这些 LSA 到自己的链路状态数据库,并发送 LSAck 确认。
   
8) LSA 交换完成后,进入 FULL 状态,所有形成邻居的 OSPF 路由器拥有相同链路状态数据库。
   
9) 定期发送 Hello 包,维护邻居关系。
6.
 比较 OSPF 和 EIGRP 路由协议,写出你所认为的各自的优点和缺点。 (10 分)
eigrp 支持更多的协议,比如 IPX, ipv6, ospfv2 只支持 ipv4 
eigrp 收敛略快
eigrp 支持不等价负载均衡, ospf 只支持等价负载均衡
eigrp 是距离矢量协议,收敛逐跳收敛, ospf 是链路状态协议,在区域内几乎同步收敛
eigrp 不支持分层, ospf 可以分层,多区域,适用于更大型的网络
7.
VTP 的组播地址是?
组播 MAC 01: 00: 0C: CC: CC: CC
在VLAN1发送组播
8.
思科交换机默认开启的生成树类型是?这个生成树和标准生成树有什么差别?(10 分)
PVST+,支持每 vlan 生成树,和标准生成树不兼容
9.
思科交换机支持的生成树有哪些? 如果和其他厂商交换机对接, 应该采用什么类型的生成树?(10 分)
思科交换机支持的生成树有 PVST+,RPVST+,MST,和其他厂商对接只能采用 MST
10.
简单分析三种协议之间的区别(20 分) 
HSRP,GLBP是思科私有,VRRP公有,VRRP默认抢占,且可以用实际地址作为转发地址,VRRP状态机简单,报文类型少,HSRP 可以直接 track 地址,GLBP 特点在组内其他成员也可以用于转发部分数据,适用于核心路由器,比如65 系列,一般接入交换机不支持. 
11.
简单说明标准 ACL 和扩展 ACL 的区别(10 分) 
标准 ACL 只能匹配源或者目的,扩展 acl 表比标准 acl 具有更多的匹配项,包括协议类型、源地址、目的地址、源端口、目的端口、建立连接的和 IP 优先级等
12.
当一个数据包出方向的接口上配置有 ACL 时,是先检查 ACL 还是先查路由?(10 分) 
路由高于 ACL 
13.
WAN 数据链路层封装包括哪三种?(10 分) 
FR 帧中继、PPP点对点、HDLC 高级链路控制协议 
14.PPP 协议支持认证,那么在 LCP 和 NCP 中,由哪个负责认证?(10 分) 
LCP  链路控制协议
15. IPv4 中的私有地址有哪些? 
10.0.0.0/8-10.255.255.255/8   
172.16.0.0/16—172.31.255.255/16 
192.168.0.0/24-192.168.255.255/24 
16.
路由器 Telnet 登录验证有哪 4 种验证方式? 
不验证 
密码验证 
本地用户名+密码验证 
AAA 服务器验证
17.
 写出双绞线(网线)的 568A 和 568B 标准线序。 
T568A: 绿白  绿  橙白  蓝  蓝白  橙  棕白  棕 
T568B:  橙白  橙  绿白  蓝  蓝白  绿  棕白  棕
18.
路由器进行路由选路的三条原则是什么? 
最长掩码匹配;
AD 值 
最小 metric
19.OSPF 中 ABR 和 ASBR 的全称分别是什么? 
ABR:区域边界路由器; 
ASBR:自治域系统边界路由器;
20.交换机 CAM 表存放的是什么内容? 
mac 地址 
端口号 
vlan 号
21.Which two statements about late collisions are true? (Choose two.)
A.
They may indicate a duplex mismatch.
B.
By definition, they occur after the 512th bit of the frame has been transmitted.
C. They indicate received frames that did not pass the FCS match.
D. They are frames that exceed 1518 bytes.
E.
They occur when CRC errors and interference occur on the cable.
Correct Answer: AB
22.

cdp run - you will use it to turn CDP globally, in configuration mode

cdp enable - on interface level, only affect the interface

 

Routing protocols are: BGP, IS-IS, EIGRP, OSPF, RIP and so on.

This is routed protocol. Routing protocols are doing the labour.

 

Yes, both. IP, IPv6 for example are routed protocols.

 

CDP is layer 2 protocol, it is not routed though!

23.DEFINITION

packet filtering  包过滤

In a software firewall, packet filtering is done by a program called a packet filter. The packet filter examines the header of each packet based on a specific set of rules, and on that basis, decides to prevent it from passing (called DROP) or allow it to pass (called ACCEPT).

There are three ways in which a packet filter can be configured, once the set of filtering rules has been defined. In the first method, the filter accepts only those packets that it is certain are safe, dropping all others. This is the most secure mode, but it can cause inconvenience if legitimate packets are inadvertently dropped. In the second method, the filter drops only the packets that it is certain are unsafe, accepting all others. This mode is the least secure, but is causes less inconvenience, particularly in casual Web browsing. In the third method, if the filter encounters a packet for which its rules do not provide instructions, that packet can be quarantined, or the user can be specifically queried concerning what should be done with it. This can be inconvenient if it causes numerous dialog boxes to appear, for example, during Web browsing.

24.传输层将数据分段,并且加入flow control等信息。在网络层就将数据进行打包,并加上ip包头,链路层。将
包进行成Frame,封装二层头部




0 0