本文共 10144 字,大约阅读时间需要 33 分钟。
实验拓扑
Current configuration : 1582 bytes
!! Last configuration change at 16:23:13 CST Wed Jan 23 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R1!boot-start-markerboot-end-marker!aqm-register-fnf!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180!!!!!!!
!!!ip cefno ipv6 cef!multilink bundle-name authenticated!!!!!!! !!redundancy!!! !!!!!!!!!!!!interface Loopback0ip address 10.10.255.1 255.255.255.255!interface Ethernet0/0ip address 10.10.253.1 255.255.255.252ip ospf network non-broadcast!interface Ethernet0/1no ip addressshutdown!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0ip address 10.10.254.1 255.255.255.240encapsulation frame-relayip ospf network non-broadcastserial restart-delay 0frame-relay map ip 10.10.254.2 102!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1router-id 10.10.255.1no auto-costnetwork 10.10.253.0 0.0.0.3 area 1network 10.10.254.1 0.0.0.0 area 0neighbor 10.10.254.2neighbor 10.10.253.2!ip forward-protocol nd! !no ip http serverno ip http secure-server!!!!control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none! !endR1#
R2:R2#show runBuilding configuration...Current configuration : 1568 bytes
!! Last configuration change at 15:46:51 CST Wed Jan 23 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R2!boot-start-markerboot-end-marker!aqm-register-fnf!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180!!!!!!!
!!!ip cefno ipv6 cef!multilink bundle-name authenticated!!!!!!! !!redundancy!!! !!!!!!!!!!!!interface Loopback0ip address 10.10.255.2 255.255.255.255!interface Ethernet0/0no ip addressshutdown!interface Ethernet0/1no ip addressshutdown!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0no ip addressshutdownserial restart-delay 0!interface Serial1/1ip address 10.10.254.2 255.255.255.240encapsulation frame-relayip ospf network non-broadcastip ospf priority 10serial restart-delay 0frame-relay map ip 10.10.254.1 201frame-relay map ip 10.10.254.3 203!interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1router-id 10.10.255.2no auto-costnetwork 10.10.254.2 0.0.0.0 area 0neighbor 10.10.254.3neighbor 10.10.254.1 priority 2!ip forward-protocol nd!!no ip http serverno ip http secure-server!!!!control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none!!endR2#
R3:R3#show run Building configuration...Current configuration : 1585 bytes
!! Last configuration change at 16:05:30 CST Wed Jan 23 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R3!boot-start-markerboot-end-marker!aqm-register-fnf!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180!!!!!!!
!!!ip cefno ipv6 cef!multilink bundle-name authenticated!!!!!!! !!redundancy!!! !!!!!!!!!!!!interface Loopback0ip address 10.10.255.3 255.255.255.255!interface Ethernet0/0ip address 10.10.253.21 255.255.255.252ip ospf network non-broadcast!interface Ethernet0/1no ip addressshutdown!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0no ip addressshutdownserial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2ip address 10.10.254.3 255.255.255.240encapsulation frame-relayip ospf network non-broadcastserial restart-delay 0frame-relay map ip 10.10.254.2 302!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1router-id 10.10.255.3no auto-costnetwork 10.10.253.20 0.0.0.3 area 2network 10.10.254.3 0.0.0.0 area 0neighbor 10.10.254.2neighbor 10.10.253.22!ip forward-protocol nd! !no ip http serverno ip http secure-server!!!!control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none! !endR3#
R4:R4#show runBuilding configuration...Current configuration : 1699 bytes
!! Last configuration change at 15:39:54 CST Wed Jan 23 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R4!boot-start-markerboot-end-marker!aqm-register-fnf!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180!!!!!!!
!!!ip cefno ipv6 cef!multilink bundle-name authenticated!!!!!!! !!redundancy!!! !!!!!!!!!!!!interface Loopback0ip address 10.10.255.4 255.255.255.255!interface Loopback1ip address 10.10.8.1 255.255.255.0!interface Loopback2ip address 10.10.9.1 255.255.255.0!interface Loopback3ip address 10.10.10.1 255.255.255.0!interface Ethernet0/0ip address 10.10.253.2 255.255.255.252ip ospf network non-broadcast!interface Ethernet0/1no ip addressshutdown!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown! interface Serial1/0no ip addressshutdownserial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1router-id 10.10.255.4no auto-costnetwork 10.10.8.0 0.0.0.255 area 1network 10.10.9.0 0.0.0.255 area 1network 10.10.10.0 0.0.0.255 area 1network 10.10.253.0 0.0.0.3 area 1neighbor 10.10.253.1!ip forward-protocol nd!!no ip http serverno ip http secure-server!!!!control-plane!!!!!!! !line con 0logging synchronousline aux 0line vty 0 4logintransport input none!!endR4#
R5:R5#show runBuilding configuration...Current configuration : 1706 bytes
!! Last configuration change at 15:04:12 CST Wed Jan 23 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R5!boot-start-markerboot-end-marker!aqm-register-fnf!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180!!!!!!!
!!!ip cefno ipv6 cef!multilink bundle-name authenticated!!!!!!! !!redundancy!!! !!!!!!!!!!!!interface Loopback0ip address 10.10.255.5 255.255.255.255!interface Loopback1ip address 10.10.12.1 255.255.255.0!interface Loopback2ip address 10.10.13.1 255.255.255.0!interface Loopback3ip address 10.10.14.1 255.255.255.0!interface Ethernet0/0ip address 10.10.253.22 255.255.255.252ip ospf network non-broadcast!interface Ethernet0/1no ip addressshutdown!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown! interface Serial1/0no ip addressshutdownserial restart-delay 0!interface Serial1/1no ip addressshutdownserial restart-delay 0!interface Serial1/2no ip addressshutdownserial restart-delay 0!interface Serial1/3no ip addressshutdownserial restart-delay 0!router ospf 1router-id 10.10.255.5no auto-costnetwork 10.10.12.0 0.0.0.255 area 2network 10.10.13.0 0.0.0.255 area 2network 10.10.14.0 0.0.0.255 area 2network 10.10.253.20 0.0.0.3 area 2neighbor 10.10.253.21!ip forward-protocol nd!!no ip http serverno ip http secure-server!!!!control-plane!!!!!!! !line con 0logging synchronousline aux 0line vty 0 4logintransport input none!!endR5#
R6(帧中继交换机)RFSW#show runBuilding configuration...Current configuration : 1688 bytes
!! Last configuration change at 16:12:54 CST Wed Jan 23 2019!version 15.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname RFSW!boot-start-markerboot-end-marker!aqm-register-fnf!!no aaa new-modelclock timezone CST 8 0mmi polling-interval 60no mmi auto-configureno mmi pvcmmi snmp-timeout 180!!!!!!!
!!!ip cefno ipv6 cef!frame-relay switchingmultilink bundle-name authenticated!!!!!! !!!redundancy!!! !!!!!!!!!!!!interface Ethernet0/0no ip addressshutdown! interface Ethernet0/1no ip addressshutdown!interface Ethernet0/2no ip addressshutdown!interface Ethernet0/3no ip addressshutdown!interface Serial1/0no ip addressencapsulation frame-relayserial restart-delay 0clock rate 64000frame-relay intf-type dceframe-relay route 102 interface Serial1/1 201frame-relay route 103 interface Serial1/2 301!interface Serial1/1no ip addressencapsulation frame-relayserial restart-delay 0clock rate 64000frame-relay intf-type dceframe-relay route 201 interface Serial1/0 102frame-relay route 203 interface Serial1/2 302!interface Serial1/2no ip addressencapsulation frame-relayserial restart-delay 0clock rate 64000frame-relay intf-type dceframe-relay route 301 interface Serial1/0 103frame-relay route 302 interface Serial1/1 203!interface Serial1/3no ip addressshutdownserial restart-delay 0!ip forward-protocol nd! !no ip http serverno ip http secure-server!!!!control-plane!!!!!!!!line con 0logging synchronousline aux 0line vty 0 4logintransport input none! !endRFSW#
转载于:https://blog.51cto.com/14186275/2345978