修改LSA的AD值 distance {value}{upaste-source}{wildcardbits}{acl} 更新源 通配符 88 show ip route 88.8.8.8 ip access-list standard 88 permit 88.8.8.8 show ip route ospf show ip protocols AD:管理距离,稳定性,值越小表示越稳定; 取值范围是 0 - 255; Metric:度量值,距离概念,值越小越好; router ospf 1 每个路由器都需修改; auto-cost reference-bandwidth 1000(单位是Mbit;) 更改某一个端口的cost; interface fas0/0 ip ospf cost {value}更改某一个端口的cost; show ip ospf interface fas0/0

3类LSA汇总 在产生被汇总的3类LSA的ABR上进行配置 配置完成以后,仅仅发送汇总之后的3类LSA,不发送明细LSA 并且会在本地形成一个针对汇总路由的Null0路由, 目的是为了实现防止数据转发环路的产生。 router ospf 1 area 12 range 10.10.0.0 255.255.0.0 [not-advertise] 默认动作是将汇总之后的LSA发送出去的; 也可以不发出去,从而实现 LSA过滤的效果。 show ip ospf show ip ospf database 5类LSA汇总 在产生5类LSA的 ASBR 上面操作: router ospf 1 summary-address 10.10.0.0 255.255.0.0