DOC

ospf

By Carlos Tucker,2014-05-16 01:29
12 views 0
ospf

H3C:

    ra:

    [ra]ospf 1

    [ra-ospf-1]area 1//进入区域

    [ra-ospf-1-area-0.0.0.1]network 192.168.1.0 0.0.0.255//声明网络号 [ra-ospf-1-area-0.0.0.1]nssa//指明区域类型为nssa

    [ra-ospf-1-area-0.0.0.1]asbr-summary 1.1.0.0 255.255.0.0//对引入的路由做江总 [ra-ospf-1-area-0.0.0.1]import-route rip//RIP引入到OSPF [ra]rip

    [ra-rip]network 192.168.3.0

    [ra-rip]import-route ospf cost 1//OSPF引入到RIP,并指出cost,默认的将OSPF引入RIPmetic16,路由表中会学不到ospf的路由.

rb:

    [rb]ospf 1

    [rb-ospf-1]area 1

    [rb-ospf-1-area-0.0.0.1]network 192.168.1.0 0.0.0.255 [rb-ospf-1-area-0.0.0.1]nssa

    [rb-ospf-1]area 0

    [rb-ospf-1-area-0.0.0.0]network 192.168.0.0 0.0.0.255

rc:

    [rc]ospf 1

    [rc-ospf-1]area 0

    [rc-ospf-1-area-0.0.0.0]network 192.168.0.0 0.0.0.255 [rc-ospf-1]area 2

    [rc-ospf-1-area-0.0.0.2]network 192.168.2.0 0.0.0.255 [rc-ospf-1-area-0.0.0.2]stub

    [rc-ospf-1-area-0.0.0.2]abr-summary 4.4.0.0 255.255.0.0[not-advertise]//ABR上将路由进行江总后在传到其它区域.

rd:

    [rd]ospf 1

    [rd-ospf-1]area 2

    [rd-ospf-1-area-0.0.0.2]network192.168.2.0 0.0.0.255 [rd-ospf-1-area-0.0.0.2]network 4.4.1.0 0.0.0.255 [rd-ospf-1-area-0.0.0.2]network 4.4.2.0 0.0.0.255 [rd-ospf-1-area-0.0.0.2]network 4.4.3.0 0.0.0.255

re:

    [re]rip

    [re-rip]nework 192.168.3.0

    [re-rip]network 1.1.1.0

    [re-rip]network 1.1.2.0

    [re-rip]network 1.1.3.0

    [re-rip]import-route ospf 1 cost 1

Report this document

For any questions or suggestions please email
cust-service@docsford.com