自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

解析配置下發(fā)BGP和IS-IS缺省路由后下端業(yè)務(wù)故障

運(yùn)維 網(wǎng)絡(luò)運(yùn)維
本文主要向大家介紹了配置下發(fā)BGP和IS-IS缺省路由后下端業(yè)務(wù)故障的解決,希望大家能夠理解和掌握。

BGP會(huì)將BGP的直連路由下發(fā)到核心路由表,因此重分發(fā)BGP路由的時(shí)候,會(huì)重分發(fā)BGP的直連路由,下面就讓我們我們來看一下配置下發(fā)BGP和IS-IS缺省路由后下端業(yè)務(wù)故障的解決方法。

網(wǎng)絡(luò)環(huán)境

 

解析配置下發(fā)BGP和IS-IS缺省路由后下端業(yè)務(wù)故障

NE80-1、NE80-2、NE40-1和NE40-2四臺(tái)設(shè)備構(gòu)成口字形組網(wǎng)結(jié)構(gòu)。其中,NE80-1與NE80-2為Level-1-2路由器,NE40-1和NE40-2為Level-1路由器。

NE80-1為AS100的出口路由器,與AS200內(nèi)的路由器NETWORK之間運(yùn)行EBGP協(xié)議,在NE80-1和NE80-2上給NE40-1和NE40-2下發(fā)缺省路由后,出現(xiàn)路由環(huán)路。

故障分析

步驟 1 在NE80-1設(shè)備上執(zhí)行命令display bgp routing-table,檢查NE80-1的BGP路由表,有一條到NETWORK的BGP缺省路由,如下所示,說明BGP缺省路由下發(fā)成功。

  1. [NE80-1] display bgp routing-table  
  2.  
  3. Total Number of Routes: 1  
  4.  
  5. BGP Local router ID is 10.10.10.1  
  6.  
  7. Status codes: * - valid, > - best, d - damped,  
  8.  
  9. h - history, i - internal, s - suppressed, S - Stale  
  10.  
  11. Origin : i - IGP, e - EGP, ? - incomplete  
  12.  
  13. Network NextHop MED LocPrf PrefVal Path/Ogn  
  14.  
  15. * 0.0.0.0 10.10.10.2 0 0 200i 

步驟 2 在NE40-1和NE40-2上分別執(zhí)行命令display ip routing-table,檢查NE40-1和NE40-2的IP路由表,如下所示,NE40-1的缺省路由指向了NE80-1,NE40-2的缺省路由指向了NE80-2,說明NE80-1和NE80-2下發(fā)IS-IS缺省路由成功。

  1. [NE40-1-isis-1] display ip routing-table  
  2.  
  3. Route Flags: R - relay, D - download to fib  
  4.  
  5. ------------------------------------------------------------------------------  
  6.  
  7. Routing Tables: Public  
  8.  
  9. Destinations : 11 Routes : 11  
  10.  
  11. Destination/Mask Proto Pre Cost Flags NextHop Interface  
  12.  
  13.  
  14. 0.0.0.0/0 ISIS 15 10 D 2.2.2.1 Serial1/0/0  
  15.  
  16. 1.1.1.0/24 ISIS 15 20 D 2.2.2.1 Serial1/0/0  
  17.  
  18. 2.2.2.0/24 Direct 0 0 D 2.2.2.2 Serial1/0/0  
  19.  
  20. 2.2.2.1/32 Direct 0 0 D 2.2.2.1 Serial1/0/0  
  21.  
  22. 2.2.2.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  23.  
  24. 3.3.3.0/24 ISIS 15 20 D 4.4.4.2 Serial1/0/1  
  25.  
  26. 4.4.4.0/24 Direct 0 0 D 4.4.4.1 Serial1/0/1  
  27.  
  28. 4.4.4.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  29.  
  30. 4.4.4.2/32 Direct 0 0 D 4.4.4.2 Serial1/0/1  
  31.  
  32. 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0  
  33.  
  34. 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  35.  
  36. [NE40-2-isis-1] display ip routing-table  
  37.  
  38. Route Flags: R - relay, D - download to fib  
  39.  
  40. ------------------------------------------------------------------------------  
  41.  
  42. Routing Tables: Public  
  43.  
  44. Destinations : 11 Routes : 11  
  45.  
  46.  
  47. Destination/Mask Proto Pre Cost Flags NextHop Interface  
  48.  
  49. 0.0.0.0/0 ISIS 15 10 D 3.3.3.1 Serial1/0/0   
  50.  
  51. 1.1.1.0/24 ISIS 15 20 D 3.3.3.1 Serial1/0/0  
  52.  
  53. 2.2.2.0/24 ISIS 15 20 D 4.4.4.1 Serial1/0/1  
  54.  
  55. 3.3.3.0/24 Direct 0 0 D 3.3.3.2 Serial1/0/0  
  56.  
  57. 3.3.3.1/32 Direct 0 0 D 3.3.3.1 Serial1/0/0  
  58.  
  59. 3.3.3.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  60.  
  61. 4.4.4.0/24 Direct 0 0 D 4.4.4.2 Serial1/0/1  
  62.  
  63. 4.4.4.1/32 Direct 0 0 D 4.4.4.1 Serial1/0/1   
  64.  
  65. 4.4.4.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  66.  
  67. 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0  
  68.  
  69. 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0 

