zoukankan      html  css  js  c++  java
  • 神州数码OSPF Stub(末梢区域)和Totally Stub(完全末梢区域)的配置

    实验要求:了解末梢区域及完全末梢区域的配置

    拓扑如下

    R1

    enable  进入特权模式

    config  进入全局模式

    hostname R1  修改名称

    interface l0  进入端口

    ip address 192.168.3.254 255.255.255.0  设置IP地址

    interface s0/1  进入端口

    ip address 192.168.1.1 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    exit  返回上一级

    router ospf 1  启动OSPF协议

    network 192.168.1.0 255.255.255.0 area 1  将直连网段添加到OSPF

    network 192.168.3.0 255.255.255.0 area 1  将直连网段添加到OSPF

    area 1 stub  配置末梢区域

    R2

    enable  进入特权模式

    config  进入全局模式

    hostname R2  修改名称

    interface s0/2  进入端口

    ip address 192.168.1.2 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    interface s0/1  进入端口

    ip address 192.168.2.1 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    exit  返回上一级

    router ospf 1  启动OSPF协议

    network 192.168.1.0 255.255.255.0 area 1  将直连网段添加到OSPF

    network 192.168.2.0 255.255.255.0 area 0  将直连网段添加到OSPF

    area 1 stub no-summary  指明末梢区域

    R3

    enable  进入特权模式

    config  进入全局模式

    hostname R3  修改名称

    interface l0  进入端口

    ip address 192.168.4.254 255.255.255.0  设置IP地址

    interface s0/2  进入端口

    ip address 192.168.2.2 255.255.255.0  设置IP地址

    physical-layer speed 64000  设置同步时钟

    exit  返回上一级

    router ospf 1  启动OSPF协议

    network 192.168.4.0 255.255.255.0 area 0  将直连网段添加到OSPF

    network 192.168.2.0 255.255.255.0 area 0  将直连网段添加到OSPF

    相关命令

    area [区域ID] stub         将指定区域内的路由器配置成末梢区域

    area [区域ID] stub no-summary   ABR上指明末梢区域

  • 相关阅读:
    关于VGG网络的介绍
    nvidia-docker 安装
    test
    ARTS-S EN0002-London HIV patient's remission spurs hope for curing AIDS
    ARTS-S EN0001-In tech race with China, US universities may lose a vital edge
    ARTS-S Why do India and Pakistan keep fighting over Kashmir?
    ARTS-S sed指定行添加
    ARTS-S linux查看进程打开的文件数
    ARTS-S centos查看端口被哪个进程占用
    ARTS-S centos修改hostname
  • 原文地址:https://www.cnblogs.com/guoshiyu/p/9323315.html
Copyright © 2011-2022 走看看