国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

BGP學(xué)習(xí)精華

2019-11-04 20:52:10
字體:
供稿:網(wǎng)友

  EBGP and IBGP
   BGP學(xué)習(xí)精華(圖一) Enabling BGP routing
  The command used to enable BGP on a router is:
  router bgp autonomous-system
  RTA#
  router bgp 100
  RTB#
  router bgp 200
  The above statements indicate that RTA is running BGP and it belongs to
  AS100 and RTB is running BGP and it belongs to AS200 and so on.
  BGP Neighbors/Peers
  The neighbor command used to establish a TCP connection is:
  neighbor ip-address remote-as number
  The remote-as number is the AS number of the router we are trying to
  connect to via BGP.
  The ip-address is the next hop directly connected address for EBGP1 and
  any IP address2 on the other router for IBGP.
  clear ip bgp address (where address is the neighbor address)
  clear ip bgp * (clear all neighbor connections)
  
  By default, BGP sessions begin using BGP Version 4 and negotiating
  downward to earlier versions if necessary. To PRevent negotiations and
  force the BGP version used to communicate with a neighbor, perform the
  following task in router configuration mode:
  neighbor { ip address peer-group-name} version value
  An example of the neighbor command configuration follows:
   BGP學(xué)習(xí)精華(圖二)
  RTA#
  router bgp 100
  neighbor 129.213.1.1 remote-as 200
  RTB#
  router bgp 200
  neighbor 129.213.1.2 remote-as 100
  neighbor 175.220.1.2 remote-as 200
  RTC#
  router bgp 200
  neighbor 175.220.212.1 remote-as 200
  BGP and Loopback interfaces
  Using a loopback interface to define neighbors is commonly used with IBGP
  rather than EBGP. Normally the loopback interface is used to make sure
  that the IP address of the neighbor stays up and is independent of an
  interface that might be flaky. In the case of EBGP, most of the time the
  peer routers are directly connected and loopback does not apply.
  If the IP address of a loopback interface is used in the neighbor command,
  some extra configuration needs to be done on the neighbor router.
  The neighbor router needs to tell BGP that it is using a loopback
  interface rather than a physical interface to initiate the BGP neighbor
  TCP connection. The command used to indicate a loopback interface is:
  neighbor ip-address update-source interface
  The following example should illustrate the use of this command.
   BGP學(xué)習(xí)精華(圖三)
  RTA#
  router bgp 100
  neighbor 190.225.11.1 remote-as 100
  neighbor 190.225.11.1 update-source loopback 1
  RTB#
  router bgp 100
  neighbor 150.212.1.1 remote-as 100
  BGP學(xué)習(xí)精華(圖四)
  RTA#
  router bgp 100
  neighbor 180.225.11.1 remote-as 300
  neighbor 180.225.11.1 ebgp-multihop
  RTB#
  router bgp 300
  neighbor 129.213.1.2 remote-as 100
  
  //關(guān)于BGP and loopback interfaces中的配置實(shí)例中:
  RTA#
  router bgp 100
  neighbor 190.225.11.1 remote-as 100
  neighbor 190.225.11.1 update-source int loopback 1
  應(yīng)是:
  neighbor 190.225.11.1 update-source loopback 1


發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 金湖县| 抚顺市| 湘西| 吉安县| 洱源县| 灌阳县| 北碚区| 长岛县| 浙江省| 延川县| 阜宁县| 霍山县| 登封市| 贵定县| 宜黄县| 巴塘县| 资中县| 湖口县| 布尔津县| 河西区| 霍城县| 苍溪县| 福海县| 蓬溪县| 博野县| 宜春市| 万源市| 军事| 周宁县| 久治县| 大宁县| 广水市| 奉节县| 新沂市| 五大连池市| 西和县| 大新县| 沙河市| 福州市| 吉水县| 长宁区|