H3CNE 23 多区域OSPF
23 多区域OSPFR1基本配置sysname r1interface loopback 0ip address 1.1.1.1 32interface gigabitethernet 0/0ip address 10.10.12.1 24quit配置OSPFrouter id 1.1.1.1 //配置全局router idospf 1//创建OSPF进程description zurkj//配置OSPF进程描述area 0 //创建OSPF区域description zurkj//配置OSPF区域描述authentication-mode md5 1 plainAa123456//配置OSPF身份认证network 1.1.1.1 0.0.0.0//宣告参与网段network 10.10.12.0 0.0.0.255quitquit R2<H3C>system-viewsysname r2interface loopback 0ip address 2.2.2.2 32interface gigabitethernet 0/0ip address 10.10.12.2 24interface gigabitethernet 0/1ip address 10.10.23.2 24quitrouter id 2.2.2.2ospf 1description zurkjarea 0description zurkj1network 2.2.2.2 0.0.0.0network 10.10.12.0 0.0.0.255authentication-mode md5 1plain Aa123456quitarea 1description zurkj1authentication-mode md5 1plain Aa123456network 10.10.23.0 0.0.0.255quitquit R3<H3C>system-viewsysname r3interface loopback 0ip address 3.3.3.3 32interface gigabitethernet 0/1ip address 10.10.23.3 24quitrouter id 3.3.3.3ospf 1description zurkjarea 1description zurkjauthentication-mode md5 1plain Aa123456network 3.3.3.3 0.0.0.0network 10.10.23.0 0.0.0.255quitquit display ospf peer OSPFProcess 1 with Router ID 3.3.3.3 Neighbor Brief Information Area: 0.0.0.1 Router ID Address Pri Dead-TimeState Interface 2.2.2.2 10.10.23.2 140 Full/DR GE0/1 display ip routing-table protocol ospfSummary count : 5OSPF Routing table status : <Active>Summary count : 3Destination/MaskProto Pre Cost NextHop Interface1.1.1.1/32 O_INTER 102 10.10.23.2 GE0/12.2.2.2/32 O_INTER 101 10.10.23.2 GE0/110.10.12.0/24 O_INTER 102 10.10.23.2 GE0/1OSPF Routing table status : <Inactive>Summary count : 2Destination/MaskProto Pre Cost NextHop Interface3.3.3.3/32 O_INTRA 100 0.0.0.0 Loop010.10.23.0/24 O_INTRA 101 0.0.0.0 GE0/1
页:
[1]