当前位置:学者斋 >

IT认证 >华为认证 >

华为认证ospf配置命令

华为认证ospf配置命令

随着华为在中国市场的发展,华为认证也成为了IT届的宠儿,就跟着我们一起来学习华为ospf是怎么配置的吧.

华为认证ospf配置命令

使用的拓扑图如下:

配置命令如下:

R1:

interface Serial0/0/0

link-protocol ppp

ip address

#

interface Serial0/0/1

link-protocol ppp

ip address

#

interface LoopBack0

ip address

#

ospf 1

area

network

network

R2:

interface Serial0/0/0

link-protocol ppp

ip address

#

interface Serial0/0/1

link-protocol ppp

ip address

#

interface LoopBack0

ip address

#

ospf 1

area

network

network

network

R3:

interface Serial0/0/0

link-protocol ppp

ip address

#

interface Serial0/0/1

link-protocol ppp

ip address

#

interface LoopBack0

ip address

#

ospf 1

area

network

network

配置命令对于学习cisco的'学员可能会有一点绕,但是敲的时候也是很有意思的.

结果如下:

R1:

[Huawei]dis ip rou

Route Flags: R - relay, D - download to fib

------------------------------------------------------------------------------

Routing Tables: Public

Destinations : 12 Routes : 12

Destination/Mask Proto Pre Cost Flags NextHop Interface

Direct 0 0 D LoopBack0

OSPF 10 1562 D Serial0/0/1

OSPF 10 3124 D Serial0/0/1

Direct 0 0 D InLoopBack0

Direct 0 0 D InLoopBack0

Direct 0 0 D Serial0/0/1

Direct 0 0 D Serial0/0/1

OSPF 10 3124 D Serial0/0/1

Direct 0 0 D Serial0/0/1

R1:

[Huawei]ping ip-forwarding

PING : 56 data bytes, press CTRL_C to break

Reply from : bytes=56 Sequence=1 ttl=254 time=60 ms

Reply from : bytes=56 Sequence=2 ttl=254 time=60 ms

Reply from : bytes=56 Sequence=3 ttl=254 time=30 ms

Reply from : bytes=56 Sequence=4 ttl=254 time=30 ms

Reply from : bytes=56 Sequence=5 ttl=254 time=70 ms

--- ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 30/50/70 ms

路由学习没有任何问题,ping通测试也是OK的,这就是所有ospf的基本配置了.

标签: OSPF 华为 命令 配置
  • 文章版权属于文章作者所有,转载请注明 https://xuezhezhai.com/zh-sg/itrz/huawei/49vjg.html