• 思科设备配置路由重发布


    在这里插入图片描述

    1.配置IP地址
    R1#conf t
    R1(config)#int f0/0
    R1(config-if)#ip add 12.1.1.1 255.255.255.0
    R1(config-if)#no shutdown
    R1(config)#int loopback 1
    R1(config-if)#ip add 1.1.1.1 255.255.255.0
    R1(config-if)#no shutdown
    R2#conf t
    R2(config)#int f0/0
    R2(config-if)#ip add 12.1.1.2 255.255.255.0
    R2(config-if)#no shutdown
    R2(config-if)#int f0/1
    R2(config-if)#ip add 23.1.1.2 255.255.255.0
    R2(config-if)#no shutdown
    R2(config)#int loopback 1
    R2(config-if)#ip add 2.2.2.2 255.255.255.0
    R2(config-if)#no shutdown
    R3#conf t
    R3(config)#int f0/0
    R3(config-if)#ip add 23.1.1.3 255.255.255.0
    R3(config-if)#no shut
    R3(config)#int loopback 1
    R3(config-if)#ip add 3.3.3.3 255.255.255.0
    R3(config-if)#no shutdown
    2.配置ospf
    R2(config)#router ospf 110
    R2(config-router)#router-id 2.2.2.2
    R2(config-router)#network 23.1.1.0 0.0.0.255 area 0
    R2(config-router)#int f0/1
    R2(config-if)#ip ospf network point-to-point
    R3(config)#router ospf 110
    R3(config-router)#router-id 3.3.3.3
    R3(config-router)#network 23.1.1.0 0.0.0.255 area 0
    R3(config-router)#passive-interface loopback 1
    R3(config-router)#network 3.3.3.0 0.0.0.255 area 0
    R3(config-router)#int f0/0
    R3(config-if)#ip ospf network point-to-point
    R3(config)#int lo 1
    R3(config-if)#ip ospf network point-to-point
    3.配置eigrp
    R1(config)#router eigrp 90
    R1(config-router)#no auto-summary
    R1(config-router)#network 12.1.1.0 0.0.0.255
    R1(config-router)#network 1.1.1.0 0.0.0.255
    R1(config-router)#passive-interface loopback 1
    R2(config)#router eigrp 90
    R2(config-router)#no auto-summary
    R2(config-router)#network 12.1.1.0 0.0.0.255
    4.将ospf重发布到eigrp
    R2(config)#router eigrp 90
    R2(config-router)#redistribute ospf 110 metric 100000 1000 255 1 1500
    5. 将eigrp重发布到ospf
    R2(config)#router ospf 110
    R2(config-router)#redistribute eigrp 90 subnets metric-type 1 metric 30

  • 相关阅读:
    shell编程01_Shell基础
    关于git版本控制在IDEA中的使用
    故障预测与健康管理(PHM)在工业领域的发展前景
    Golang Xorm更新Mysql数据库 结构体内的0值数据未更新
    使用c#实现一个简单绘图软件(绘制矩形、多边形,画笔、橡皮擦功能)的完整教程
    arm-三盏灯流水
    JMeter界面字体大小设置方法
    redis 问题解决 1
    SQL对数据进行去重
    15 -- 最接近原点的 K 个点
  • 原文地址:https://blog.csdn.net/Tony_long7483/article/details/126951155