开云手机版登录入口

标题: ospf [打印本页]

作者: 深蓝宝石    时间: 2004-4-8 18:57
标题: ospf
l OSPF : open shortest path first protocol(a kind of interior gateway) use to distrubute routing information within a single autonomous systeml OSPF cost=带宽/100M (也可以强行设置 ip ospf cost <&#118alue>)l OSPF 中area 0 作为backbonel routes that are generated from within an area ( the destination belongs to the area) are called intra-area routes. 这类路由在路由表中用O表示l routes that originate from other areas are called inter-area or summary routes. 这类路由在路由表中用O IA表示 l routes that originate from other routing protocols (or different ospf process ) and that are inject into ospf via redistribution are called external routes. 这类路由在路由表中用O E1 或O E2表示 E1、E2(external type1&external type 2)是计算cost的两种方法,E2只计算ASBR与外部之间的cost,E1还要加上ospf内部的cost), 缺省为E2 1. Enable OSPF on router router OSPF network (mask contain wild card bits where 0 is match and 1 is "don't care" bit) 例: router ospf 100 network 192.213.0.0 0.0.255.255 area 0.0.0.0 network 128.213.1.1 0.0.0.0 area 232. OSPF Authentication Null authentication、simple password authentication、message digest authentication(MD5) (1)Simple Authentication: ip ospf authentication-key (this go under the specific interface) area authentication (this go under "router ospf ) 例: interface Ethernet 0 ip address 10.10.10.10 255.255.255.0 ip ospf authentication-key mypassword router ospf 100 network 10.10.0.0 0.0.255.255 area 0 area 0 authentication (2)MD5 authentication: ip ospf message-digest-key md5 (use under the interface) area authentication message-digest (use under "router ospf ) 例: interface ethernet 0 ip address 10.10.10.10 255.255.255.0 ip ospf message-digest-key 10 md5 mypassword router ospf 100 network 10.10.0.0 0.0.255.255 area 0 area 0 authentication message-digest 3. virtual link (use for two purpose : a. link an area that does not have a physical connection to the backbone b. patching the backbone in case discontinuity of area 0 occurs) area virtual-link (area-id 是作为传输的area号,即做virtual link的两个area之间的area, RID是做virtual link 的两个路由器的id ,一般是路由器上最大的ip address或最大的loopback地址) 例: 路由器RTA 地址为1.1.1.1 在area 1 中, 路由器RTB 地址为2.2.2.2 在area 0 中, area0 和area1 通过area 2 做virtual link. RTA# router ospf 100 area 2 virtual-link 2.2.2.2 RTB# router ospf 100 area 2 virtual-link 1.1.1.1 4. Adjacencies: ip ospf hello-interval ip ospf dead-interval ip ospf priority <&#118alue> (&#118alue 值缺省为1,设为0则该路由器不为DR、BDR) sh ip ospf interface <interface>, sh ip ospf neighbor 验证 &nb<hr noshade size="2" width="100%" color="#808080"> <b>作者: </b>雷讯&nbsp; &nbsp; <b>时间: </b>2004-4-8 19:02<br /> <b>标题: </b>re:慢慢消化<br />慢慢消化<hr noshade size="2" width="100%" color="#808080"> <b>作者: </b>crazylfs&nbsp; &nbsp; <b>时间: </b>2005-11-17 20:57<br /> <b>标题: </b>re:慢慢消化<br />眼晕 <br /><br /><br /><br /><hr noshade size="2" width="100%" color="BORDERCOLOR"> <table cellspacing="0" cellpadding="0" border="0" width="95%" align="center" style="font-size: SMFONTSIZE; font-family: SMFONT"> <tr><td>欢迎光临 开云手机版登录入口 (/)</td> <td align="right"> Powered by Discuz! X3.4</td></tr></table> <div class='link'> <a href='http://www.hardwiremarketing.com'>开云足球_开云(中国)</a> | <a href='http://www.trackingcourieronline.com'>KY.COM-开元(中国)</a> | <a href='http://www.sneijder-delicate.com'>九游平台-九游(中国)</a> | <a href='http://www.22africa.com'>九游平台-九游(中国)</a> | <a href='http://www.vietnetmedia.com'>KY.COM-开云(中国)</a> | <a href='http://www.5ivefilms.com'>开云网页版登录入口-开云(中国)</a> | <a href='http://www.soskod.com'>星空网页版登录入口_星空(中国)</a> | <a href='http://www.amritaakhouri.com'>九州·体育(中国)官方网站-JIUZHOU SPORTS</a> | <a href='http://www.tropicalfishparadise.com'>KY.COM-开元(中国)</a> | </div> </body> </html>