Quản trị mạng BCSI_R1R7 Printing

14 261 0
Quản trị mạng  BCSI_R1R7 Printing

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Quản trị mạng

1R1_F#sh ru Building configuration . Current configuration : 2018 bytes ! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1_F ! boot-start-marker boot-end-marker ! enable secret 5 $1$Ff/C$reJojgUjY5KHFAHmx6Ehi/ ! no aaa new-model ip subnet-zero ! ! no ip domain lookup ip host r1 166.66.66.1 ip host r2 1.1.1.10 ip host r3 1.1.1.1 ip host r4 1.1.1.2 ip host r5 1.1.1.6 ip host r6 1.1.1.5 ip host r7 1.1.1.9 ! ! ! ! ! interface Loopback0 ip address 166.66.6.97 255.255.255.240 ip ospf network point-to-point ! interface Loopback1 ip address 166.66.6.81 255.255.255.240 ip ospf network point-to-point ! interface Loopback2 ip address 166.66.6.65 255.255.255.240 ip ospf network point-to-point ! interface Loopback10 ip address 222.222.222.10 255.255.255.255 ! interface FastEthernet0/0 description Conntect to router R3 ip address 166.66.6.1 255.255.255.252 ip ospf authentication-key teamwork ip ospf priority 10 duplex auto speed auto ! interface Serial0/0 no ip address shutdown ! interface Serial0/1 no ip address shutdown ! router ospf 1 log-adjacency-changes area 0 authentication network 166.66.6.0 0.0.0.3 area 0 network 166.66.6.80 0.0.0.15 area 0 network 166.66.6.96 0.0.0.15 area 0 ! router bgp 100 no synchronization bgp log-neighbor-changes redistribute ospf 1 metric 10 neighbor 166.66.66.2 remote-as 100 no auto-summary ! ip http server ip classless ! ! access-list 1 deny 166.66.6.64 0.0.0.15 access-list 1 permit any access-list 2 deny 1.1.1.2 access-list 2 deny 1.1.1.5 access-list 2 deny 177.77.7.0 0.0.0.255 access-list 2 permit any banner motd ^C ************************************************* * * * This is R1, Lab F. Conf by Dao Xuan Hung * * * 2************************************************* ^C ! line con 0 password cisco logging synchronous line aux 0 password cisco login line vty 0 4 access-class 2 in password cisco login ! ! ! end R1_F# sh ip bgp BGP table version is 12, local router ID is 222.222.222.10 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 *> 1.1.1.8/30 166.66.6.2 10 32768 ? *> 166.66.6.0/30 0.0.0.0 0 32768 ? *> 166.66.6.4/30 166.66.6.2 10 32768 ? *> 166.66.6.16/28 166.66.6.2 10 32768 ? *> 166.66.6.80/28 0.0.0.0 0 32768 ? *> 166.66.6.96/28 0.0.0.0 0 32768 ? *> 166.66.6.128/28 166.66.6.2 10 32768 ? R1_F# sh ip ro 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 222.222.222.0/32 is subnetted, 1 subnets C 222.222.222.10 is directly connected, Loopback10 1.0.0.0/30 is subnetted, 3 subnets O E2 1.1.1.0 [110/1] via 166.66.6.2, 00:09:12, FastEthernet0/0 O E2 1.1.1.4 [110/1] via 166.66.6.2, 00:00:23, FastEthernet0/0 O IA 1.1.1.8 [110/138] via 166.66.6.2, 00:08:52, FastEthernet0/0 188.88.0.0/16 is variably subnetted, 6 subnets, 2 masks O E2 188.88.8.68/30 [110/1] via 166.66.6.2, 00:00:23, FastEthernet0/0 O E2 188.88.8.48/30 [110/1] via 166.66.6.2, 00:00:24, FastEthernet0/0 O E2 188.88.8.8/30 [110/1] via 166.66.6.2, 00:00:24, FastEthernet0/0 O E2 188.88.8.4/30 [110/1] via 166.66.6.2, 00:00:24, FastEthernet0/0 O E2 188.88.8.0/30 [110/1] via 166.66.6.2, 00:00:24, FastEthernet0/0 O E2 188.88.8.0/28 [110/1] via 166.66.6.2, 00:00:24, FastEthernet0/0 177.77.0.0/16 is variably subnetted, 6 subnets, 2 masks O E2 177.77.7.72/30 [110/1] via 166.66.6.2, 00:00:25, FastEthernet0/0 O E2 177.77.7.64/30 [110/1] via 166.66.6.2, 00:00:25, FastEthernet0/0 O E2 177.77.7.64/28 [110/1] via 166.66.6.2, 00:00:25, FastEthernet0/0 O E2 177.77.7.68/30 [110/1] via 166.66.6.2, 00:00:25, FastEthernet0/0 O E2 177.77.7.48/30 [110/1] via 166.66.6.2, 00:00:25, FastEthernet0/0 O E2 177.77.7.0/28 [110/1] via 166.66.6.2, 00:00:25, FastEthernet0/0 166.66.0.0/16 is variably subnetted, 7 subnets, 2 masks O IA 166.66.6.128/28 [110/75] via 166.66.6.2, 00:08:54, FastEthernet0/0 C 166.66.6.96/28 is directly connected, Loopback0 C 166.66.6.64/28 is directly connected, Loopback2 C 166.66.6.80/28 is directly connected, Loopback1 C 166.66.6.0/30 is directly connected, FastEthernet0/0 O IA 166.66.6.4/30 [110/74] via 166.66.6.2, 00:22:35, FastEthernet0/0 O 166.66.6.16/28 [110/11] via 166.66.6.2, 00:22:35, FastEthernet0/0 R1_F# 3R2#sh ru Building configuration . Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname R2 ! enable secret 5 $1$rxuo$zbSfNpBisgqHvnFlE7f/U/ ! ! ! ! ! ip subnet-zero ip host R7 188.88.8.50 ip host R6 1.1.1.5 ip host R5 177.77.7.50 ip host R4 1.1.1.2 ip host R3 166.66.6.6 ip host R1 166.66.6.1 ! ! ! ! process-max-time 200 ! interface Loopback0 ip address 222.22.2.2 255.255.255.0 no ip directed-broadcast ! interface Loopback1 ip address 166.66.6.129 255.255.255.240 no ip directed-broadcast ip ospf network point-to-point ! interface FastEthernet0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/2 description Connect to router 3 ip address 166.66.6.5 255.255.255.252 no ip directed-broadcast ip ospf authentication-key 7 044C0E0A032543400C clockrate 64000 ! interface Serial0/3 description Connect to router 7 ip address 1.1.1.10 255.255.255.252 no ip directed-broadcast ! router ospf 1 redistribute bgp 100 subnets network 1.1.1.8 0.0.0.3 area 1 network 166.66.6.4 0.0.0.3 area 1 network 166.66.6.128 0.0.0.15 area 1 area 1 authentication area 1 nssa ! router bgp 100 no synchronization bgp always-compare-med network 166.66.6.0 mask 255.255.255.0 neighbor 1.1.1.9 remote-as 300 neighbor 166.66.6.6 remote-as 100 neighbor 166.66.6.6 route-map LOCALPREF in ! ip classless no ip http server ip as-path access-list 2 permit ^200$ ! access-list 1 deny 177.77.7.50 access-list 1 deny 222.22.2.6 access-list 1 deny 222.22.2.5 access-list 1 deny 188.88.8.49 access-list 1 deny 1.1.1.4 0.0.0.3 access-list 1 deny 177.77.7.64 0.0.0.15 4access-list 1 deny 188.88.8.0 0.0.0.15 access-list 1 permit any route-map LOCALPREF permit 10 match as-path 2 set local-preference 300 ! banner motd ^C Hello, this is router 2, configured by Vu Hoang Nam! ^C ! line con 0 password 7 094F471A1A0A login transport input none line aux 0 password 7 030752180500 login line vty 0 4 access-class 1 in password 7 030752180500 login ! ! end R2# sh ip bgp BGP table version is 85, local router ID is 222.22.2.2 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 1.1.1.0/30 1.1.1.9 250 0 300 200 i *>i1.1.1.4/30 1.1.1.2 150 300 0 200 i * 1.1.1.9 250 0 300 i *> 1.1.1.8/30 1.1.1.9 250 0 300 i *>i177.77.7.0/28 1.1.1.2 150 300 0 200 i * 1.1.1.9 250 0 300 200 i *>i177.77.7.48/30 1.1.1.2 150 300 0 200 i * 1.1.1.9 250 0 300 200 i *>i177.77.7.64/30 1.1.1.2 150 300 0 200 i * 1.1.1.9 250 0 300 200 i *>i177.77.7.64/28 1.1.1.2 150 300 0 200 i * 1.1.1.9 250 0 300 200 i *>i177.77.7.68/30 1.1.1.2 150 300 0 200 i * 1.1.1.9 250 0 300 200 i *>i177.77.7.72/30 1.1.1.2 150 300 0 200 i * 1.1.1.9 250 0 300 200 i *> 188.88.8.0/30 1.1.1.9 250 0 300 i *> 188.88.8.0/28 1.1.1.9 250 0 300 i Network Next Hop Metric LocPrf Weight Path *> 188.88.8.4/30 1.1.1.9 250 0 300 i *> 188.88.8.8/30 1.1.1.9 250 0 300 i *> 188.88.8.48/30 1.1.1.9 250 0 300 i *> 188.88.8.68/30 1.1.1.9 250 0 300 i R2# sh ip ro 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 1.0.0.0/30 is subnetted, 3 subnets B 1.1.1.0 [20/250] via 1.1.1.9, 00:04:57 O N2 1.1.1.4 [110/1] via 166.66.6.6, 00:05:03, Serial0/2 C 1.1.1.8 is directly connected, Serial0/3 C 222.22.2.0/24 is directly connected, Loopback0 188.88.0.0/16 is variably subnetted, 6 subnets, 2 masks B 188.88.8.68/30 [20/250] via 1.1.1.9, 00:13:06 B 188.88.8.48/30 [20/250] via 1.1.1.9, 00:13:06 B 188.88.8.8/30 [20/250] via 1.1.1.9, 00:13:06 B 188.88.8.4/30 [20/250] via 1.1.1.9, 00:13:06 B 188.88.8.0/30 [20/250] via 1.1.1.9, 00:13:06 B 188.88.8.0/28 [20/250] via 1.1.1.9, 00:13:06 177.77.0.0/16 is variably subnetted, 6 subnets, 2 masks O N2 177.77.7.72/30 [110/1] via 166.66.6.6, 00:05:04, Serial0/2 O N2 177.77.7.64/28 [110/1] via 166.66.6.6, 00:04:59, Serial0/2 O N2 177.77.7.64/30 [110/1] via 166.66.6.6, 00:05:04, Serial0/2 O N2 177.77.7.68/30 [110/1] via 166.66.6.6, 00:05:04, Serial0/2 O N2 177.77.7.48/30 [110/1] via 166.66.6.6, 00:05:04, Serial0/2 O N2 177.77.7.0/28 [110/1] via 166.66.6.6, 00:05:04, Serial0/2 166.66.0.0/16 is variably subnetted, 5 subnets, 3 masks C 166.66.6.128/28 is directly connected, Loopback1 O IA 166.66.6.64/26 [110/75] via 166.66.6.6, 00:13:07, Serial0/2 O IA 166.66.6.0/30 [110/74] via 166.66.6.6, 00:13:07, Serial0/2 C 166.66.6.4/30 is directly connected, Serial0/2 O IA 166.66.6.16/28 [110/65] via 166.66.6.6, 00:13:07, Serial0/2 R2# R2# exit 5R3#sh ru Building configuration . Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R3 ! enable secret 5 $1$8FG9$WMlRaCBvRGuYh3Bu9LfqW. ! ! ! ! ! ip subnet-zero ip host R7 188.88.8.69 ip host R1 166.66.6.81 ip host R6 188.88.8.1 ip host R5 177.77.7.65 ip host R4 177.77.7.1 ip host R2 166.66.6.129 ! ! ! ! process-max-time 200 ! interface Loopback0 ip address 166.66.6.17 255.255.255.240 no ip directed-broadcast ip ospf network point-to-point ! interface Loopback1 ip address 222.22.2.3 255.255.255.0 no ip directed-broadcast ! interface Ethernet0/0 no ip address no ip directed-broadcast ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue ! interface Ethernet0/1 description CONNECT TO ROUTER R1 ip address 166.66.6.2 255.255.255.252 no ip directed-broadcast ip ospf authentication-key teamwork ! interface Serial0/1 no ip address no ip directed-broadcast shutdown ! interface Serial0/2 description CONNECT TO ROUTER R2 ip address 166.66.6.6 255.255.255.252 no ip directed-broadcast ip ospf authentication-key welldone ! interface Serial0/3 description CONNECT TO ROUTER R4 ip address 1.1.1.1 255.255.255.252 no ip directed-broadcast ! router ospf 1 redistribute bgp 100 subnets network 166.66.6.0 0.0.0.3 area 0 network 166.66.6.4 0.0.0.3 area 1 network 166.66.6.16 0.0.0.15 area 0 area 0 authentication area 0 range 166.66.6.64 255.255.255.192 area 1 authentication area 1 nssa ! router bgp 100 no synchronization bgp always-compare-med network 1.1.1.0 mask 255.255.255.252 redistribute ospf 1 neighbor 1.1.1.2 remote-as 200 neighbor 1.1.1.2 route-map R3 in neighbor 166.66.6.5 remote-as 100 ! ip classless no ip http server ! 6route-map R3 permit 10 set local-preference 200 ! banner motd ^CHello, this is router 3, configured by Bui Tuan Kien^C ! line con 0 password cisco transport input none line aux 0 password cisco line vty 0 4 password cisco login ! ! end R3# sh ip bgp BGP table version is 42, local router ID is 222.22.2.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 1.0.0.0 0.0.0.0 0 32768 ? * 1.1.1.0/30 1.1.1.2 150 0 200 i *> 0.0.0.0 0 32768 i * i 1.1.1.9 250 100 0 300 200 i *> 1.1.1.4/30 1.1.1.2 150 0 200 i *>i1.1.1.8/30 1.1.1.9 250 100 0 300 i *> 166.66.0.0 0.0.0.0 0 32768 ? *> 177.77.7.0/28 1.1.1.2 150 0 200 i *> 177.77.7.48/30 1.1.1.2 150 0 200 i *> 177.77.7.64/30 1.1.1.2 150 0 200 i *> 177.77.7.64/28 1.1.1.2 150 0 200 i *> 177.77.7.68/30 1.1.1.2 150 0 200 i *> 177.77.7.72/30 1.1.1.2 150 0 200 i * 188.88.8.0/30 1.1.1.2 150 0 200 300 i *>i 1.1.1.9 250 100 0 300 i * 188.88.8.0/28 1.1.1.2 150 0 200 300 i *>i 1.1.1.9 250 100 0 300 i * 188.88.8.4/30 1.1.1.2 150 0 200 300 i Network Next Hop Metric LocPrf Weight Path *>i 1.1.1.9 250 100 0 300 i * 188.88.8.8/30 1.1.1.2 150 0 200 300 i *>i 1.1.1.9 250 100 0 300 i * 188.88.8.48/30 1.1.1.2 150 0 200 300 i *>i 1.1.1.9 250 100 0 300 i * 188.88.8.68/30 1.1.1.2 150 0 200 300 i *>i 1.1.1.9 250 100 0 300 i R3# sh ip ro 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 1.0.0.0/30 is subnetted, 3 subnets C 1.1.1.0 is directly connected, Serial0/3 B 1.1.1.4 [20/150] via 1.1.1.2, 00:10:27 O 1.1.1.8 [110/128] via 166.66.6.5, 00:08:06, Serial0/2 C 222.22.2.0/24 is directly connected, Loopback1 188.88.0.0/16 is variably subnetted, 6 subnets, 2 masks O N2 188.88.8.68/30 [110/1] via 166.66.6.5, 00:07:34, Serial0/2 O N2 188.88.8.48/30 [110/1] via 166.66.6.5, 00:07:34, Serial0/2 O N2 188.88.8.8/30 [110/1] via 166.66.6.5, 00:07:34, Serial0/2 O N2 188.88.8.4/30 [110/1] via 166.66.6.5, 00:07:34, Serial0/2 O N2 188.88.8.0/28 [110/1] via 166.66.6.5, 00:07:34, Serial0/2 B 188.88.8.0/30 [200/250] via 1.1.1.9, 00:07:34 177.77.0.0/16 is variably subnetted, 6 subnets, 2 masks B 177.77.7.72/30 [20/150] via 1.1.1.2, 00:10:27 B 177.77.7.64/28 [20/150] via 1.1.1.2, 00:10:27 B 177.77.7.64/30 [20/150] via 1.1.1.2, 00:10:27 B 177.77.7.68/30 [20/150] via 1.1.1.2, 00:10:27 B 177.77.7.48/30 [20/150] via 1.1.1.2, 00:10:27 B 177.77.7.0/28 [20/150] via 1.1.1.2, 00:10:27 166.66.0.0/16 is variably subnetted, 6 subnets, 2 masks O 166.66.6.128/28 [110/65] via 166.66.6.5, 00:08:07, Serial0/2 O 166.66.6.96/28 [110/11] via 166.66.6.1, 00:08:27, Ethernet0/1 O 166.66.6.80/28 [110/11] via 166.66.6.1, 00:08:27, Ethernet0/1 C 166.66.6.0/30 is directly connected, Ethernet0/1 C 166.66.6.4/30 is directly connected, Serial0/2 C 166.66.6.16/28 is directly connected, Loopback0 R3# exit 7R4#sh ru Building configuration . Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R4 ! enable secret 5 $1$Jy7E$nDgiYwkwzUjoZfawTOAE/0 ! ! ! ! ! ip subnet-zero ip host R5 177.77.7.50 ip host R4 177.77.7.49 ip host R6 1.1.1.5 ip host R7 188.88.8.2 ip host R2 1.1.1.10 ip host R3 1.1.1.1 ip host R1 166.66.6.1 ! ! ! ! process-max-time 200 ! interface Loopback0 ip address 177.77.7.1 255.255.255.252 no ip directed-broadcast ! interface Loopback1 ip address 177.77.7.5 255.255.255.252 no ip directed-broadcast ! interface Loopback2 ip address 177.77.7.9 255.255.255.252 no ip directed-broadcast ! interface FastEthernet0/0 description connect to R5 ip address 177.77.7.49 255.255.255.252 no ip directed-broadcast ip summary-address eigrp 200 177.77.7.0 255.255.255.240 5 ! interface Serial0/0 no ip address no ip directed-broadcast shutdown ! interface Serial0/1 description connect to R3 ip address 1.1.1.2 255.255.255.252 no ip directed-broadcast clockrate 64000 ! interface Serial0/2 no ip address no ip directed-broadcast shutdown ! interface Serial0/3 no ip address no ip directed-broadcast shutdown ! router eigrp 200 network 177.77.7.0 0.0.0.3 network 177.77.7.4 0.0.0.3 network 177.77.7.8 0.0.0.3 network 177.77.7.48 0.0.0.3 no auto-summary ! router bgp 200 no synchronization network 1.1.1.0 mask 255.255.255.252 network 177.77.7.0 mask 255.255.255.252 network 177.77.7.4 mask 255.255.255.252 network 177.77.7.8 mask 255.255.255.252 aggregate-address 177.77.7.0 255.255.255.240 summary-only neighbor 1.1.1.1 remote-as 100 neighbor 1.1.1.1 route-map SETMETRIC out neighbor 177.77.7.50 remote-as 200 ! ip classless no ip http server ! route-map SETMETRIC permit 10 set metric 150 ! 8banner motd ^C Hello, this is router R4, configured by Nguyen Tu Anh banner motd ^C ! line con 0 password cisco transport input none line aux 0 password cisco line vty 0 4 password cisco login ! ! no scheduler allocate end R4# sh ip bgp BGP table version is 46, local router ID is 177.77.7.9 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *> 1.0.0.0 1.1.1.1 0 0 100 ? * 1.1.1.0/30 1.1.1.1 0 0 100 i *> 0.0.0.0 0 32768 i *>i1.1.1.4/30 177.77.7.50 0 100 0 i *> 1.1.1.8/30 1.1.1.1 0 100 300 i *> 166.66.0.0 1.1.1.1 0 0 100 ? s> 177.77.7.0/30 0.0.0.0 0 32768 i *> 177.77.7.0/28 0.0.0.0 32768 i s> 177.77.7.4/30 0.0.0.0 0 32768 i s> 177.77.7.8/30 0.0.0.0 0 32768 i *>i177.77.7.48/30 177.77.7.50 0 100 0 i *>i177.77.7.64/30 177.77.7.50 0 100 0 i *>i177.77.7.64/28 177.77.7.50 100 0 i *>i177.77.7.68/30 177.77.7.50 0 100 0 i *>i177.77.7.72/30 177.77.7.50 0 100 0 i * 188.88.8.0/30 1.1.1.1 0 100 300 i *>i 1.1.1.5 0 100 0 300 i * 188.88.8.0/28 1.1.1.1 0 100 300 i Network Next Hop Metric LocPrf Weight Path *>i 1.1.1.5 100 0 300 i * 188.88.8.4/30 1.1.1.1 0 100 300 i *>i 1.1.1.5 0 100 0 300 i * 188.88.8.8/30 1.1.1.1 0 100 300 i *>i 1.1.1.5 0 100 0 300 i * 188.88.8.48/30 1.1.1.1 0 100 300 i *>i 1.1.1.5 0 100 0 300 i * 188.88.8.68/30 1.1.1.1 0 100 300 i *>i 1.1.1.5 100 0 300 i R4# sh ip ro 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 1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks B 1.0.0.0/8 [20/0] via 1.1.1.1, 00:07:10 C 1.1.1.0/30 is directly connected, Serial0/1 B 1.1.1.4/30 [200/0] via 177.77.7.50, 00:35:11 B 1.1.1.8/30 [20/0] via 1.1.1.1, 00:07:11 188.88.0.0/16 is variably subnetted, 6 subnets, 2 masks B 188.88.8.68/30 [200/0] via 1.1.1.5, 00:27:01 B 188.88.8.48/30 [200/0] via 1.1.1.5, 00:35:02 B 188.88.8.8/30 [200/0] via 1.1.1.5, 00:35:02 B 188.88.8.4/30 [200/0] via 1.1.1.5, 00:35:02 B 188.88.8.0/30 [200/0] via 1.1.1.5, 00:35:02 B 188.88.8.0/28 [200/0] via 1.1.1.5, 00:35:02 177.77.0.0/16 is variably subnetted, 9 subnets, 2 masks B 177.77.7.72/30 [200/0] via 177.77.7.50, 00:35:12 B 177.77.7.64/30 [200/0] via 177.77.7.50, 00:35:12 D 177.77.7.64/28 [90/156160] via 177.77.7.50, 01:08:44, FastEthernet0/0 B 177.77.7.68/30 [200/0] via 177.77.7.50, 00:35:12 C 177.77.7.48/30 is directly connected, FastEthernet0/0 C 177.77.7.8/30 is directly connected, Loopback2 D 177.77.7.0/28 is a summary, 01:37:53, Null0 C 177.77.7.0/30 is directly connected, Loopback0 C 177.77.7.4/30 is directly connected, Loopback1 B 166.66.0.0/16 [20/0] via 1.1.1.1, 00:10:04 R4# exit 9R5>en Password: R5#sh ru Building configuration . Current configuration: ! version 12.0 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname R5 ! enable secret 5 $1$KB1T$o31OKBogpMK.gWQ2D5TDR. ! ! ! ! ! ip subnet-zero ip host R7 188.88.8.50 ip host R1 166.66.6.1 ip host R3 1.1.1.1 ip host R2 1.1.1.10 ip host R6 1.1.1.5 ip host R4 177.77.7.49 ! ! ! ! process-max-time 200 ! interface Loopback0 ip address 177.77.7.65 255.255.255.252 no ip directed-broadcast ! interface Loopback1 ip address 177.77.7.69 255.255.255.252 no ip directed-broadcast ! interface Loopback2 ip address 177.77.7.73 255.255.255.252 no ip directed-broadcast ! interface FastEthernet0/0 description Connect to Router R4 ip address 177.77.7.50 255.255.255.252 no ip directed-broadcast ip summary-address eigrp 200 177.77.7.64 255.255.255.240 5 ! interface Serial0/0 no ip address no ip directed-broadcast no ip mroute-cache shutdown no fair-queue clockrate 64000 ! interface Serial0/1 description Connect to R6 ip address 1.1.1.6 255.255.255.252 no ip directed-broadcast ! router eigrp 200 network 177.77.7.48 0.0.0.3 network 177.77.7.64 0.0.0.3 network 177.77.7.68 0.0.0.3 network 177.77.7.72 0.0.0.3 no auto-summary ! router bgp 200 no synchronization network 1.1.1.4 mask 255.255.255.252 network 177.77.7.48 mask 255.255.255.252 network 177.77.7.64 mask 255.255.255.252 network 177.77.7.68 mask 255.255.255.252 network 177.77.7.72 mask 255.255.255.252 aggregate-address 177.77.7.64 255.255.255.240 neighbor 1.1.1.5 remote-as 300 neighbor 177.77.7.49 remote-as 200 distribute-list 1 out Serial0/1 no auto-summary ! ip classless no ip http server ! access-list 1 deny 177.77.7.72 0.0.0.3 access-list 1 permit any banner motd ^CHello This is Router 5 - Lab_B configured by Nguyen Quang Binh^C ! line con 0 password 7 00071A150754 transport input none line aux 0 10 password 7 02050D480809 line vty 0 4 password 7 02050D480809 login ! ! no scheduler allocate end R5# sh ip bgp BGP table version is 40, local router ID is 177.77.7.73 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path *>i1.0.0.0 1.1.1.1 0 100 0 100 ? *>i1.1.1.0/30 177.77.7.49 0 100 0 i * 1.1.1.4/30 1.1.1.5 0 0 300 i *> 0.0.0.0 0 32768 i *>i1.1.1.8/30 1.1.1.1 100 0 100 300 i *>i166.66.0.0 1.1.1.1 0 100 0 100 ? *>i177.77.7.0/28 177.77.7.49 100 0 i *> 177.77.7.48/30 0.0.0.0 0 32768 i *> 177.77.7.64/30 0.0.0.0 0 32768 i *> 177.77.7.64/28 0.0.0.0 32768 i *> 177.77.7.68/30 0.0.0.0 0 32768 i *> 177.77.7.72/30 0.0.0.0 0 32768 i *> 188.88.8.0/30 1.1.1.5 0 0 300 i *> 188.88.8.0/28 1.1.1.5 0 300 i *> 188.88.8.4/30 1.1.1.5 0 0 300 i *> 188.88.8.8/30 1.1.1.5 0 0 300 i *> 188.88.8.48/30 1.1.1.5 0 0 300 i *> 188.88.8.68/30 1.1.1.5 0 300 i R5# sh ip ro 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 1.0.0.0/8 is variably subnetted, 4 subnets, 2 masks B 1.0.0.0/8 [200/0] via 1.1.1.1, 00:06:38 B 1.1.1.0/30 [200/0] via 177.77.7.49, 00:34:44 C 1.1.1.4/30 is directly connected, Serial0/1 B 1.1.1.8/30 [200/0] via 1.1.1.1, 00:06:43 188.88.0.0/16 is variably subnetted, 6 subnets, 2 masks B 188.88.8.68/30 [20/0] via 1.1.1.5, 00:26:34 B 188.88.8.48/30 [20/0] via 1.1.1.5, 00:34:40 B 188.88.8.8/30 [20/0] via 1.1.1.5, 00:34:40 B 188.88.8.4/30 [20/0] via 1.1.1.5, 00:34:40 B 188.88.8.0/28 [20/0] via 1.1.1.5, 00:34:39 B 188.88.8.0/30 [20/0] via 1.1.1.5, 00:34:40 177.77.0.0/16 is variably subnetted, 6 subnets, 2 masks C 177.77.7.72/30 is directly connected, Loopback2 D 177.77.7.64/28 is a summary, 00:34:52, Null0 C 177.77.7.64/30 is directly connected, Loopback0 C 177.77.7.68/30 is directly connected, Loopback1 C 177.77.7.48/30 is directly connected, FastEthernet0/0 D 177.77.7.0/28 [90/156160] via 177.77.7.49, 00:34:52, FastEthernet0/0 B 166.66.0.0/16 [200/0] via 1.1.1.1, 00:09:36 R5# exit

Ngày đăng: 13/11/2012, 17:19

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan