分享
 
 
 

配置实例:如何过滤ospf中的lsa3

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

ospf中的新特性,对ios的版本要求较高:

The OSPF ABR Type 3 LSA Filtering feature is supported for the following platforms in Cisco IOS

Release 12.2(4)T:

· Cisco 1400 series

· Cisco 1600 series

· Cisco 1600R series

· Cisco 1720

· Cisco 1721 (Supported in Cisco IOS Release 12.2(8)T and above.)

· Cisco 1750

· Cisco 1751

· Cisco 2500 series

· Cisco 2600 series

· Cisco 3620

· Cisco 3631 (Supported in Cisco IOS Release 12.2(8)T and above.)

· Cisco 3640

· Cisco 3745 (Supported in Cisco IOS Release 12.2(8)T and above.)

· Cisco 3660

· Cisco MC3810

· Cisco 7100 series

· Cisco 7200 series

· Cisco 7500 series (Supported in Cisco IOS Release 12.2(4)T3 and above.)

· Cisco uBR7200 series

· Universal Router Module (Supported in Cisco IOS Release 12.2(8)T.)

以下配置在abr上完成

配置步骤:

1、过滤进入某AREA的LSA3

Command Purpose

Router(config)# router ospf process-id

Configures the router to run an OSPF process.

Router(config-router)# area area-id filter-list prefiXPrefix-list-name in

Configures the router to filter interarea routes into the specified area.

Router(config-router)# ip prefix-list list-name [seq seq-value] deny permit network/len [ge ge-value] [le le-value]

Creates a prefix list with the name specified for thelist-name argument.

2、过滤从某AREA出去的LSA3

Router(config)# router ospf process-id

Configures the router to run an OSPF process.

Router(config-router)# area area-id filter-list prefix prefix-list-name out

Configures the router to filter interarea routes out of the specified area.

Router(config-router)# ip prefix-list list-name [seq seq-value] deny permit network/len [ge ge-value] [lele-value]

Creates a prefix list with the name specified for the list-name argument.

3、检查配置

router# show ip ospf 1

Routing Process "ospf 1" with ID 172.16.0.1

Supports only single TOS(TOS0) routes

Supports opaque LSA

It is an area border router

SPF schedule delay 5 secs, Hold time between two SPFs 10 secs

Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs

Number of external LSA 0. Checksum Sum 0x0

Number of opaque AS LSA 0. Checksum Sum 0x0

Number of DCbitless external and opaque AS LSA 0

Number of DoNotAge external and opaque AS LSA 0

Number of areas in this router is 2. 2 normal 0 stub 0 nssa

External flood list length 0

Area BACKBONE(0)

Number of interfaces in this area is 2

Area has no authentication

SPF algorithm executed 6 times

Area ranges are

10.0.0.0/8 Passive Advertise

Area-filter AREA_0_IN in

Area-filter AREA_0_OUT out

Number of LSA 5. Checksum Sum 0x29450

4、配置举例

Router(config)# router ospf 1

log-adjacency-changes

area 1 filter-list prefix AREA_1_OUT out

area 3 filter-list prefix AREA_3_IN in

network 10.0.0.0 0.255.255.255 area 3

network 172.16.1.0 0.0.0.255 area 0

network 192.168.0.0 0.255.255.255 area 1

!

ip prefix-list AREA_1_OUT seq 10 permit 10.25.0.0/8 ge 16

ip prefix-list AREA_1_OUT seq 20 permit 172.20.20.0/24

!

ip prefix-list AREA_3_IN seq 10 permit 172.31.0.0/16

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有