网络ccna实验手册互联神州bsci30s02l_第1页
网络ccna实验手册互联神州bsci30s02l_第2页
网络ccna实验手册互联神州bsci30s02l_第3页
网络ccna实验手册互联神州bsci30s02l_第4页
网络ccna实验手册互联神州bsci30s02l_第5页
已阅读5页,还剩11页未读 继续免费阅读

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、配置EIGRP配置 EIGRP 认证路由器认证Many routing protocols support authentication such that a router authenticates the source of each routing update packet that it receives.简单密码认证:IS-IS OSPF RIPv2 MD5 认证:OSPF RIPv2BGPEIGRP简单密码 vs. MD5 认证简单密码认证:Router sends packet and key.Neighbor checks whether key matches its k

2、ey.Process not secure.MD5 认证: Configure a key (password) and key ID; router generates a message digest, or hash, of the key, key ID and message.Message digest is sent with packet; key is not sent.Process OS secure.EIGRP MD5 认证EIGRP 支持MD5 认证.Router generates and checks every EIGRP packet. Router auth

3、enticates the source of each routing update packet that it receives.Configure a key (password) and key ID; each participating neighbor must have same key configured.MD5 认证EIGRP MD5 认证: Router generates a message digest, or hash, of the key, key ID, and message.EIGRP allows keys to be managed using k

4、ey chains.Specify key ID (number), key, and lifetime of key.First valid activated key, in order of key numbers, is used.配置 EIGRP MD5 认证ip authentication mode eigrp autonomous-system md5Router(config-if)#Specifies MD5 authentication for EIGRP packetsRouter(config-if)#ip authentication key-chain eigrp

5、 autonomous-system name-of-chain Enables authentication of EIGRP packets using key in the keychain配置 EIGRP MD5 认证 (续.)key chain name-of-chainRouter(config)#Enters configuration mode for the keychainRouter(config-keychain)#key key-id Identifies key and enters configuration mode for the keyid配置 EIGRP

6、MD5 认证 (续.)Router(config-keychain-key)#key-string textIdentifies key string (password)Router(config-keychain-key)#accept-lifetime start-time infinite | end-time | duration seconds Optional: Specifies when key will be accepted for received packetsRouter(config-keychain-key)#send-lifetime start-time i

7、nfinite | end-time | duration seconds Optional: Specifies when key can be used for sending packetsMD5 认证配置例子R1 MD5 认证配置 key chain R1chain key 1 key-string firstkey accept-lifetime 04:00:00 Jan 1 2006 infinite send-lifetime 04:00:00 Jan 1 2006 04:01:00 Jan 1 2006 key 2 key-string secondkey accept-lif

8、etime 04:00:00 Jan 1 2006 infinite send-lifetime 04:00:00 Jan 1 2006 infinite interface FastEthernet0/0 ip address !interface Serial0/0/1 bandwidth 64 ip address 01 24 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 R1chain!r

9、outer eigrp 100 network 55 network auto-summary R2 MD5 认证配置 key chain R2chain key 1 key-string firstkey accept-lifetime 04:00:00 Jan 1 2006 infinite send-lifetime 04:00:00 Jan 1 2006 infinite key 2 key-string secondkey accept-lifetime 04:00:00 Jan 1 2006 infinite send-l

10、ifetime 04:00:00 Jan 1 2006 infinite interface FastEthernet0/0 ip address !interface Serial0/0/1 bandwidth 64 ip address 02 24 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 R2chain!router eigrp 100 network 0.0.0

11、.255 network auto-summary 验证 MD5 认证R1#*Jan 21 16:23:30.517: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 02 (Serial0/0/1) is up: new adjacencyR1#show ip eigrp neighborsIP-EIGRP neighbors for process 100H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 192.168.

12、1.102 Se0/0/1 12 00:03:10 17 2280 0 14R1#show ip routeGateway of last resort is not setD /16 90/40514560 via 02, 00:02:22, Serial0/0/1 /16 is variably subnetted, 2 subnets, 2 masksD /16 is a summary, 00:31:31, Null0C /24 is directly connected, FastE

13、thernet0/0 /24 is variably subnetted, 2 subnets, 2 masksC 6/27 is directly connected, Serial0/0/1D /24 is a summary, 00:31:31, Null0R1#ping Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Success rate is 100

14、 percent (5/5), round-trip min/avg/max = 12/15/16 ms排错 MD5 认证R1#debug eigrp packetsEIGRP Packets debugging is on (UPDATE, REQUEST, QUERY, REPLY, HELLO, IPXSAP, PROBE, ACK, STUB, SIAQUERY, SIAREPLY)*Jan 21 16:38:51.745: EIGRP: received packet with MD5 authentication, key id = 1*Jan 21 16:38:51.745: E

15、IGRP: Received HELLO on Serial0/0/1 nbr 02*Jan 21 16:38:51.745: AS 100, Flags 0 x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0R2#debug eigrp packetsEIGRP Packets debugging is on (UPDATE, REQUEST, QUERY, REPLY, HELLO, IPXSAP, PROBE, ACK, STUB, SIAQUERY, SIAREPLY)R2#*Jan 21 16:38:

16、38.321: EIGRP: received packet with MD5 authentication, key id = 2*Jan 21 16:38:38.321: EIGRP: Received HELLO on Serial0/0/1 nbr 01*Jan 21 16:38:38.321: AS 100, Flags 0 x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0排错 MD5 认证问题R1(config-if)#key chain R1chainR1(config-keychain)#ke

17、y 2R1(config-keychain-key)#key-string wrongkeyR2#debug eigrp packetsEIGRP Packets debugging is on (UPDATE, REQUEST, QUERY, REPLY, HELLO, IPXSAP, PROBE, ACK, STUB, SIAQUERY, SIAREPLY)R2#*Jan 21 16:50:18.749: EIGRP: pkt key id = 2, authentication mismatch*Jan 21 16:50:18.749: EIGRP: Serial0/0/1: ignor

18、ed packet from 01, opcode = 5 (invalid authentication)*Jan 21 16:50:18.749: EIGRP: Dropping peer, invalid authentication*Jan 21 16:50:18.749: EIGRP: Sending HELLO on Serial0/0/1*Jan 21 16:50:18.749: AS 100, Flags 0 x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0*Jan 21 16:50:18.753: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 01 (Serial0/0/1) is down: Auth failureR2#show ip eigrp neighborsIP-EIGRP neighbors for process 100R2# MD5 authenti

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论