正在加载图片...
OSPF: open shortest path first protocol(a kind of interior gateway)use to distrubute routing information within a single autonomous system OSPF cost=带宽/100M(也可以强行设置 ip ospf cost< value>) OSPF中area0作为 backbone routes that are generated from within an area( the destination belongs to the area) are called intra-area routes 这类路由在路由表中用O表示 routes that originate from other areas are called inter-area or summary routes 这类路由在路由表中用OIA表示 routes that originate from other routing protocols(or different ospf process )and that are inject into ospf via redistribution are called external routes 这类路由在路由表中用OE1或OE2表示 E1、E2( external typel& external type2)是计算cost的两种方法,E2只计算 ASBR与外部之间的cost,El还要加上ospf内部的cost),缺省为E2 1. Enable ospf on router router OSPF <process-id> network <network or ip address> <mask> <area-id>(mask contain wild card bits where 0 is match and 1 is"don 't care"bit) 例: router 100 nework l92.213.0.00.0.255.255aea0.0.0.0 nework 128. 213. .10.0.0.0 area 23 2. OSPF Authentication Null authentication, simple password authentication message digest authentication(MD5) (1)Simple Authentication: ip ospf authentica tion-key <key>(this go under the specif ic interface) router ospf <process-id>) 例 interface Ethernet 0 ip address0.10.10.10255.25255.0 ip ospf authentication-key mypassword router ospf 100 network 10.10.000.0.255 255 area 0 0 authentication (2)MD5 authentication: ip ospf message-digest-key <key-id> md5 <key>(use⚫ OSPF : open shortest path first protocol(a kind of interior gateway) use to distrubute routing information within a single autonomous system ⚫ OSPF cost=带宽/100M (也可以强行设置 ip ospf cost <value>) ⚫ OSPF 中 area 0 作为 backbone ⚫ routes that are generated from within an area ( the destination belongs to the area) are called intra-area routes. 这类路由在路由表中用 O 表示 ⚫ routes that originate from other areas are called inter-area or summary routes. 这类路由在路由表中用 O IA 表示 ⚫ 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 <process-id> network <network or ip address> <mask> <area-id> (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 23 2. OSPF Authentication Null authentication 、 simple password authentication 、 message digest authentication(MD5) (1)Simple Authentication: ip ospf authentication-key <key>(this go under the specific interface) area <area-id> authentication (this go under "router ospf <process-id>) 例: 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 <key-id> md5 <key> (use
向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有