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

Cisco路由重分配

網(wǎng)絡(luò) 路由交換
路由器是我們常用的網(wǎng)絡(luò)設(shè)備,在我們使用的時(shí)候,對(duì)于路由重分配要怎樣進(jìn)行配置呢?具體的操作步驟是什么呢?下面的文章講給你詳細(xì)的解答。

本文主要從路由缺省管理,Ospf 與eigrp rip間的重分配等方面詳細(xì)的向大家介紹了如何進(jìn)行路由器重分配,相信看過此文會(huì)對(duì)你有所幫助。

Cisco路由缺省的管理距離(AD)

直連接口
0
OSPF
110
*靜態(tài)路由
1
IS-IS
115
EIGRP匯總路由
5
RIP
120
外部BGP
20
EGP
140
EIGRP
90
外部EIGRP
170
IGRP
100
內(nèi)部BGP
200
*靜態(tài)路由使用接口替代下一跳地址時(shí),目的網(wǎng)絡(luò)被認(rèn)為是直連網(wǎng)絡(luò),即管理距離為0

RIP
其它路由分配進(jìn)其中時(shí),默認(rèn)為無限大
EIGRP
其它路由分配進(jìn)其中時(shí),默認(rèn)為無限大
OSPF
其它路由分配進(jìn)其中時(shí),默認(rèn)為20;除了BGP1
IS-IS
其它路由分配進(jìn)其中時(shí),默認(rèn)為0
BGP
其它路由分配進(jìn)其中時(shí),默認(rèn)為IGP本身metric

  Ospf 與eigrp rip間的重分配:

  (config)#router ospf 1

  (config-router)#redistribute eigrp 100 metric 30 metric-type 1 subnets

  (config-router)# redistribute rip subnets

  注:subnets參數(shù)為重分配子網(wǎng),不加即只重分配主類地址

  (config)#router eigrp 100

  (config-router)#redistribute ospf 1 metric  10000   100   255      1    1500

  Bandwidth   delay   reliability   loading    mtu

  (config-router)#redistribute rip metric 10000  100  255  1  1500

  注:分配進(jìn)eigrp的metric可固定為10000 100 255 1 1500

  (config)#router rip

  (config-router)#redistribute eigrp 100 metric 2

  (config-router)# redistribute ospf 1 metric 2

  注:rip以跳數(shù)作度量,最大為15跳

  多進(jìn)程的EIGRP與ospf間的重分配配

  (config)#router ospf 1

  (config-router)#redistribute eigrp 100  metric-type 1 subnets

  (config-router)# redistribute eigrp 200 subnets

  (config-router)#default-metric 30

  Default-metric的作用是在用redistribute時(shí)沒有指定metric時(shí),為所有路由指定度量

  (config)#router eigrp 100

  (config-router)# redistribute eigrp 200

  (config-router)# redistribute ospf 1 10000 100 255 1 1500

  (config)#router eigrp 200

  (config-router)# redistribute eigrp 100

  (config-router)# redistribute ospf 1 10000 100 255 1 1500

  注:不同的eigrp自治系統(tǒng)間,都有著自己獨(dú)立的數(shù)據(jù)庫(kù),所以它們這間路由的學(xué)習(xí)須重分配

  IS-IS與RIP間的分配

  (config)#router rip

  (config-router)#redistribute isis level-1-2 metric 2  (isis須指定級(jí)別)

  (config)#router isis

  (config-router)#net 49.00001.0000.0123.0011.00

  (config-router)#redistribute rip metric 5 metric-type internal/external level -2

  注:isis重分配metric-type 內(nèi)部和外部,度量起始值不同。默認(rèn)為內(nèi)部類型,從基數(shù)0開始,外部從基數(shù)64開始!上面為internal,則metric為5。當(dāng)為external,metric為64+5=69,若沒指定metric,則為64!

  靜態(tài)路由,直連網(wǎng)絡(luò)的重分配

  (config)#router rip

  (config-router)#redistribute connected metric 1

  (config)#router rip

  (config-router)#redistribute static metric 1

  (config)#ip route 10.1.2.0 255.255.255.0 10.1.4.1

  (config)#ip route 10.1.2.0 255.255.255.0 null 0

  注: 作為無類別的路由重分配到有類網(wǎng)絡(luò)rip時(shí),與其接口掩碼不一致,致使10.1.2.160/28 10.1.2.224/28無法被重分配,而此時(shí)用靜態(tài)路由作匯總地址10.1.2.0/24作為通告,重分配進(jìn)rip.

  匯總地址都有一條路由指向空接口,以避免環(huán)路,所以此時(shí)也應(yīng)添加一條指向null 0的路由!

【編輯推薦】

  1. 常用思科路由器密碼恢復(fù)經(jīng)典案例
  2. 思科路由器口令恢復(fù)辦法全解
  3. 思科路由器安全性管理
  4. cisco路由器配置ACL詳解
  5. cisco路由器啟動(dòng)進(jìn)程
責(zé)任編輯:chenqingxiang 來源: itmop
相關(guān)推薦

2010-08-04 09:57:28

路由器

2009-09-16 14:45:53

CCNA重難點(diǎn)

2011-08-11 15:24:51

2011-04-08 10:37:41

靜態(tài)路由路由器

2009-04-14 09:48:00

cisco路由器配置

2010-09-29 14:30:54

Cisco路由DHCP

2009-12-17 14:22:42

2010-08-03 11:23:30

路由器

2009-11-26 11:25:25

Cisco路由器配置

2010-08-13 09:08:11

CISCO配置

2010-08-26 09:55:25

Cisco路由器DHCP

2010-08-03 10:24:34

路由器

2010-08-04 08:47:45

2010-07-30 16:38:10

路由器網(wǎng)絡(luò)

2009-11-23 17:25:44

Cisco路由器端口

2010-06-11 16:50:27

路由選擇協(xié)議

2011-04-07 10:35:11

路由

2011-04-07 10:51:57

路由

2011-04-07 10:35:37

路由

2011-04-01 16:03:18

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

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