OSPF Configuration Examples
来源:互联网 发布:线阵音响和矩阵的区别 编辑:程序博客网 时间:2024/06/10 10:07
http://www.nongnu.org/quagga/docs/docs-multi/OSPF-Configuration-Examples.html
7.12 OSPF Configuration Examples
A simple example, with MD5 authentication enabled:
!interface bge0 ip ospf authentication message-digest ip ospf message-digest-key 1 md5 ABCDEFGHIJK!router ospf network 192.168.0.0/16 area 0.0.0.1 area 0.0.0.1 authentication message-digest
An ABR router, with MD5 authentication and performing summarisationof networks between the areas:
!password ABCDEFlog file /var/log/quagga/ospfd.logservice advanced-vty!interface eth0 ip ospf authentication message-digest ip ospf message-digest-key 1 md5 ABCDEFGHIJK!interface ppp0!interface br0 ip ospf authentication message-digest ip ospf message-digest-key 2 md5 XYZ12345!router ospf ospf router-id 192.168.0.1 redistribute connected passive interface ppp0 network 192.168.0.0/24 area 0.0.0.0 network 10.0.0.0/16 area 0.0.0.0 network 192.168.1.0/24 area 0.0.0.1 area 0.0.0.0 authentication message-digest area 0.0.0.0 range 10.0.0.0/16 area 0.0.0.0 range 192.168.0.0/24 area 0.0.0.1 authentication message-digest area 0.0.0.1 range 10.2.0.0/16!
A Traffic Engineering configuration, with Inter-ASv2 support.
- First, the ’zebra.conf’ part:
hostname HOSTNAMEpassword PASSWORDlog file /var/log/zebra.log!interface eth0 ip address 198.168.1.1/24 mpls-te on mpls-te link metric 10 mpls-te link max-bw 1.25e+06 mpls-te link max-rsv-bw 1.25e+06 mpls-te link unrsv-bw 0 1.25e+06 mpls-te link unrsv-bw 1 1.25e+06 mpls-te link unrsv-bw 2 1.25e+06 mpls-te link unrsv-bw 3 1.25e+06 mpls-te link unrsv-bw 4 1.25e+06 mpls-te link unrsv-bw 5 1.25e+06 mpls-te link unrsv-bw 6 1.25e+06 mpls-te link unrsv-bw 7 1.25e+06 mpls-te link rsc-clsclr 0xab!interface eth1 ip address 192.168.2.1/24 mpls-te on mpls-te link metric 10 mpls-te link max-bw 1.25e+06 mpls-te link max-rsv-bw 1.25e+06 mpls-te link unrsv-bw 0 1.25e+06 mpls-te link unrsv-bw 1 1.25e+06 mpls-te link unrsv-bw 2 1.25e+06 mpls-te link unrsv-bw 3 1.25e+06 mpls-te link unrsv-bw 4 1.25e+06 mpls-te link unrsv-bw 5 1.25e+06 mpls-te link unrsv-bw 6 1.25e+06 mpls-te link unrsv-bw 7 1.25e+06 mpls-te link rsc-clsclr 0xab mpls-te neighbor 192.168.2.2 as 65000
- Then the ’ospfd.conf’ itself:
hostname HOSTNAMEpassword PASSWORDlog file /var/log/ospfd.log!!interface eth0 ip ospf hello-interval 60 ip ospf dead-interval 240!interface eth1 ip ospf hello-interval 60 ip ospf dead-interval 240!!router ospf ospf router-id 192.168.1.1 network 192.168.0.0/16 area 1 ospf opaque-lsa mpls-te mpls-te router-address 192.168.1.1 mpls-te inter-as area 1!line vty
A router information example with PCE advsertisement:
!router ospf ospf router-id 192.168.1.1 network 192.168.0.0/16 area 1 capability opaque mpls-te mpls-te router-address 192.168.1.1 router-info area 0.0.0.1 pce address 192.168.1.1 pce flag 0x80 pce domain as 65400 pce neighbor as 65500 pce neighbor as 65200 pce scope 0x80!
Previous: Debugging OSPF, Up: OSPFv2 [Contents][Index]
阅读全文
0 0
- OSPF Configuration Examples
- Basic FortiOS 2.80 OSPF configuration
- CISCO Configuration Examples and TechNotes
- Android官方资料--Configuration Examples
- OSPF CONFIGURATION IN PHASE 1 DMVPN NETWORK
- IP Routing: OSPF Configuration Guide, Cisco IOS Release 15SY
- ospf
- ospf
- ospf
- OSPF
- ospf
- OSPF
- OSPF
- OSPF
- OSPF
- OSPF
- OSPF
- OSPF
- 洛谷P2801 教主的魔法 分块
- 表达式计算栈实现
- Ubuntu16.04环境下命令行安装驱动
- Java实现-寻找峰值
- HDU 1052
- OSPF Configuration Examples
- 2017年上海金马五校程序设计竞赛:Problem C : Count the Number
- 浅谈Java数组
- 基于Linux系统利用XAMPP扩展Redis和Memcache
- 基于Unity3D的并行渲染模型的开发教程(五):Leap Motion
- Windows 多线程编程链表的读写
- SSH框架随写
- NOIP2015 斗地主 洛谷P2668
- 找工作笔试面试那些事儿(5)---构造函数、析构函数和赋值函数