美文网首页
hcnp关于rip协议版本1与版本2兼容性

hcnp关于rip协议版本1与版本2兼容性

作者: A7c | 来源:发表于2019-10-13 10:23 被阅读0次

    只需要在两个起不同rip版本的路由器之间的其中一个的端口上配置

    格式:

    interface 接口

    rip version 版本号

    如:

    R1与R2起Rip的version 1

    R3与R4起Rip的version 2

    R1

    system-view

    sysname r1

    interface e0/0/0

    ip address 12.1.1.1 255.255.255.0

    quit

    interface LoopBack 1

    ip address 1.1.1.1 255.255.255.0

    quit

    rip

    version 1

    network 1.0.0.0

    network 12.0.0.0

    quit

    quit

    save

    y

    R2

    system-view

    sysname r2

    interface e0/0/0

    ip address 12.1.1.2 255.255.255.0

    quit

    interface e0/0/1

    ip address 23.1.1.1 255.255.255.0

    quit

    interface LoopBack 1

    ip address 2.2.2.2 255.255.255.0

    quit

    rip

    version 1

    network 2.0.0.0

    network 12.0.0.0

    network 23.0.0.0

    quit

    quit

    save

    y

    R3

    system-view

    sysname r3

    interface e0/0/0

    ip address 23.1.1.2 255.255.255.0

    quit

    interface e0/0/1

    ip address 34.1.1.1 255.255.255.0

    quit

    interface LoopBack 1

    ip address 3.3.3.3 255.255.255.0

    quit

    rip

    undo summary

    version 2

    network 3.0.0.0

    network 23.0.0.0

    network 34.0.0.0

    quit

    interface e0/0/0

    rip version 2

    quit

    quit

    save

    y

    R4

    system-view

    sysname r4

    interface e0/0/0

    ip address 34.1.1.2 255.255.255.0

    quit

    interface LoopBack 1

    ip address 4.4.4.4 255.255.255.0

    quit

    rip

    undo summary

    version 2

    network 4.0.0.0

    network 34.0.0.0

    quit

    quit

    save

    y

    相关文章

      网友评论

          本文标题:hcnp关于rip协议版本1与版本2兼容性

          本文链接:https://www.haomeiwen.com/subject/yihoyctx.html