《NP路由交换考试综合》由会员分享,可在线阅读,更多相关《NP路由交换考试综合(22页珍藏版)》请在金锄头文库上搜索。
1、Router1 F1/1 VPCS V0/7 Router2 F1/1 VPCS V0/8 Router1 F0/0 Switch1 F0/0 Router1 F1/0 Switch2 F0/1 Router2 F0/0 Switch2 F0/0 Router2 F1/0 Switch1 F0/1 Switch1 F0/2 Switch2 F0/2 Switch1 F0/3 Switch3 F0/3 Switch1 F0/4 Switch3 F0/4 Switch1 F0/5 Switch4 F0/5 Switch1 F0/6 Switch4 F0/6 Switch2 F0/5 Switch3
2、 F0/5 Switch2 F0/6 Switch3 F0/6 Switch2 F0/3 Switch4 F0/3 Switch2 F0/4 Switch4 F0/4 Switch3 F0/0 Switch4 F0/0 Switch3 F0/1 Switch4 F0/1 Switch3 F0/10 VPCS V0/1 Switch3 F0/11 VPCS V0/2 Switch3 F0/12 VPCS V0/3 Switch4 F0/10 VPCS V0/4 Switch4 F0/11 VPCS V0/5 Switch4 F0/12 VPCS V0/6 r1#show runBuilding
3、configuration.Current configuration : 1515 bytes!version 12.3service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname r1!boot-start-markerboot-end-marker!enable secret 5 $1$rsSX$kFYKEXAll4MyAWumdxQlB.!no aaa new-modelip subnet-zero!no ip domai
4、n lookup!ip cef! !interface Loopback0ip address 1.1.1.1 255.255.255.0!interface FastEthernet0/0ip address 192.168.5.2 255.255.255.0ip nat insideduplex full!interface FastEthernet1/0ip address 192.168.7.1 255.255.255.0duplex fullspeed auto!interface FastEthernet1/1ip address 202.103.12.1 255.255.255.
5、0ip nat outsideduplex fullspeed auto!interface Serial2/0no ip addressshutdownserial restart-delay 0!interface Serial2/1no ip addressshutdown serial restart-delay 0!interface Serial2/2no ip addressshutdownserial restart-delay 0!interface Serial2/3no ip addressshutdownserial restart-delay 0!router rip
6、version 2network 1.0.0.0network 192.168.5.0network 192.168.7.0default-information originateno auto-summary!ip nat inside source list x interface FastEthernet0/0 overloadip classlessip route 0.0.0.0 0.0.0.0 192.168.7.2no ip http server!ip access-list extended xpermit ip 192.168.0.0 0.0.255.255 any!ga
7、tekeepershutdown!line con 0exec-timeout 0 0password ciscologging synchronousloginstopbits 1line aux 0stopbits 1line vty 0 4exec-timeout 0 0password ciscologging synchronouslogin!endr2#show runBuilding configuration.Current configuration : 1588 bytes!version 12.3service timestamps debug datetime msec
8、service timestamps log datetime msecno service password-encryption!hostname r2!boot-start-markerboot-end-marker!enable secret 5 $1$j16r$UXjchObEMakrq4oReX0e5/!no aaa new-modelip subnet-zero!no ip domain lookup!ip cef! !interface Loopback0ip address 4.4.4.4 255.255.255.0!interface FastEthernet0/0ip a
9、ddress 192.168.6.1 255.255.255.0ip nat insideduplex full!interface FastEthernet1/0ip address 192.168.8.2 255.255.255.0duplex fullspeed auto!interface FastEthernet1/1ip address 219.140.12.1 255.255.255.0ip nat outsideduplex fullspeed auto!interface Serial2/0no ip addressshutdownserial restart-delay 0
10、!interface Serial2/1no ip addressshutdownserial restart-delay 0!interface Serial2/2no ip addressshutdownserial restart-delay 0!interface Serial2/3no ip addressshutdownserial restart-delay 0!router ospf 1router-id 4.4.4.4log-adjacency-changesnetwork 4.4.4.4 0.0.0.0 area 1network 192.168.6.0 0.0.0.255
11、 area 1network 192.168.8.0 0.0.0.255 area 0default-information originate always!ip nat inside source list x interface FastEthernet0/0 overloadip classlessip route 0.0.0.0 0.0.0.0 192.168.8.1no ip http server!ip access-list extended xpermit ip 192.168.0.0 0.0.255.255 any!gatekeepershutdown!line con 0
12、exec-timeout 0 0password ciscologging synchronousloginstopbits 1line aux 0stopbits 1line vty 0 4exec-timeout 0 0password ciscologging synchronouslogin!endsw1#show run Building configuration.Current configuration : 2821 bytes!version 12.4service timestamps debug datetime msecservice timestamps log da
13、tetime msecno service password-encryption!hostname sw1!boot-start-markerboot-end-marker!enable secret 5 $1$idXX$L0B8PCJM629/5KLvpB2Oa/!no aaa new-modelmemory-size iomem 5!ip cefno ip domain lookup! !spanning-tree portfast bpduguardspanning-tree uplinkfastspanning-tree backbonefastspanning-tree vlan
14、2 priority 8192spanning-tree vlan 3 priority 8192spanning-tree vlan 4 priority 8192! !track 1 interface FastEthernet0/0 line-protocol! !interface Loopback0ip address 2.2.2.2 255.255.255.0!interface Loopback1ip address 5.5.5.5 255.255.255.0!interface Port-channel1switchport mode trunk!interface Port-
15、channel2switchport mode trunk!interface FastEthernet0/0no switchportip address 192.168.5.1 255.255.255.0! interface FastEthernet0/1no switchportip address 192.168.8.1 255.255.255.0!interface FastEthernet0/2no switchportip address 192.168.4.1 255.255.255.0!interface FastEthernet0/3switchport mode tru
16、nkchannel-group 1 mode on!interface FastEthernet0/4switchport mode trunkchannel-group 1 mode on!interface FastEthernet0/5switchport mode trunk channel-group 2 mode on!interface FastEthernet0/6switchport mode trunkchannel-group 2 mode on!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interfa