zoukankan      html  css  js  c++  java
  • 华为交换机有关BGP的相关配置

    作者:邓聪聪

    上图是本人在某公司任职期间的一次割接任务,在原有的路由器上新配置的另一台高性能的路由器,两台设备为并行

    割接要求:

    1:原有的网络结构无变化,并行新设备

    2:原有设备下的所有用户无变化

    3:原有的设备不接收新设备的任何路由,向新设备传递联通路由表,同时向下级汇聚设备发布缺省路由

    4:与网内其他运营商的前置机建立IBGP

    5:默认路由仍大流量出口电信(我司的大出口为电信,IP多为BGP多线)

    ========================================================================================================================================

    新设备模拟配置如下:

    bgp 50001
    peer 2.1.1.2 as-number 50001
    peer 10.1.1.1 as-number 4808(EBGP对等体)
    peer 10.1.1.1 ebgp-max-hop 255(EBGP传递跳数)
    #
    ipv4-family unicast
    undo synchronization
    network 2.1.1.0 255.255.255.0 (发布本网路由)
    network 8.8.0.0 255.255.0.0
    peer 2.1.1.2 enable
    peer 2.1.1.2 next-hop-local (IBGP)
    peer 10.1.1.1 enable
    peer 10.1.1.1 route-policy LianTong import   调用路由策略(控制对等体的入方向路由策略)
    #

    route-policy LianTong permit node 10 (路由策略)
    if-match ip-prefix LianTong
    if-match as-path-filter 10
    apply ip-address next-hop 10.1.1.1
    #

    (IP前缀列表)
    ip ip-prefix LianTong index 1 permit 10.1.1.1 32
    ip ip-prefix LianTong index 2 permit 106.1.1.0 24 greater-equal 24 less-equal 32

    #
    ip as-path-filter 10 permit ^4808$(正则表达式)

    本端发布路由的控制策略同上理。

    此为本人的小记录,数据仅拱参考,如有误差请联系修正!(QQ:824556110)

  • 相关阅读:
    .Net魔法堂:log4net详解
    CentOS6.5菜鸟之旅:安装SUN JDK1.7和Tomcat7
    Java魔法堂:注释和注释模板
    Eclipse魔法堂:任务管理器
    CentOS6.5菜鸟之旅:VirtualBox4.3识别USB设备
    Windows魔法堂:解决“由于启动计算机时出现页面文件配置问题.......”
    JS魔法堂:IE5~9的Drag&Drop API
    CentOS6.5菜鸟之旅:安装VirtualBox4.3
    HTML5魔法堂:全面理解Drag & Drop API
    byzx
  • 原文地址:https://www.cnblogs.com/dengcongcong/p/7066894.html
Copyright © 2011-2022 走看看