• <nav id="cwumo"><code id="cwumo"></code></nav>
  • <menu id="cwumo"><strong id="cwumo"></strong></menu>

    華為認證ospf配置命令

    時間:2024-07-12 03:06:42 華為認證 我要投稿
    • 相關推薦

    華為認證ospf配置命令

      隨著華為在中國市場的發展,華為認證也成為了IT屆的寵兒,就跟著我們一起來學習華為ospf是怎么配置的吧.

      使用的拓撲圖如下:

      配置命令如下:

      R1:

      interface Serial0/0/0

      link-protocol ppp

      ip address 192.168.14.1 255.255.255.0

      #

      interface Serial0/0/1

      link-protocol ppp

      ip address 192.168.12.1 255.255.255.0

      #

      interface LoopBack0

      ip address 1.1.1.1 255.255.255.255

      #

      ospf 1

      area 0.0.0.0

      network 192.168.12.1 0.0.0.0

      network 1.1.1.1 0.0.0.0

      R2:

      interface Serial0/0/0

      link-protocol ppp

      ip address 192.168.12.2 255.255.255.0

      #

      interface Serial0/0/1

      link-protocol ppp

      ip address 192.168.23.2 255.255.255.0

      #

      interface LoopBack0

      ip address 2.2.2.2 255.255.255.255

      #

      ospf 1

      area 0.0.0.0

      network 192.168.12.2 0.0.0.0

      network 192.168.23.2 0.0.0.0

      network 2.2.2.2 0.0.0.0

      R3:

      interface Serial0/0/0

      link-protocol ppp

      ip address 192.168.23.3 255.255.255.0

      #

      interface Serial0/0/1

      link-protocol ppp

      ip address 192.168.35.3 255.255.255.0

      #

      interface LoopBack0

      ip address 3.3.3.3 255.255.255.255

      #

      ospf 1

      area 0.0.0.0

      network 192.168.23.3 0.0.0.0

      network 3.3.3.3 0.0.0.0

      配置命令對于學習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

      1.1.1.1/32 Direct 0 0 D 127.0.0.1 LoopBack0

      2.2.2.2/32 OSPF 10 1562 D 192.168.23.2 Serial0/0/1

      3.3.3.3/32 OSPF 10 3124 D 192.168.23.2 Serial0/0/1

      127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0

      127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0

      192.168.12.0/24 Direct 0 0 D 192.168.12.1 Serial0/0/1

      192.168.12.1/32 Direct 0 0 D 127.0.0.1 Serial0/0/1

      192.168.23.0/24 OSPF 10 3124 D 192.168.23.2 Serial0/0/1

      192.168.23.2/32 Direct 0 0 D 192.168.23.2 Serial0/0/1

      R1:

      [Huawei]ping 3.3.3.3 ip-forwarding

      PING 3.3.3.3: 56 data bytes, press CTRL_C to break

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

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

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

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

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

      --- 3.3.3.3 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配置命令】相關文章:

    華為認證:路由器以太網口配置命令03-18

    華為路由器配置命令04-10

    華為交換機配置命令02-26

    華為交換機配置命令10-23

    華為交換機基本配置命令01-21

    華為vlan技術原理預配置命令03-03

    華為交換機基本配置命令大全01-21

    華為路由器IP性能配置命令03-03

    華為交換機基本配置命令匯總02-25

    日韩激情