ensp ospf实验

r1
sys
sys r1
int g0/0/0
ip add  12.1.1.1 24
q
int loopback 0
ip add 1.1.1.1 24
q

ospf route-id 1.1.1.1
area 0
network 12.1.1.0 0.0.0.255
network 1.1.1.0 0.0.0.255
authentication-mode md5 1 cipher huawei
q

dis ospf peer
dis ospf lsdb
dis ospf routing

 

r2

sys
sys r2
int g0/0/0
ip add 12.1.1.2 24
q
int g0/0/1
ip add 23.1.1.2 24
q
int loopback 2.2.2.2 24
q
ospf route-id 2.2.2.2
area 0
network 12.1.1.0 0.0.0.255
network 23.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
authentication-mode md5 1 cipher huawei
q


dis ospf peer
dis ospf lsdb
dis ofpf routing

 

r3
sys
sys r3
int g0/0/0
ip add 23.1.1.3 24
q
int loopback 0
ip add 3.3.3.3 24
q
ospf route-id 3.3.3.3
area 0
network 23.1.1.0 0.0.0.255
network 3.3.3.0 0.0.0.255
authentication-mode md5 1 cipher huawei
q


dis ospf peer
dis ospf lsdb
dis ospf routing


ping 12.1.1.2
ping 23.1.1.2

<r1>dis ospf peer

	 OSPF Process 1 with Router ID 1.1.1.1
		 Neighbors 

 Area 0.0.0.0 interface 12.1.1.1(GigabitEthernet0/0/0)'s neighbors
 Router ID: 2.2.2.2          Address: 12.1.1.2        
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR: 12.1.1.2  BDR: 12.1.1.1  MTU: 0    
   Dead timer due in 40  sec 
   Retrans timer interval: 0 
   Neighbor is up for 00:19:59     
   Authentication Sequence: [ 3923] 

<r1>dis ospf lsdb

	 OSPF Process 1 with Router ID 1.1.1.1
		 Link State Database 

		         Area: 0.0.0.0
 Type      LinkState ID    AdvRouter          Age  Len   Sequence   Metric
 Router    2.2.2.2         2.2.2.2           1035  60    80000018       1
 Router    1.1.1.1         1.1.1.1           1208  48    8000000E       1
 Router    3.3.3.3         3.3.3.3           1025  48    80000009       1
 Network   23.1.1.3        3.3.3.3           1025  32    80000002       0
 Network   12.1.1.2        2.2.2.2           1200  32    80000004       0
 
 
<r1>dis ospf rout	
<r1>dis ospf routing 

	 OSPF Process 1 with Router ID 1.1.1.1
		  Routing Tables 

 Routing for Network 
 Destination        Cost  Type       NextHop         AdvRouter       Area
 1.1.1.1/32         0     Stub       1.1.1.1         1.1.1.1         0.0.0.0
 12.1.1.0/24        1     Transit    12.1.1.1        1.1.1.1         0.0.0.0
 2.2.2.2/32         1     Stub       12.1.1.2        2.2.2.2         0.0.0.0
 3.3.3.3/32         2     Stub       12.1.1.2        3.3.3.3         0.0.0.0
 23.1.1.0/24        2     Transit    12.1.1.2        3.3.3.3         0.0.0.0

 Total Nets: 5  
 Intra Area: 5  Inter Area: 0  ASE: 0  NSSA: 0 

<r2>dis ospf peer

	 OSPF Process 1 with Router ID 2.2.2.2
		 Neighbors 

 Area 0.0.0.0 interface 12.1.1.2(GigabitEthernet0/0/0)'s neighbors
 Router ID: 1.1.1.1          Address: 12.1.1.1        
   State: Full  Mode:Nbr is  Slave  Priority: 1
   DR: 12.1.1.2  BDR: 12.1.1.1  MTU: 0    
   Dead timer due in 31  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:21:41     
   Authentication Sequence: [ 3875] 

		 Neighbors 

 Area 0.0.0.0 interface 23.1.1.2(GigabitEthernet0/0/1)'s neighbors
 Router ID: 3.3.3.3          Address: 23.1.1.3        
   State: Full  Mode:Nbr is  Master  Priority: 1
   DR: 23.1.1.3  BDR: 23.1.1.2  MTU: 0    
   Dead timer due in 35  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:18:47     
   Authentication Sequence: [ 3527] 

