|
en Password: r1#show run Building configuration...
Current configuration : 2224 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname r1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$oB4/$/FW3JlE2DSVOt6/g1Jw7W/ ! no aaa new-model ip subnet-zero ! ! no ip domain lookup ip host r2 192.168.3.34 ip host r3 172.16.2.22 ip host r4 192.168.4.6 ip host r5 192.168.3.130 ip host r6 192.168.4.10 ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface FastEthernet0/0 description link to r2 ip address 192.168.3.33 255.255.255.224 duplex half ! interface FastEthernet1/0 description link to r3 ip address 172.16.2.21 255.255.255.252 ip summary-address eigrp 2 192.168.0.0 255.255.248.0 5 duplex half ! interface FastEthernet2/0 description link to r4 ip address 192.168.4.5 255.255.255.252 ip summary-address eigrp 2 192.168.3.0 255.255.255.0 5 duplex half ! interface FastEthernet3/0 description link to r5 ip address 192.168.3.129 255.255.255.224 ip summary-address eigrp 1 192.168.4.0 255.255.255.0 5 ip summary-address eigrp 1 192.168.3.0 255.255.255.128 5 ip summary-address eigrp 1 172.16.0.0 255.255.255.252 5 duplex half ! interface FastEthernet4/0 description link to r6 ip address 192.168.4.9 255.255.255.252 duplex half ! router eigrp 2 redistribute ospf 1 metric 100000 100 100 5 1500 passive-interface FastEthernet4/0 network 172.16.0.0 network 192.168.4.0 no auto-summary ! router eigrp 1 redistribute ospf 1 metric 100000 100 100 5 1500 passive-interface FastEthernet0/0 network 192.168.3.0 no auto-summary ! router ospf 1 log-adjacency-changes area 1 nssa no-redistribution no-summary area 1 range 192.168.4.8 255.255.255.248 summary-address 172.16.0.0 255.255.0.0 summary-address 192.168.3.128 255.255.255.128 summary-address 192.168.4.0 255.255.255.0 redistribute eigrp 2 metric 10 subnets redistribute eigrp 1 metric 10 subnets network 192.168.3.32 0.0.0.31 area 0 network 192.168.4.8 0.0.0.3 area 1 ! ip classless ip route 192.168.4.8 255.255.255.248 Null0 no ip http server ! ! ! ! ! ! ! ! ! gatekeeper shutdown ! banner motd ^CWelcome to r1^C ! line con 0 stopbits 1 line aux 0 line vty 0 4 no login ! ! end
r1#show ip route Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, 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
1.0.0.0/32 is subnetted, 1 subnets C 1.1.1.1 is directly connected, Loopback0 172.16.0.0/16 is variably subnetted, 3 subnets, 3 masks C 172.16.2.20/30 is directly connected, FastEthernet1/0 O 172.16.0.0/16 is a summary, 00:27:05, Null0 D 172.16.1.0/24 [90/156160] via 172.16.2.22, 00:23:26, FastEthernet1/0 192.168.4.0/24 is variably subnetted, 6 subnets, 4 masks D 192.168.4.72/29 [90/156160] via 192.168.4.6, 00:11:20, FastEthernet2/0 O 192.168.4.13/32 [110/2] via 192.168.4.10, 00:27:06, FastEthernet4/0 C 192.168.4.8/30 is directly connected, FastEthernet4/0 S 192.168.4.8/29 is directly connected, Null0 C 192.168.4.4/30 is directly connected, FastEthernet2/0 D 192.168.4.0/24 is a summary, 00:03:00, Null0 192.168.1.0/32 is subnetted, 1 subnets O 192.168.1.1 [110/2] via 192.168.3.34, 00:26:45, FastEthernet0/0 D 192.168.2.0/24 [90/156160] via 192.168.3.130, 00:02:25, FastEthernet3/0 192.168.3.0/24 is variably subnetted, 9 subnets, 4 masks O 192.168.3.97/32 [110/2] via 192.168.3.34, 00:26:45, FastEthernet0/0 O 192.168.3.65/32 [110/2] via 192.168.3.34, 00:26:45, FastEthernet0/0 C 192.168.3.32/27 is directly connected, FastEthernet0/0 D 192.168.3.0/25 is a summary, 00:02:30, Null0 D 192.168.3.0/24 is a summary, 00:07:31, Null0 D 192.168.3.192/27 [90/156160] via 192.168.3.130, 00:02:25, FastEthernet3/0 D 192.168.3.160/27 [90/156160] via 192.168.3.130, 00:02:25, FastEthernet3/0 C 192.168.3.128/27 is directly connected, FastEthernet3/0 O 192.168.3.128/25 is a summary, 00:02:29, Null0 D 192.168.0.0/21 is a summary, 00:23:31, Null0 r1#r2 Translating "r2" Trying r2 (192.168.3.34)... Open Wlcome to r2 r2>en Password: r2#show run Building configuration...
Current configuration : 1087 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname r2 ! boot-start-marker boot-end-marker ! enable secret 5 $1$VLwP$X0RwLrmSyrIWf7PIqu9iS0 ! no aaa new-model ip subnet-zero ! ! no ip domain lookup ip host r1 192.168.3.33 ip host r3 172.16.2.22 ip host r4 192.168.4.6 ip host r5 192.168.3.130 ip host r6 192.168.4.10 ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 192.168.3.65 255.255.255.224 ! interface Loopback1 ip address 192.168.3.97 255.255.255.224 ! interface Loopback2 ip address 192.168.1.1 255.255.255.0 ! interface FastEthernet0/0 description link to r1 ip address 192.168.3.34 255.255.255.224 duplex half ! router ospf 1 log-adjacency-changes network 192.168.1.0 0.0.0.255 area 0 network 192.168.3.32 0.0.0.31 area 0 network 192.168.3.64 0.0.0.31 area 0 network 192.168.3.96 0.0.0.31 area 0 ! ip classless no ip http server ! ! ! ! ! ! ! ! gatekeeper shutdown ! banner motd ^CWlcome to r2^C ! line con 0 stopbits 1 line aux 0 line vty 0 4 no login ! ! end
r2#show ip route Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, 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
O E2 172.16.0.0/16 [110/10] via 192.168.3.33, 00:18:36, FastEthernet0/0 192.168.4.0/24 is variably subnetted, 2 subnets, 2 masks O IA 192.168.4.8/29 [110/2] via 192.168.3.33, 00:18:36, FastEthernet0/0 O E2 192.168.4.0/24 [110/10] via 192.168.3.33, 00:17:17, FastEthernet0/0 C 192.168.1.0/24 is directly connected, Loopback2 O E2 192.168.2.0/24 [110/10] via 192.168.3.33, 00:02:27, FastEthernet0/0 192.168.3.0/24 is variably subnetted, 6 subnets, 3 masks C 192.168.3.96/27 is directly connected, Loopback1 C 192.168.3.64/27 is directly connected, Loopback0 C 192.168.3.32/27 is directly connected, FastEthernet0/0 O E2 192.168.3.0/25 [110/10] via 192.168.3.33, 00:02:38, FastEthernet0/0 O E2 192.168.3.0/24 [110/10] via 192.168.3.33, 00:12:57, FastEthernet0/0 O E2 192.168.3.128/25 [110/10] via 192.168.3.33, 00:18:36, FastEthernet0/0 O E2 192.168.0.0/21 [110/10] via 192.168.3.33, 00:18:37, FastEthernet0/0 r2#r3 Translating "r3" Trying r3 (172.16.2.22)... Open Welcome to r3 r3>en Password: r3#show run Building configuration...
Current configuration : 820 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname r3 ! boot-start-marker boot-end-marker ! enable secret 5 $1$/aaN$qFphXWTE9Z18zFoT3GBxl. ! no aaa new-model ip subnet-zero ! ! no ip domain lookup ip host r1 172.16.2.21 ip host r2 192.168.3.34 ip host r4 192.168.4.6 ip host r5 192.168.3.130 ip host r6 192.168.4.10 ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 172.16.1.1 255.255.255.0 ! interface FastEthernet0/0 description link to r1 ip address 172.16.2.22 255.255.255.252 duplex half ! router eigrp 2 network 172.16.0.0 auto-summary ! ip classless no ip http server ! ! ! ! ! ! ! ! ! gatekeeper shutdown ! banner motd ^CWelcome to r3^C ! line con 0 stopbits 1 line aux 0 line vty 0 4 no login ! ! end
r3#show ip route Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, 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
172.16.0.0/16 is variably subnetted, 3 subnets, 3 masks C 172.16.2.20/30 is directly connected, FastEthernet0/0 D EX 172.16.0.0/16 [170/53760] via 172.16.2.21, 00:24:55, FastEthernet0/0 C 172.16.1.0/24 is directly connected, Loopback0 D 192.168.0.0/21 [90/28160] via 172.16.2.21, 00:24:55, FastEthernet0/0 r3#r4 Translating "r4" Trying r4 (192.168.4.6)... Open Welcome to r4 r4>en Password:
r4#show run Building configuration...
Current configuration : 846 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname r4 ! boot-start-marker boot-end-marker ! enable secret 5 $1$3jXd$2c7.JCj4h9JxhMc9W90ew. ! no aaa new-model ip subnet-zero ! ! no ip domain lookup ip host r1 192.168.3.34 ip host r2 172.16.2.22 ip host r5 192.168.3.130 ip host r6 192.168.4.10 ip host r3 172.16.2.22 ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 description test ip ip address 192.168.4.73 255.255.255.248 ! interface FastEthernet0/0 description link to r1 ip address 192.168.4.6 255.255.255.252 duplex half ! router eigrp 2 network 192.168.4.0 auto-summary ! ip classless no ip http server ! ! ! ! ! ! ! ! ! gatekeeper shutdown ! banner motd ^CWelcome to r4^C ! line con 0 stopbits 1 line aux 0 line vty 0 4 no login ! ! end
r4#show ip route Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, 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
172.16.0.0/16 is variably subnetted, 3 subnets, 3 masks D 172.16.2.20/30 [90/30720] via 192.168.4.5, 00:12:28, FastEthernet0/0 D EX 172.16.0.0/16 [170/53760] via 192.168.4.5, 00:12:28, FastEthernet0/0 D 172.16.1.0/24 [90/158720] via 192.168.4.5, 00:12:28, FastEthernet0/0 192.168.4.0/24 is variably subnetted, 5 subnets, 3 masks C 192.168.4.72/29 is directly connected, Loopback0 D EX 192.168.4.13/32 [170/53760] via 192.168.4.5, 00:12:28, FastEthernet0/0 D 192.168.4.8/30 [90/30720] via 192.168.4.5, 00:12:28, FastEthernet0/0 D 192.168.4.8/29 [90/28160] via 192.168.4.5, 00:12:28, FastEthernet0/0 C 192.168.4.4/30 is directly connected, FastEthernet0/0 192.168.1.0/32 is subnetted, 1 subnets D EX 192.168.1.1 [170/53760] via 192.168.4.5, 00:12:28, FastEthernet0/0 D 192.168.3.0/24 [90/53760] via 192.168.4.5, 00:08:29, FastEthernet0/0 r4#r5 Translating "r5" Trying r5 (192.168.3.130)... Open Welcome to r5 r5>en Password: r5#show run Building configuration...
Current configuration : 1036 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname r5 ! boot-start-marker boot-end-marker ! enable secret 5 $1$3Bg3$8VxG1PliN/XKbkOP9q.Sj1 ! no aaa new-model ip subnet-zero ! ! no ip domain lookup ip host r6 192.168.4.10 ip host r4 192.168.4.6 ip host r3 172.16.2.22 ip host r2 192.168.3.34 ip host r1 192.168.3.129 ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 description test ip ip address 192.168.3.161 255.255.255.224 ! interface Loopback1 description test ip ip address 192.168.3.193 255.255.255.224 ! interface Loopback2 description test ip ip address 192.168.2.1 255.255.255.0 ! interface FastEthernet0/0 description link to r1 ip address 192.168.3.130 255.255.255.224 duplex half ! router eigrp 1 network 192.168.2.0 network 192.168.3.0 auto-summary ! ip classless no ip http server ! ! ! ! ! ! ! ! ! gatekeeper shutdown ! banner motd ^CWelcome to r5^C ! line con 0 stopbits 1 line aux 0 line vty 0 4 no login ! ! end
r5#show ip route Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, 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 EX 172.16.0.0/16 [170/53760] via 192.168.3.129, 00:07:12, FastEthernet0/0 D 192.168.4.0/24 [90/53760] via 192.168.3.129, 00:07:12, FastEthernet0/0 192.168.1.0/32 is subnetted, 1 subnets D EX 192.168.1.1 [170/53760] via 192.168.3.129, 00:07:12, FastEthernet0/0 C 192.168.2.0/24 is directly connected, Loopback2 192.168.3.0/24 is variably subnetted, 6 subnets, 3 masks D 192.168.3.0/25 [90/30720] via 192.168.3.129, 00:07:12, FastEthernet0/0 D 192.168.3.0/24 is a summary, 00:18:15, Null0 C 192.168.3.192/27 is directly connected, Loopback1 C 192.168.3.160/27 is directly connected, Loopback0 C 192.168.3.128/27 is directly connected, FastEthernet0/0 D EX 192.168.3.128/25 [170/53760] via 192.168.3.129, 00:07:12, FastEthernet0/0 r5#r6 Translating "r6" Trying r6 (192.168.4.10)... Open Welcome to r6 r6>en Password:
r6#show run Building configuration...
Current configuration : 918 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname r6 ! boot-start-marker boot-end-marker ! enable secret 5 $1$/lE6$MVeWjkDbeBTthoju4Ugt50 ! no aaa new-model ip subnet-zero ! ! no ip domain lookup ip host r1 192.168.4.9 ip host r2 192.168.3.34 ip host r3 172.16.2.22 ip host r4 172.16.4.6 ip host r5 192.168.3.130 ! ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 description test ip ip address 192.168.4.13 255.255.255.252 ! interface FastEthernet0/0 description link to r1 ip address 192.168.4.10 255.255.255.252 duplex half ! router ospf 1 log-adjacency-changes area 1 nssa network 192.168.4.8 0.0.0.3 area 1 network 192.168.4.12 0.0.0.3 area 1 ! ip classless no ip http server ! ! ! ! ! ! ! ! ! gatekeeper shutdown ! banner motd ^CWelcome to r6^C ! line con 0 stopbits 1 line aux 0 line vty 0 4 no login ! ! end
r6#show ip route Codes: C - connected, S - static, 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 i - IS-IS, su - IS-IS summary, 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 192.168.4.9 to network 0.0.0.0
192.168.4.0/30 is subnetted, 2 subnets C 192.168.4.12 is directly connected, Loopback0 C 192.168.4.8 is directly connected, FastEthernet0/0 O*IA 0.0.0.0/0 [110/2] via 192.168.4.9, 00:20:49, FastEthernet0/0 r6# 本文出自 “人类一思考,上帝都发笑” 博客,转载请与作者联系! 本文出自 51CTO.COM技术博客 |