Advertisement
Guest User

EIGRP Authentication

a guest
Nov 6th, 2011
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. R2#sh run int fa0/0
  2. interface FastEthernet0/0
  3. ip address 192.168.1.2 255.255.255.0
  4. ip authentication mode eigrp 1 md5
  5. ip authentication key-chain eigrp 1 2
  6. end
  7.  
  8. R2#sh key chain 2
  9. Key-chain 2:
  10. key 1 -- text "r2"
  11. accept lifetime (always valid) - (always valid) [valid now]
  12. send lifetime (always valid) - (always valid) [valid now]
  13. key 2 -- text "r2"
  14. accept lifetime (always valid) - (always valid) [valid now]
  15. send lifetime (always valid) - (always valid) [valid now]
  16.  
  17. R2#sh ip eigrp nei
  18. IP-EIGRP neighbors for process 1
  19. H Address Interface Hold Uptime SRTT RTO Q Seq
  20. (sec) (ms) Cnt Num
  21. 0 192.168.1.1 Fa0/0 5 00:00:15 1 5000 2 0
  22. R2#
  23. Nov 6 14:09:46.073: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 192.168.1.1 (FastEthernet0/0) is down: retry limit exceeded
  24. Nov 6 14:09:46.893: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 192.168.1.1 (FastEthernet0/0) is up: new adjacency
  25. R2#
  26.  
  27.  
  28.  
  29. R1#sh run int fa0/0
  30. interface FastEthernet0/0
  31. ip address 192.168.1.1 255.255.255.0
  32. ip authentication mode eigrp 1 md5
  33. ip authentication key-chain eigrp 1 2
  34. end
  35.  
  36. R1#sh key chain 2
  37. Key-chain 2:
  38. key 2 -- text "r2"
  39. accept lifetime (always valid) - (always valid) [valid now]
  40. send lifetime (always valid) - (always valid) [valid now]
  41.  
  42. R1#sh ip eig nei
  43. IP-EIGRP neighbors for process 1
  44. R1#
  45.  
  46. R1#deb eig pack
  47. Nov 6 14:11:19.351: EIGRP: Sending HELLO on FastEthernet0/0
  48. Nov 6 14:11:19.351: AS 1, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
  49. R1#
  50. Nov 6 14:11:20.603: EIGRP: pkt authentication key id = 1, key not defined or not live
  51. Nov 6 14:11:20.607: EIGRP: FastEthernet0/0: ignored packet from 192.168.1.2, opcode = 5 (invalid authentication)
  52. Nov 6 14:11:21.003: EIGRP: pkt authentication key id = 1, key not defined or not live
  53. Nov 6 14:11:21.007: EIGRP: FastEthernet0/0: ignored packet from 192.168.1.2, opcode = 1 (invalid authentication)
  54. Nov 6 14:11:21.207: EIGRP: Sending HELLO on FastEthernet0/0
  55. Nov 6 14:11:21.207: AS 1, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
  56. R1#u all
  57. All possible debugging has been turned off
  58.  
  59.  
  60. R2(config)#key chain 2
  61. R2(config-keychain)#no key 1
  62. R2(config-keychain)#end
  63. R2#sh key ch
  64. Nov 6 14:13:45.624: %SYS-5-CONFIG_I: Configured from console by console
  65. R2#sh key chai 2
  66. Key-chain 2:
  67. key 2 -- text "r2"
  68. accept lifetime (always valid) - (always valid) [valid now]
  69. send lifetime (always valid) - (always valid) [valid now]
  70. R2#
  71.  
  72. R1#
  73. Nov 6 14:13:10.095: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 192.168.1.2 (FastEthernet0/0) is up: new adjacency
  74. R1#
  75.  
  76. R2(config)#key ch 2
  77. R2(config-keychain)#key 3
  78. R2(config-keychain-key)#key-string r2
  79. R2(config-keychain-key)#exit
  80. R2(config-keychain)#no key 2
  81. R2(config-keychain)#
  82. Nov 6 14:20:16.747: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 192.168.1.1 (FastEthernet0/0) is down: Auth failure
  83. R2(config-keychain)#do sh key ch 2
  84. Key-chain 2:
  85. key 3 -- text "r2"
  86. accept lifetime (always valid) - (always valid) [valid now]
  87. send lifetime (always valid) - (always valid) [valid now]
  88. R2(config-keychain)#
  89.  
  90. R1#
  91. Nov 6 14:20:16.787: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 1: Neighbor 192.168.1.2 (FastEthernet0/0) is down: Auth failure
  92. R1#deb eig pa
  93. EIGRP Packets debugging is on
  94. (UPDATE, REQUEST, QUERY, REPLY, HELLO, IPXSAP, PROBE, ACK, STUB, SIAQUERY, SIAREPLY)
  95. R1#
  96. Nov 6 14:20:28.095: EIGRP: Sending HELLO on FastEthernet0/0
  97. Nov 6 14:20:28.095: AS 1, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
  98. R1#
  99. Nov 6 14:20:30.007: EIGRP: pkt authentication key id = 3, key not defined or not live
  100. Nov 6 14:20:30.011: EIGRP: FastEthernet0/0: ignored packet from 192.168.1.2, opcode = 5 (invalid authentication)
  101. Nov 6 14:20:30.059: EIGRP: Sending HELLO on FastEthernet0/0
  102. Nov 6 14:20:30.059: AS 1, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
  103. R1#u all
  104. All possible debugging has been turned off
  105. R1#
  106. Nov 6 14:20:31.927: EIGRP: Sending HELLO on FastEthernet0/0
  107. Nov 6 14:20:31.927: AS 1, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
  108. R1#
  109.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement