HP/H3C/Huawei ospf Config

只要是使用 Huawei CLI 介面皆可適用

ospf Config

  • Huawei style 的 ospf 本人還蠻欣賞的,很直覺很好懂很好設
    #
     router id 192.168.255.254
    #
    vlan 101
    #
    vlan 103
    #
    vlan 105
    #
    vlan 255
    #
    interface Vlan-interface101
     ip address 192.168.101.254 255.255.255.0 
    #
    interface Vlan-interface103
     ip address 192.168.103.254 255.255.255.0 
    #
    interface Vlan-interface105
     ip address 192.168.105.254 255.255.255.0 
    #
    interface Vlan-interface255
     ip address 192.168.255.254 255.255.255.255
    #
    ospf 1
     import-route static 
     default-route-advertise always 
     silent-interface Vlan-interface103
     silent-interface Vlan-interface105
     area 0.0.0.0
      network 192.168.101.0 0.0.0.255
      network 192.168.102.0 0.0.0.255
      network 192.168.103.0 0.0.0.255
      network 192.168.105.0 0.0.0.255
      network 192.168.255.254 0.0.0.0
    #
    ip route-static 192.168.102.0 255.255.255.0 192.168.105.1 preference 60
    #
hp/switch/ospf.txt · 上一次變更: 2012/11/07 08:04 由 jal
上一頁 | 下一頁 | 回首頁 | RSS Feed | Facebook