1.L1区域路由通告给L2时进行汇总
1)R2将49.0001的路由1.1.1.1/32同步到L2区域是汇总为1.1.1.1/24
<R3>display ip routing-table protocol isis
1.1.1.1/32 ISIS-L2 15 20 D 23.1.1.2 GigabitEthernet0/0/0
[R2]isis 1
[R2-isis-1]summary 1.1.1.1 255.255.255.0
<R3>display ip routing-table protocol isis
1.1.1.0/24 ISIS-L2 15 20 D 23.1.1.2 GigabitEthernet0/0/0
2.L2区域路由通告给L1时进行汇总
1)R2做路由泄露
[R2]acl 2002
[R2-acl-basic-2002]rule permit source 6.6.6.6 0
[R2]route-policy dsrw permit node 10
[R2-route-policy]if-match acl 2002
[R2]isis 1
[R2-isis-1]import-route isis level-2 into level-1 filter-policy route-policy dsrw
2)查看R1的ISIS路由信息
<R1>display ip routing-table protocol isis
6.6.6.6/32 ISIS-L1 15 50 D 12.1.1.2 GigabitEthernet0/0/1
[R2-isis-1]summary 6.6.6.6 255.255.255.0 level-1
<R1>display ip routing-table protocol isis
6.6.6.0/24 ISIS-L1 15 50 D 12.1.1.2 GigabitEthernet0/0/1
3)为了防止环路,在R2手动生成null0路由
[R2-isis-1]undo summary 6.6.6.0 255.255.255.0 level-1
[R2-isis-1]summary 1.1.1.1 255.255.255.0 generate_null0_route
[R2-isis-1]summary 6.6.6.6 255.255.0.0 level-1 generate_null0_route
[R2-isis-1]display ip routing-table protocol isis
1.1.1.0/24 ISIS-L2 255 0 D 0.0.0.0 NULL0
6.6.0.0/16 ISIS-L1 255 0 D 0.0.0.0 NULL0
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容