#p#

步驟 3 在NE80-1和NE80-2上分別執(zhí)行命令display ip routing-table,檢查NE80-1和NE80-2的IP路由表,如下所示,發(fā)現(xiàn)NE80-1的缺省路由指向了NE80-2,NE80-2的缺省路由指向了NE80-1,形成了路由環(huán)路。

  1. <NE80-1> display ip routing-table  
  2.  
  3. Route Flags: R - relay, D - download to fib  
  4.  
  5. ------------------------------------------------------------------------------  
  6.  
  7. Routing Tables: Public  
  8.  
  9. Destinations : 14 Routes : 14  
  10.  
  11. Destination/Mask Proto Pre Cost Flags NextHop Interface  
  12.  
  13. 0.0.0.0/0 ISIS 15 10 D 1.1.1.2 Serial1/0/1  
  14.  
  15. 1.1.1.0/24 Direct 0 0 D 1.1.1.1 Serial1/0/1  
  16.  
  17. 1.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  18.  
  19. 1.1.1.2/32 Direct 0 0 D 1.1.1.2 Serial1/0/1  
  20.  
  21. 2.2.2.0/24 Direct 0 0 D 2.2.2.1 Serial1/0/2  
  22.  
  23. 2.2.2.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  24.  
  25. 2.2.2.2/32 Direct 0 0 D 2.2.2.2 Serial1/0/2  
  26.  
  27. 3.3.3.0/24 ISIS 15 20 D 1.1.1.2 Serial1/0/1  
  28.  
  29. 4.4.4.0/24 ISIS 15 20 D 2.2.2.2 Serial1/0/2  
  30.  
  31. 10.10.10.0/24 Direct 0 0 D 10.10.10.1 Serial1/0/0  
  32.  
  33. 10.10.10.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  34.  
  35. 10.10.10.2/32 Direct 0 0 D 10.10.10.2 Serial1/0/0  
  36.  
  37. 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0  
  38.  
  39. 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  40.  
  41. [NE80-2] dislay ip routing-table  
  42.  
  43. Route Flags: R - relay, D - download to fib  
  44.  
  45. ------------------------------------------------------------------------------  
  46.  
  47. Routing Tables: Public  
  48.  
  49. Destinations : 11 Routes : 11  
  50.  
  51. Destination/Mask Proto Pre Cost Flags NextHop Interface  
  52.  
  53. 0.0.0.0/0 ISIS 15 10 D 1.1.1.1 Serial1/0/0  
  54.  
  55. 1.1.1.0/24 Direct 0 0 D 1.1.1.2 Serial1/0/0  
  56.  
  57. 1.1.1.1/32 Direct 0 0 D 1.1.1.1 Serial1/0/0  
  58.  
  59. 1.1.1.2/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  60.  
  61. 2.2.2.0/24 ISIS 15 20 D 1.1.1.1 Serial1/0/0  
  62.  
  63. 3.3.3.0/24 Direct 0 0 D 3.3.3.1 Serial1/0/1  
  64.  
  65. 3.3.3.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  66.  
  67. 3.3.3.2/32 Direct 0 0 D 3.3.3.2 Serial1/0/1  
  68.  
  69. 4.4.4.0/24 ISIS 15 20 D 3.3.3.2 Serial1/0/1  
  70.  
  71. 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0  
  72.  
  73. 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0 