<r2>dis ospf lsdb

	 OSPF Process 1 with Router ID 2.2.2.2
		 Link State Database 

		         Area: 0.0.0.0
 Type      LinkState ID    AdvRouter          Age  Len   Sequence   Metric
 Router    2.2.2.2         2.2.2.2           1133  60    80000018       1
 Router    1.1.1.1         1.1.1.1           1308  48    8000000E       1
 Router    3.3.3.3         3.3.3.3           1123  48    80000009       1
 Network   23.1.1.3        3.3.3.3           1123  32    80000002       0
 Network   12.1.1.2        2.2.2.2           1298  32    80000004       0
 
 
<r2>dis ospf routing

	 OSPF Process 1 with Router ID 2.2.2.2
		  Routing Tables 

 Routing for Network 
 Destination        Cost  Type       NextHop         AdvRouter       Area
 2.2.2.2/32         0     Stub       2.2.2.2         2.2.2.2         0.0.0.0
 12.1.1.0/24        1     Transit    12.1.1.2        2.2.2.2         0.0.0.0
 23.1.1.0/24        1     Transit    23.1.1.2        2.2.2.2         0.0.0.0
 1.1.1.1/32         1     Stub       12.1.1.1        1.1.1.1         0.0.0.0
 3.3.3.3/32         1     Stub       23.1.1.3        3.3.3.3         0.0.0.0

 Total Nets: 5  
 Intra Area: 5  Inter Area: 0  ASE: 0  NSSA: 0 

 

<r3>dis ospf peer

	 OSPF Process 1 with Router ID 3.3.3.3
		 Neighbors 

 Area 0.0.0.0 interface 23.1.1.3(GigabitEthernet0/0/0)'s neighbors
 Router ID: 2.2.2.2          Address: 23.1.1.2        
   State: Full  Mode:Nbr is  Slave  Priority: 1
   DR: 23.1.1.3  BDR: 23.1.1.2  MTU: 0    
   Dead timer due in 30  sec 
   Retrans timer interval: 5 
   Neighbor is up for 00:19:32     
   Authentication Sequence: [ 3923] 

<r3>dis ospf lsdb

	 OSPF Process 1 with Router ID 3.3.3.3
		 Link State Database 

		         Area: 0.0.0.0
 Type      LinkState ID    AdvRouter          Age  Len   Sequence   Metric
 Router    2.2.2.2         2.2.2.2           1185  60    80000018       1
 Router    1.1.1.1         1.1.1.1           1360  48    8000000E       1
 Router    3.3.3.3         3.3.3.3           1173  48    80000009       1
 Network   23.1.1.3        3.3.3.3           1173  32    80000002       0
 Network   12.1.1.2        2.2.2.2           1349  32    80000004       0
 
 
<r3>dis ospf rout	
<r3>dis ospf routing 

	 OSPF Process 1 with Router ID 3.3.3.3
		  Routing Tables 

 Routing for Network 
 Destination        Cost  Type       NextHop         AdvRouter       Area
 3.3.3.3/32         0     Stub       3.3.3.3         3.3.3.3         0.0.0.0
 23.1.1.0/24        1     Transit    23.1.1.3        3.3.3.3         0.0.0.0
 1.1.1.1/32         2     Stub       23.1.1.2        1.1.1.1         0.0.0.0
 2.2.2.2/32         1     Stub       23.1.1.2        2.2.2.2         0.0.0.0
 12.1.1.0/24        2     Transit    23.1.1.2        2.2.2.2         0.0.0.0

 Total Nets: 5  
 Intra Area: 5  Inter Area: 0  ASE: 0  NSSA: 0 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值