Practice Lab 4:多路由环境在CISCO路由器上的应用(二)
版权声明:原创作品,谢绝转载!否则将追究法律责任。 |
R1#sh run Building configuration... ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 interface Serial2/0
no ip address encapsulation frame-relay ip ospf network non-broadcast serial restart-delay 0 clock rate 64000 no arp frame-relay no frame-relay inverse-arp ! interface Serial2/0.2 multipoint ip address 10.20.1.2 255.255.0.0 ip ospf network non-broadcast ip ospf priority 255 frame-relay map ip 10.20.1.1 102 broadcast ! interface Serial2/0.3 multipoint ip address 10.10.1.1 255.255.0.0 ip ospf network non-broadcast ip ospf priority 255 frame-relay map ip 10.10.1.3 103 broadcast frame-relay map ip 10.10.1.5 105 broadcast ! ! router ospf 1 router-id 1.1.1.1 log-adjacency-changes area 5 virtual-link 2.2.2.2 network 10.1.0.1 0.0.0.0 area 1 network 10.10.1.1 0.0.0.0 area 0 network 10.20.1.2 0.0.0.0 area 5 ! router bgp 3 no synchronization bgp router-id 1.1.1.1 bgp log-neighbor-changes neighbor 10.10.1.3 remote-as 2 neighbor 10.10.1.5 remote-as 3 neighbor 10.10.1.5 route-reflector-client neighbor 10.20.1.1 remote-as 3 neighbor 10.20.1.1 route-reflector-client no auto-summary ! end R1#sh 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 10.20.1.1 to network 0.0.0.0
B 200.200.200.0/24 [20/0] via 10.10.1.3, 00:13:11
1.0.0.0/32 is subnetted, 1 subnets C 1.1.1.1 is directly connected, Loopback0 137.20.0.0/24 is subnetted, 1 subnets O IA 137.20.20.0 [110/65] via 10.20.1.1, 00:11:11, Serial2/0.2 20.0.0.0/32 is subnetted, 1 subnets O IA 20.1.1.1 [110/65] via 10.20.1.1, 00:11:01, Serial2/0.2 22.0.0.0/24 is subnetted, 1 subnets B 22.1.1.0 [200/0] via 10.20.1.1, 00:13:11 40.0.0.0/24 is subnetted, 1 subnets B 40.1.1.0 [20/0] via 10.10.1.3, 00:13:11 10.0.0.0/8 is variably subnetted, 8 subnets, 3 masks C 10.10.0.0/16 is directly connected, Serial2/0.3 O IA 10.3.0.0/16 [110/65] via 10.10.1.3, 00:11:15, Serial2/0.3 C 10.1.0.0/17 is directly connected, FastEthernet1/0 O IA 10.4.0.0/16 [110/129] via 10.10.1.3, 00:11:15, Serial2/0.3 C 10.20.0.0/16 is directly connected, Serial2/0.2 O IA 10.44.1.1/32 [110/129] via 10.10.1.3, 00:11:15, Serial2/0.3 O IA 10.34.0.0/16 [110/128] via 10.10.1.3, 00:11:15, Serial2/0.3 O IA 10.33.0.0/16 [110/65] via 10.10.1.3, 00:11:15, Serial2/0.3 O IA 11.0.0.0/8 [110/65] via 10.10.1.5, 00:11:15, Serial2/0.3 O*E1 0.0.0.0/0 [110/164] via 10.20.1.1, 00:03:15, Serial2/0.2 [110/164] via 10.10.1.5, 00:03:15, Serial2/0.3 R1# R1# R1#sh ip bgp BGP table version is 12, local router ID is 1.1.1.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path
*>i22.1.1.0/24 10.20.1.1 0 100 0 ? *> 40.1.1.0/24 10.10.1.3 0 2 1 ? *> 200.200.200.0 10.10.1.3 0 2 1 i R1# R1#sh ip ospf n Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 0 FULL/ - - 10.20.1.1 OSPF_VL0 3.3.3.3 0 FULL/DROTHER 00:01:25 10.10.1.3 Serial2/0.3 5.5.5.5 1 FULL/BDR 00:01:58 10.10.1.5 Serial2/0.3 2.2.2.2 1 FULL/BDR 00:01:52 10.20.1.1 Serial2/0.2 R1# R1#sh ip bgp s BGP router identifier 1.1.1.1, local AS number 3 BGP table version is 12, main routing table version 12 3 network entries using 303 bytes of memory 3 path entries using 144 bytes of memory 3 BGP path attribute entries using 180 bytes of memory 1 BGP AS-PATH entries using 24 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 651 total bytes of memory BGP activity 7/4 prefixes, 7/4 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.10.1.3 4 2 84 77 12 0 0 01:07:29 2 10.10.1.5 4 3 73 83 12 0 0 00:21:33 0 10.20.1.1 4 3 76 83 12 0 0 00:21:46 1 R2#SH RUN Building configuration... ! ! interface Loopback0 ip address 2.2.2.2 255.255.255.255 ! interface Loopback1 ip address 172.168.32.1 255.255.255.0 ! interface Loopback2 ip address 20.1.1.1 255.255.255.0 ! interface FastEthernet1/0
ip address 137.20.20.1 255.255.255.0 duplex full ! interface Serial2/0 ip address 10.20.1.1 255.255.0.0 encapsulation frame-relay serial restart-delay 0 clock rate 64000 no arp frame-relay frame-relay map ip 10.20.1.2 201 broadcast no frame-relay inverse-arp router ospf 1
router-id 2.2.2.2 log-adjacency-changes area 5 virtual-link 1.1.1.1 network 10.20.1.1 0.0.0.0 area 5 network 20.1.1.1 0.0.0.0 area 10 network 137.20.20.1 0.0.0.0 area 10 neighbor 10.20.1.2 default-information originate always metric 100 metric-type 1 ! router bgp 3 no synchronization bgp router-id 2.2.2.2 bgp log-neighbor-changes redistribute static neighbor 10.20.1.2 remote-as 3 no auto-summary ! ip classless ip route 22.1.1.0 255.255.255.0 Null0 no ip http server end
R2# sh 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
B 200.200.200.0/24 [200/0] via 10.10.1.3, 00:22:52
137.20.0.0/24 is subnetted, 1 subnets C 137.20.20.0 is directly connected, FastEthernet1/0 2.0.0.0/32 is subnetted, 1 subnets C 2.2.2.2 is directly connected, Loopback0 20.0.0.0/24 is subnetted, 1 subnets C 20.1.1.0 is directly connected, Loopback2 172.168.0.0/24 is subnetted, 1 subnets C 172.168.32.0 is directly connected, Loopback1 22.0.0.0/24 is subnetted, 1 subnets S 22.1.1.0 is directly connected, Null0 40.0.0.0/24 is subnetted, 1 subnets B 40.1.1.0 [200/0] via 10.10.1.3, 00:22:52 10.0.0.0/8 is variably subnetted, 8 subnets, 3 masks O 10.10.0.0/16 [110/128] via 10.20.1.2, 00:12:43, Serial2/0 O IA 10.3.0.0/16 [110/129] via 10.20.1.2, 00:12:43, Serial2/0 O IA 10.1.0.0/17 [110/65] via 10.20.1.2, 00:12:43, Serial2/0 O IA 10.4.0.0/16 [110/193] via 10.20.1.2, 00:12:43, Serial2/0 C 10.20.0.0/16 is directly connected, Serial2/0 O IA 10.44.1.1/32 [110/193] via 10.20.1.2, 00:12:43, Serial2/0 O IA 10.34.0.0/16 [110/192] via 10.20.1.2, 00:12:43, Serial2/0 O IA 10.33.0.0/16 [110/129] via 10.20.1.2, 00:12:43, Serial2/0 O IA 11.0.0.0/8 [110/129] via 10.20.1.2, 00:12:43, Serial2/0 R2# R2# R2#sh ip ospf n Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 0 FULL/ - - 10.20.1.2 OSPF_VL0 1.1.1.1 255 FULL/DR 00:01:36 10.20.1.2 Serial2/0 R2#sh ip bgp s BGP router identifier 2.2.2.2, local AS number 3 BGP table version is 14, main routing table version 14 3 network entries using 303 bytes of memory 3 path entries using 144 bytes of memory 3 BGP path attribute entries using 180 bytes of memory 1 BGP AS-PATH entries using 24 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 651 total bytes of memory BGP activity 8/5 prefixes, 8/5 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.20.1.2 4 3 85 78 14 0 0 00:23:36 2 R2#sh ip bgp BGP table version is 14, local router ID is 2.2.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path
*> 22.1.1.0/24 0.0.0.0 0 32768 ? *>i40.1.1.0/24 10.10.1.3 0 100 0 2 1 ? *>i200.200.200.0 10.10.1.3 0 100 0 2 1 i R3#sh run
Building configuration... ! interface Loopback0 ip address 3.3.3.3 255.255.255.255 ! interface Loopback1 ip address 10.33.1.33 255.255.255.224 ! interface Loopback2 ip address 10.33.1.65 255.255.255.224 ! interface FastEthernet1/0
ip address 10.3.1.1 255.255.0.0 duplex full ! interface Serial2/0 ip address 10.10.1.3 255.255.0.0 encapsulation frame-relay ip ospf priority 0 serial restart-delay 0 clock rate 64000 no arp frame-relay frame-relay map ip 10.10.1.1 301 broadcast frame-relay map ip 10.10.1.5 301 broadcast no frame-relay inverse-arp ! interface Serial2/1 ip address 10.34.1.1 255.255.0.0 encapsulation frame-relay ip ospf priority 0 serial restart-delay 0 clock rate 64000 no arp frame-relay frame-relay map ip 10.34.1.2 314 broadcast no frame-relay inverse-arp ! router ospf 1
router-id 3.3.3.3 log-adjacency-changes area 3 stub no-summary area 33 range 10.33.0.0 255.255.0.0 network 10.3.1.1 0.0.0.0 area 2 network 10.10.1.3 0.0.0.0 area 0 network 10.33.0.0 0.0.255.255 area 33 network 10.34.1.1 0.0.0.0 area 3 ! router bgp 2 no synchronization bgp router-id 3.3.3.3 bgp log-neighbor-changes neighbor 10.10.1.1 remote-as 3 neighbor 10.44.1.1 remote-as 1 neighbor 10.44.1.1 ebgp-multihop 255 neighbor 10.44.1.1 update-source Loopback1 no auto-summary !
end R3#sh 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 10.10.1.5 to network 0.0.0.0
B 200.200.200.0/24 [20/5] via 10.44.1.1, 00:27:35
137.20.0.0/24 is subnetted, 1 subnets O IA 137.20.20.0 [110/129] via 10.10.1.1, 00:14:36, Serial2/0 3.0.0.0/32 is subnetted, 1 subnets C 3.3.3.3 is directly connected, Loopback0 20.0.0.0/32 is subnetted, 1 subnets O IA 20.1.1.1 [110/129] via 10.10.1.1, 00:14:27, Serial2/0 22.0.0.0/24 is subnetted, 1 subnets B 22.1.1.0 [20/0] via 10.10.1.1, 00:24:36 40.0.0.0/24 is subnetted, 1 subnets B 40.1.1.0 [20/0] via 10.44.1.1, 00:26:21 10.0.0.0/8 is variably subnetted, 10 subnets, 4 masks C 10.10.0.0/16 is directly connected, Serial2/0 C 10.3.0.0/16 is directly connected, FastEthernet1/0 C 10.33.1.32/27 is directly connected, Loopback1 O IA 10.1.0.0/17 [110/65] via 10.10.1.1, 00:14:37, Serial2/0 O 10.4.0.0/16 [110/65] via 10.34.1.2, 00:16:45, Serial2/1 O IA 10.20.0.0/16 [110/128] via 10.10.1.1, 00:14:37, Serial2/0 O 10.44.1.1/32 [110/65] via 10.34.1.2, 00:16:45, Serial2/1 C 10.34.0.0/16 is directly connected, Serial2/1 O 10.33.0.0/16 is a summary, 01:21:51, Null0 C 10.33.1.64/27 is directly connected, Loopback2 O IA 11.0.0.0/8 [110/65] via 10.10.1.5, 00:14:37, Serial2/0 O*E1 0.0.0.0/0 [110/164] via 10.10.1.5, 00:06:36, Serial2/0 R3#sh ip bgp BGP table version is 12, local router ID is 3.3.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path
*> 22.1.1.0/24 10.10.1.1 0 3 ? *> 40.1.1.0/24 10.44.1.1 0 0 1 ? *> 200.200.200.0 10.44.1.1 5 0 1 i R3#sh ip ospf n Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 255 FULL/DR 00:01:41 10.10.1.1 Serial2/0 4.4.4.4 1 FULL/DR 00:01:47 10.34.1.2 Serial2/1 R3#sh ip bgp s BGP router identifier 3.3.3.3, local AS number 2 BGP table version is 12, main routing table version 12 3 network entries using 303 bytes of memory 3 path entries using 144 bytes of memory 3 BGP path attribute entries using 180 bytes of memory 2 BGP AS-PATH entries using 48 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 675 total bytes of memory BGP activity 7/4 prefixes, 7/4 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.10.1.1 4 3 80 87 12 0 0 01:10:39 1 10.44.1.1 4 1 84 84 12 0 0 00:35:42 2 R4#sh run Building configuration... ! interface Loopback0 ip address 4.4.4.4 255.255.255.255 ! interface Loopback1 ip address 10.44.1.1 255.255.0.0 ! interface Loopback2 ip address 200.200.200.1 255.255.255.0 ! ! interface FastEthernet1/0 ip address 10.4.1.1 255.255.0.0 duplex full interface Serial2/1
ip address 10.34.1.2 255.255.0.0 encapsulation frame-relay serial restart-delay 0 clock rate 64000 no arp frame-relay frame-relay map ip 10.34.1.1 413 broadcast no frame-relay inverse-arp router ospf 1
router-id 4.4.4.4 log-adjacency-changes area 3 stub network 10.4.1.1 0.0.0.0 area 3 network 10.34.1.2 0.0.0.0 area 3 network 10.44.1.1 0.0.0.0 area 3 neighbor 10.34.1.1 ! router rip version 2 network 200.200.200.0 no auto-summary ! router bgp 1 no synchronization bgp router-id 4.4.4.4 bgp log-neighbor-changes network 200.200.200.0 redistribute static neighbor 10.33.1.33 remote-as 2 neighbor 10.33.1.33 ebgp-multihop 255 neighbor 10.33.1.33 update-source Loopback1 neighbor 10.33.1.33 route-map METRIC out no auto-summary ! ip classless ip route 40.1.1.0 255.255.255.0 Null0 ip route 41.1.1.0 255.255.255.0 Null0 no ip http server ! ! access-list 1 permit 40.1.1.0 0.0.0.255 access-list 2 permit 200.200.200.0 0.0.0.255 ! route-map METRIC permit 10 match ip address 2 set metric 5 ! route-map METRIC permit 20 match ip address 1 ! end R4#sh 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 10.34.1.1 to network 0.0.0.0
C 200.200.200.0/24 is directly connected, Loopback2
4.0.0.0/32 is subnetted, 1 subnets C 4.4.4.4 is directly connected, Loopback0 22.0.0.0/24 is subnetted, 1 subnets B 22.1.1.0 [20/0] via 10.33.1.33, 00:25:39 40.0.0.0/24 is subnetted, 1 subnets S 40.1.1.0 is directly connected, Null0 10.0.0.0/16 is subnetted, 3 subnets C 10.4.0.0 is directly connected, FastEthernet1/0 C 10.44.0.0 is directly connected, Loopback1 C 10.34.0.0 is directly connected, Serial2/1 41.0.0.0/24 is subnetted, 1 subnets S 41.1.1.0 is directly connected, Null0 O*IA 0.0.0.0/0 [110/65] via 10.34.1.1, 00:17:49, Serial2/1 R4# R4#sh ip bgp BGP table version is 8, local router ID is 4.4.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path
*> 22.1.1.0/24 10.33.1.33 0 2 3 ? *> 40.1.1.0/24 0.0.0.0 0 32768 ? *> 41.1.1.0/24 0.0.0.0 0 32768 ? *> 200.200.200.0 0.0.0.0 0 32768 i R4#sh ip ospf n Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 0 FULL/DROTHER 00:01:35 10.34.1.1 Serial2/1 R4#sh ip bgp s BGP router identifier 4.4.4.4, local AS number 1 BGP table version is 8, main routing table version 8 4 network entries using 404 bytes of memory 4 path entries using 192 bytes of memory 3 BGP path attribute entries using 180 bytes of memory 1 BGP AS-PATH entries using 24 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 800 total bytes of memory BGP activity 8/4 prefixes, 8/4 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.33.1.33 4 2 85 85 8 0 0 00:36:48 1 R5#sh run
Building configuration... interface Loopback0
ip address 5.5.5.5 255.255.255.255 ! interface FastEthernet1/0 ip address 11.1.1.5 255.255.0.0 ip ospf authentication-key cisco ip ospf cost 1 ip ospf priority 255 duplex full ! interface Serial2/0 ip address 10.10.1.5 255.255.0.0 encapsulation frame-relay serial restart-delay 0 clock rate 64000 no arp frame-relay frame-relay map ip 10.10.1.1 501 broadcast frame-relay map ip 10.10.1.3 501 broadcast no frame-relay inverse-arp ! router ospf 1 router-id 5.5.5.5 log-adjacency-changes area 4 authentication area 4 nssa default-information-originate area 4 default-cost 20 area 4 range 11.0.0.0 255.0.0.0 summary-address 11.0.0.0 255.0.0.0 network 10.10.1.5 0.0.0.0 area 0 network 11.1.1.5 0.0.0.0 area 4 neighbor 10.10.1.1 default-information originate always metric 100 metric-type 1 ! router bgp 3 no synchronization bgp router-id 5.5.5.5 bgp log-neighbor-changes neighbor 10.10.1.1 remote-as 3 no auto-summary ! end R5#sh 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
B 200.200.200.0/24 [200/0] via 10.10.1.3, 00:26:45
137.20.0.0/24 is subnetted, 1 subnets O IA 137.20.20.0 [110/129] via 10.10.1.1, 00:07:45, Serial2/0 20.0.0.0/32 is subnetted, 1 subnets O IA 20.1.1.1 [110/129] via 10.10.1.1, 00:07:45, Serial2/0 5.0.0.0/32 is subnetted, 1 subnets C 5.5.5.5 is directly connected, Loopback0 22.0.0.0/24 is subnetted, 1 subnets B 22.1.1.0 [200/0] via 10.20.1.1, 00:26:45 40.0.0.0/24 is subnetted, 1 subnets B 40.1.1.0 [200/0] via 10.10.1.3, 00:26:45 10.0.0.0/8 is variably subnetted, 8 subnets, 3 masks C 10.10.0.0/16 is directly connected, Serial2/0 O IA 10.3.0.0/16 [110/65] via 10.10.1.3, 00:07:46, Serial2/0 O IA 10.1.0.0/17 [110/65] via 10.10.1.1, 00:07:46, Serial2/0 O IA 10.4.0.0/16 [110/129] via 10.10.1.3, 00:07:46, Serial2/0 O IA 10.20.0.0/16 [110/128] via 10.10.1.1, 00:07:46, Serial2/0 O IA 10.44.1.1/32 [110/129] via 10.10.1.3, 00:07:46, Serial2/0 O IA 10.34.0.0/16 [110/128] via 10.10.1.3, 00:07:46, Serial2/0 O IA 10.33.0.0/16 [110/65] via 10.10.1.3, 00:07:46, Serial2/0 11.0.0.0/8 is variably subnetted, 5 subnets, 2 masks O N1 11.3.0.0/16 [110/101] via 11.1.1.6, 00:07:46, FastEthernet1/0 O N1 11.2.0.0/16 [110/101] via 11.1.1.6, 00:07:46, FastEthernet1/0 C 11.1.0.0/16 is directly connected, FastEthernet1/0 O 11.0.0.0/8 is a summary, 00:07:45, Null0 O N1 11.4.0.0/16 [110/101] via 11.1.1.6, 00:07:46, FastEthernet1/0 R5# R5# R5#sh ip bgp s BGP router identifier 5.5.5.5, local AS number 3 BGP table version is 16, main routing table version 16 3 network entries using 303 bytes of memory 3 path entries using 144 bytes of memory 3 BGP path attribute entries using 180 bytes of memory 1 BGP rrinfo entries using 24 bytes of memory 1 BGP AS-PATH entries using 24 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 675 total bytes of memory BGP activity 6/3 prefixes, 9/6 paths, scan interval 60 secs Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.10.1.1 4 3 88 78 16 0 0 00:26:50 3 R5#sh ip bgp BGP table version is 16, local router ID is 5.5.5.5 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path
*>i22.1.1.0/24 10.20.1.1 0 100 0 ? *>i40.1.1.0/24 10.10.1.3 0 100 0 2 1 ? *>i200.200.200.0 10.10.1.3 0 100 0 2 1 i R5#sh ip ospf n Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 255 FULL/DR 00:01:54 10.10.1.1 Serial2/0 6.6.6.6 1 FULL/BDR 00:00:38 11.1.1.6 FastEthernet1/0 R6#sh run
Building configuration... ! interface Loopback0 ip address 6.6.6.6 255.255.255.255 ! ! interface FastEthernet1/0 bandwidth 100000 ip address 11.1.1.6 255.255.0.0 ip ospf authentication-key cisco duplex full ! ! interface Serial2/2 ip address 11.2.1.1 255.255.0.0 serial restart-delay 0 clock rate 64000 !
router eigrp 100 redistribute ospf 1 metric 10000 100 255 1 1500 passive-interface FastEthernet1/0 network 11.2.1.1 0.0.0.0 no auto-summary ! router ospf 1 router-id 6.6.6.6 log-adjacency-changes area 4 authentication area 4 nssa area 4 default-cost 20 redistribute eigrp 100 metric 100 metric-type 1 subnets passive-interface Serial2/2 network 11.1.1.6 0.0.0.0 area 4 default-information originate default-metric 20 end
R6#sh 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 11.1.1.5 to network 0.0.0.0
137.20.0.0/24 is subnetted, 1 subnets
O IA 137.20.20.0 [110/130] via 11.1.1.5, 00:14:27, FastEthernet1/0 20.0.0.0/32 is subnetted, 1 subnets O IA 20.1.1.1 [110/130] via 11.1.1.5, 00:14:27, FastEthernet1/0 6.0.0.0/32 is subnetted, 1 subnets C 6.6.6.6 is directly connected, Loopback0 10.0.0.0/8 is variably subnetted, 8 subnets, 3 masks O IA 10.10.0.0/16 [110/65] via 11.1.1.5, 00:14:27, FastEthernet1/0 O IA 10.3.0.0/16 [110/66] via 11.1.1.5, 00:14:27, FastEthernet1/0 O IA 10.1.0.0/17 [110/66] via 11.1.1.5, 00:14:27, FastEthernet1/0 O IA 10.4.0.0/16 [110/130] via 11.1.1.5, 00:14:27, FastEthernet1/0 O IA 10.20.0.0/16 [110/129] via 11.1.1.5, 00:14:27, FastEthernet1/0 O IA 10.44.1.1/32 [110/130] via 11.1.1.5, 00:14:27, FastEthernet1/0 O IA 10.34.0.0/16 [110/129] via 11.1.1.5, 00:14:28, FastEthernet1/0 O IA 10.33.0.0/16 [110/66] via 11.1.1.5, 00:14:28, FastEthernet1/0 11.0.0.0/16 is subnetted, 4 subnets D 11.3.0.0 [90/2172416] via 11.2.1.2, 01:34:09, Serial2/2 C 11.2.0.0 is directly connected, Serial2/2 C 11.1.0.0 is directly connected, FastEthernet1/0 D 11.4.0.0 [90/2172416] via 11.2.1.2, 01:34:09, Serial2/2 O*N2 0.0.0.0/0 [110/20] via 11.1.1.5, 00:08:51, FastEthernet1/0 R6#sh ip ospf n Neighbor ID Pri State Dead Time Address Interface
5.5.5.5 255 FULL/DR 00:00:35 11.1.1.5 FastEthernet1/0 R7#sh run
Building configuration... interface Loopback0
ip address 7.7.7.7 255.255.255.255 ! interface FastEthernet0/0 ip address 11.3.1.1 255.255.0.0 duplex full ! interface FastEthernet1/0 ip address 11.4.1.1 255.255.0.0 duplex full ! interface Serial2/2 ip address 11.2.1.2 255.255.0.0 serial restart-delay 0 clock rate 64000 !
router eigrp 100 network 11.2.1.2 0.0.0.0 network 11.3.1.1 0.0.0.0 network 11.4.1.1 0.0.0.0 no auto-summary ! end R7#sh 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 11.2.1.1 to network 0.0.0.0
137.20.0.0/24 is subnetted, 1 subnets
D EX 137.20.20.0 [170/2195456] via 11.2.1.1, 01:19:00, Serial2/2 20.0.0.0/32 is subnetted, 1 subnets D EX 20.1.1.1 [170/2195456] via 11.2.1.1, 00:18:44, Serial2/2 7.0.0.0/32 is subnetted, 1 subnets C 7.7.7.7 is directly connected, Loopback0 10.0.0.0/8 is variably subnetted, 8 subnets, 3 masks D EX 10.10.0.0/16 [170/2195456] via 11.2.1.1, 01:19:01, Serial2/2 D EX 10.3.0.0/16 [170/2195456] via 11.2.1.1, 01:19:01, Serial2/2 D EX 10.1.0.0/17 [170/2195456] via 11.2.1.1, 01:19:01, Serial2/2 D EX 10.4.0.0/16 [170/2195456] via 11.2.1.1, 00:24:48, Serial2/2 D EX 10.20.0.0/16 [170/2195456] via 11.2.1.1, 01:19:01, Serial2/2 D EX 10.44.1.1/32 [170/2195456] via 11.2.1.1, 01:19:01, Serial2/2 D EX 10.34.0.0/16 [170/2195456] via 11.2.1.1, 01:19:01, Serial2/2 D EX 10.33.0.0/16 [170/2195456] via 11.2.1.1, 01:19:01, Serial2/2 11.0.0.0/16 is subnetted, 4 subnets C 11.3.0.0 is directly connected, FastEthernet0/0 C 11.2.0.0 is directly connected, Serial2/2 D EX 11.1.0.0 [170/2195456] via 11.2.1.1, 01:35:05, Serial2/2 C 11.4.0.0 is directly connected, FastEthernet1/0 D*EX 0.0.0.0/0 [170/2195456] via 11.2.1.1, 00:09:46, Serial2/2 R7#sh ip eigrp n IP-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 11.2.1.1 Se2/2 14 01:35:10 174 1044 0 35 VLAN环境 SWITCH#sh vlan-s b VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Fa0/0, Fa0/8, Fa0/9, Fa0/10 Fa0/11, Fa0/12, Fa0/13, Fa0/14 Fa0/15, Fa1/0, Fa1/1, Fa1/2 Fa1/3, Fa1/4, Fa1/5, Fa1/6 Fa1/8, Fa1/9, Fa1/10, Fa1/11 Fa1/12, Fa1/13, Fa1/14, Fa1/15 10 VLAN0010 active Fa0/1 20 VLAN0020 active Fa0/2 30 VLAN0030 active Fa0/3 40 VLAN0040 active Fa0/4 50 VLAN0050 active Fa0/5, Fa0/6 70 VLAN0070 active Fa0/7 71 VLAN0071 active Fa1/7 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active 本文出自 “穿过地狱去看海” 博客,谢绝转载! 本文出自 51CTO.COM技术博客 |



cj231210
博客统计信息
热门文章
最新评论
友情链接