步驟 4 雖然上行設(shè)備通過EBGP給NE80-1下發(fā)了BGP缺省路由,但BGP協(xié)議的優(yōu)先級比IS-IS協(xié)議的優(yōu)先級低(BGP的優(yōu)先級默認(rèn)為255而IS-IS是10),所以,又將缺省路由的下一跳指向了NE80-2,這樣就形成了路由環(huán)路。

#p#

處理步驟

在NE80-2設(shè)備上執(zhí)行命令undo default-route-advertise將下發(fā)的缺省路由去除后,NE80-1上執(zhí)行命令display ip routing-table,可以看到NE80-1的缺省路由的下一跳已經(jīng)變?yōu)?0.10.10.2,該路由環(huán)路被解除,如下所示。

  1. [RouterA] display ip routing-table  
  2.  
  3. Route Flags: R - relay, D - download to fib  
  4.  
  5. ------------------------------------------------------------------------------  
  6.  
  7. Routing Tables: Public  
  8.  
  9. Destinations : 14 Routes : 14  
  10.  
  11. Destination/Mask Proto Pre Cost Flags NextHop Interface  
  12.  
  13. 0.0.0.0/0 BGP 255 0 D 10.10.10.2 Serial1/0/0  
  14.  
  15. 1.1.1.0/24 Direct 0 0 D 1.1.1.1 Serial1/0/1  
  16.  
  17. 1.1.1.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  18.  
  19. 1.1.1.2/32 Direct 0 0 D 1.1.1.2 Serial1/0/1  
  20.  
  21. 2.2.2.0/24 Direct 0 0 D 2.2.2.1 Serial1/0/2  
  22.  
  23. 2.2.2.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  24.  
  25. 2.2.2.2/32 Direct 0 0 D 2.2.2.2 Serial1/0/2  
  26.  
  27. 3.3.3.0/24 ISIS 15 20 D 1.1.1.2 Serial1/0/1  
  28.  
  29. 4.4.4.0/24 ISIS 15 20 D 2.2.2.2 Serial1/0/2  
  30.  
  31. 10.10.10.0/24 Direct 0 0 D 10.10.10.1 Serial1/0/0  
  32.  
  33. 10.10.10.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0  
  34.  
  35. 10.10.10.2/32 Direct 0 0 D 10.10.10.2 Serial1/0/0  
  36.  
  37. 127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0  
  38.  
  39. 127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0 

 案例總結(jié)

對于不同的協(xié)議來說,路由的優(yōu)先級是有區(qū)別的,配置缺省路由時(shí)要注意避免出現(xiàn)因路由協(xié)議優(yōu)先級而造成的路由環(huán)路,尤其是配置IS-IS路由時(shí)。

【編輯推薦】

  1. 路由器故障:策略路由配置不生效 
  2. 路由器故障:POS接口修改MTU值無法生效
  3. 路由器故障:POS接口無法收到對端的報(bào)文
  4. 路由器故障:ACL反掩碼配置錯(cuò)誤 策略路由失效
  5. 路由器故障:MP Group成員接口狀態(tài)頻繁Up/Down  
責(zé)任編輯:佚名 來源: 51CTO
相關(guān)推薦

2011-05-11 14:08:05

路由IS-IS

2011-04-08 17:22:40

路由

2011-05-11 14:28:31

IS-IS路由IP-Trunk

2011-05-11 14:37:41

IS-IS路由

2011-05-11 14:23:07

路由IS-IS

2011-08-23 09:54:26

路由BGP

2011-03-17 16:52:50

路由器故障

2023-12-10 17:02:34

2010-06-21 17:33:38

IS-IS路由協(xié)議

2011-03-17 17:09:54

2011-04-11 16:04:38

BGPOSPF

2011-06-07 11:30:31

路由

2011-03-14 17:26:29

BGP

2010-06-11 14:42:01

IS-IS路由協(xié)議

2011-04-15 10:01:39

2010-06-11 14:51:34

IS-IS路由協(xié)議

2011-04-08 09:27:06

路由反射器

2011-04-08 18:01:58

路由

2013-08-08 09:38:34

OSPF協(xié)議OSPF

2011-04-08 09:26:53

BGP路由器
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)