Skip to content

Instantly share code, notes, and snippets.

@xu1718191411
Created February 12, 2018 15:49
Show Gist options
  • Save xu1718191411/0d557fd0ba2af0f284cd591284ae4a5d to your computer and use it in GitHub Desktop.
Save xu1718191411/0d557fd0ba2af0f284cd591284ae4a5d to your computer and use it in GitHub Desktop.
纪念我的第六个CCNA实验 EIGRP路由协议 ref: https://qiita.com/xu1718191411/items/65557dd9640153fcd165
Router(config-if)#router eigrp 100
Router(config-router)#network 192.168.10.0 0.0.0.255
Router(config-router)#network 172.16.10.0 0.0.0.255
Router(config-router)#network 172.16.20.0 0.0.0.255
Router(config-router)#network 172.16.30.0 0.0.0.255
Router(config-if)#router eigrp 100
Router(config-router)#network 172.16.10.0 0.0.0.255
Router(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.16.10.1 (FastEthernet0/0) is up: new adjacency
Router(config)#do show interface f0/0
FastEthernet0/0 is up, line protocol is up (connected)
Hardware is Lance, address is 0002.1738.cb9b (bia 0002.1738.cb9b)
Internet address is 172.16.10.1/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Router(config)#do show interface s2/0
Serial2/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 172.16.20.1/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Router(config)#int s3/0
Router(config-if)#band
Router(config-if)#bandwidth 100000
Router(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.1.2.5 (Serial3/0) is down: interface down
Router(config-if)#delay
Router(config-if)#delay
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.1.2.5 (Serial3/0) is up: new adjacenc
% Incomplete command.
Router(config-if)#delay 10
Router(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.1.2.5 (Serial3/0) is down: interface down
Router(config-if)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.1.2.5 (Serial3/0) is up: new adjacency
Router(config-if)#do show interface s3/0
Serial3/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 10.1.2.3/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Router(config-if)#do show interface s3/0
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.1.2.5 (Serial3/0) is up: new adjacency
Serial3/0 is up, line protocol is up (connected)
Hardware is HD64570
Internet address is 10.1.2.3/24
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Router(config-if)#do show ip eigrp topology
IP-EIGRP Topology Table for AS 100/ID(192.168.10.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 10.0.0.0/8, 1 successors, FD is 30720
via 172.16.10.2 (30720/28160), FastEthernet0/0
via 172.16.20.3 (20514560/28160), Serial2/0
P 172.16.0.0/16, 1 successors, FD is 28160
via Summary (28160/0), Null0
P 172.16.10.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 172.16.20.0/24, 1 successors, FD is 20512000
via Connected, Serial2/0
P 172.16.30.0/24, 1 successors, FD is 20512000
via Connected, Serial3/0
P 192.168.10.0/24, 1 successors, FD is 28160
via Connected, FastEthernet1/0
P 192.168.20.0/24, 1 successors, FD is 33280
via 172.16.10.2 (33280/30720), FastEthernet0/0
via 172.16.20.3 (20517120/30720), Serial2/0
Router(config-if)#do traceroute 10.1.2.3
Type escape sequence to abort.
Tracing the route to 10.1.2.3
1 172.16.10.2 0 msec 0 msec 0 msec
2 10.1.1.5 0 msec 0 msec 0 msec
3 10.1.2.3 1 msec 0 msec 0 msec
Router(config-if)#
Router(config-if)#do show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
D 10.0.0.0/8 [90/30720] via 172.16.10.2, 00:34:23, FastEthernet0/0
172.16.0.0/16 is variably subnetted, 4 subnets, 2 masks
D 172.16.0.0/16 is a summary, 01:11:51, Null0
C 172.16.10.0/24 is directly connected, FastEthernet0/0
C 172.16.20.0/24 is directly connected, Serial2/0
C 172.16.30.0/24 is directly connected, Serial3/0
C 192.168.10.0/24 is directly connected, FastEthernet1/0
D 192.168.20.0/24 [90/33280] via 172.16.10.2, 00:34:23, FastEthernet0/0
Router(config-if)#do traceroute 10.1.2.3
Type escape sequence to abort.
Tracing the route to 10.1.2.3
1 172.16.20.3 1 msec 0 msec 0 msec
Router(config-if)#do traceroute 10.1.2.3
Type escape sequence to abort.
Tracing the route to 10.1.2.3
1 172.16.10.2 0 msec 1 msec 0 msec
Router(config-if)#do traceroute 10.1.2.3
Type escape sequence to abort.
Tracing the route to 10.1.2.3
1 172.16.20.3 4 msec 1 msec 0 msec
Router(config-if)#router eigrp 100
Router(config-router)#network 172.16.20.0 0.0.0.255
Router(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.16.20.1 (Serial2/0) is up: new adjacency
Router(config-router)#network 10.1.2.0 0.0.0.255
Router(config-if)#router eigrp 100
Router(config-router)#network 172.16.30.0 0.0.0.255
Router(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.16.30.1 (Serial3/0) is up: new adjacency
Router(config-router)#network 10.1.3.0 0.0.0.255
Router(config)#router eigrp 100
Router(config-router)#network 10.1.1.0 0.0.0.255
Router(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.1.1.2 (FastEthernet1/0) is up: new adjacency
Router(config-router)#network 10.1.2.0 0.0.0.255
Router(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.1.2.3 (Serial3/0) is up: new adjacency
Router(config-router)#network 10.1.3.0 0.0.0.255
Router(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 10.1.3.4 (Serial2/0) is up: new adjacency
Router(config-router)#network 192.168.20.0 0.0.0.255
Router(config-router)#do show ip eigrp neighbor
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.10.2 Fa0/0 14 00:05:32 40 1000 0 17
1 172.16.20.3 Se2/0 10 00:03:57 40 1000 0 21
2 172.16.30.4 Se3/0 14 00:02:49 40 1000 0 21
Router(config-router)#do show ip eigrp neighbor
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.20.1 Se2/0 13 00:07:21 40 1000 0 6
1 10.1.2.5 Se3/0 12 00:05:04 40 1000 0 12
Router(config-router)#do show ip eigrp neighbor
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 172.16.10.1 Fa0/0 13 00:09:53 40 1000 0 7
1 10.1.1.5 Fa1/0 14 00:06:13 40 1000 0 12
Router(config-router)#
Router(config-router)#do show ip eigrp topology
IP-EIGRP Topology Table for AS 100/ID(192.168.10.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 10.0.0.0/8, 1 successors, FD is 30720
via 172.16.10.2 (30720/28160), FastEthernet0/0
P 172.16.0.0/16, 1 successors, FD is 28160
via Summary (28160/0), Null0
P 172.16.10.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 172.16.20.0/24, 1 successors, FD is 20512000
via Connected, Serial2/0
P 172.16.30.0/24, 1 successors, FD is 20512000
via Connected, Serial3/0
P 192.168.10.0/24, 1 successors, FD is 28160
via Connected, FastEthernet1/0
P 192.168.20.0/24, 1 successors, FD is 33280
via 172.16.10.2 (33280/30720), FastEthernet0/0
Router(config-router)#
Router(config-router)#
Router(config-router)#do traceroute 10.1.2.3
Type escape sequence to abort.
Tracing the route to 10.1.2.3
1 172.16.10.2 20 msec 0 msec 0 msec
2 10.1.1.5 0 msec 0 msec 0 msec
3 10.1.2.3 0 msec 1 msec 0 msec
Router(config-router)#do traceroute 10.1.3.4
Type escape sequence to abort.
Tracing the route to 10.1.3.4
1 172.16.10.2 0 msec 0 msec 0 msec
2 10.1.1.5 0 msec 0 msec 0 msec
3 10.1.3.4 1 msec 1 msec 0 msec
Router(config-router)#
P 10.0.0.0/8, 1 successors, FD is 30720
via 172.16.10.2 (30720/28160), FastEthernet0/0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment