CCNA实验-OSPF

Standard

部门里要走专线去美国,当然这一切基本都由总公司的网管部门搞定.
听那边说路由协议用的是OSPF.
实际上在思科硬件这一块没怎么使用,一直想跟着管IDC机房的同学打打下手从头布一次,但也没这机会.
虽然之前也学过,但也多半是在模拟器里练习,隔一段时间就会忘.
这不,现在再把OSPF模拟一遍加深记忆.
没办法,这就和背英文单词一样,只有翻翻复复的一遍又一遍的来.

ps:
刚从驾校回了.快过年了人就少,哪都比较空,马陆的驾校练习场也清静了.今天练了足足一个上午,比较累了,就先做遍模拟练习贴上来,回头再整理下格式做些备注什么的.

RTA>en
RTA#conf t
RTA(config)#route ospf 1
RTA(config-router)#network 10.1.0.1 0.0.0.0 area 0
RTA(config-router)#network 172.16.2.1 0.0.0.0 area 0
RTA(config-router)#network 172.16.7.1 0.0.0.0 area 0
 
RTA(config-router)#exit
RTA(config)#exit
00:54:37: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done
01:19:23: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.3.1 on Serial0/0/1 from LOADING to FULL, Loading Done
02:05:58: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.7.2 on Serial0/1/0 from LOADING to FULL, Loading Done
RTA#sh ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
172.16.3.1        1   FULL/-          00:00:32    172.16.2.2      Serial0/0/1
192.168.1.1       1   FULL/-          00:00:30    10.1.0.2        Serial0/0/0
172.16.7.2        1   FULL/-          00:00:31    172.16.7.2      Serial0/1/0
 
RTB>en
RTB#conf t
RTB(config)#route ospf 1
RTB(config-router)#network 10.1.0.2 0.0.0.0 area 0
00:54:37: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.7.1 on Serial0/0 from LOADING to FULL, Load
RTB(config-router)#network 10.2.0.1 0.0.0.0 area 0
RTB(config-router)#exit
RTB(config)#exit
RTB#sh ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
172.16.7.1        1   FULL/-          00:00:31    10.1.0.1        Serial0/0
RTB#
01:15:26: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.4.1 on Serial0/1 from LOADING to FULL, Loading Done
 
RTC>en
RTC#conf t
RTC(config)#route ospf 1
RTC(config-router)#network 172.16.3.2 0.0.0.0 area 0
RTC(config-router)#network 10.2.0.2 0.0.0.0 area 0
01:15:26: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.1.1 on Serial0/1 from LOADING to FULL, Loading Done
RTC(config-router)#exit
RTC(config)#exit
RTC#show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
192.168.1.1       1   FULL/-          00:00:38    10.2.0.1        Serial0/1
RTC#
01:19:45: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.3.1 on Serial0/0 from EXCHANGE to FULL, Exchange Done
 
RTD>en
RTD#conf t
RTD(config)#route ospf 1
RTD(config-router)#network 172.16.2.2 0.0.0.0 area 0
RTD(config-router)#network 172.16.3.1 0.0.0.0 area 0
RTD(config-router)#exit
RTD(config)#exit
01:19:45: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.4.1 on Serial0/1 from EXCHANGE to FULL, Exchange Done
RTD#show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
172.16.7.1        1   FULL/-          00:00:39    172.16.2.1      Serial0/0
172.16.4.1        1   FULL/-          00:00:32    172.16.3.2      Serial0/1
RTD#
 
RTE>en
RTE#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        172.16.6.1      YES manual up                    up
FastEthernet0/1        unassigned      YES manual administratively down down
Serial0/0              172.6.7.2       YES manual up                    up
Serial0/1              unassigned      YES manual administratively down down
Serial0/2              unassigned      YES manual administratively down down
Serial0/3              unassigned      YES manual administratively down down
FastEthernet1/0        unassigned      YES manual administratively down down
FastEthernet1/1        unassigned      YES manual administratively down down
RTE#conf t
RTE(config)#interface Serial 0/0
RTE(config-if)#ip address 172.16.7.2 255.255.255.0
RTE(config-if)#exit
RTE(config)#exit
RTE#show ip interface brief
Interface              IP-Address      OK? Method Status                Protocol
FastEthernet0/0        172.16.6.1      YES manual up                    up
FastEthernet0/1        unassigned      YES manual administratively down down
Serial0/0              172.16.7.2      YES manual up                    up
Serial0/1              unassigned      YES manual administratively down down
Serial0/2              unassigned      YES manual administratively down down
Serial0/3              unassigned      YES manual administratively down down
FastEthernet1/0        unassigned      YES manual administratively down down
FastEthernet1/1        unassigned      YES manual administratively down down
RTE#conf t
RTE(config)#route ospf 1
RTE(config-router)#network 172.16.7.2 0.0.0.0 area 0
RTE(config-router)#
02:05:58: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.7.1 on Serial0/0 from LOADING to FULL, Loading Done
RTE#show ip ospf neighbor
Neighbor ID     Pri   State           Dead Time   Address         Interface
172.16.7.1        1   FULL/-          00:00:32    172.16.7.1      Serial0/0
RTE#

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.