ospf 重分发静态
来源:互联网 发布:数据新闻相关的比赛 编辑:程序博客网 时间:2024/04/29 07:42
R1 与 R2 之间是 OSPF,
R2与R3是静态
R2是ABR,重分发静态路由,并使用route-map进行控制
这里注意的是route-map的写发
另注意route-map中的相关策略只能对已经存在的具体的路由进行。如果是静态中的一个子网等,不能生效,只能重新在增加这个静态,
R3
ip route 0.0.0.0 0.0.0.0 172.31.12.254
R2
router ospf 100
log-adjacency-changes
redistribute static subnets route-map s2o
network 10.228.1.0 0.0.0.255 area 0
network 10.228.2.0 0.0.0.255 area 0
!
no ip http server
ip route 172.31.0.0 255.255.240.0 172.31.12.253
ip route 172.31.10.0 255.255.255.0 172.31.12.253
!
!
!
!
ip prefix-list s2o seq 15 permit 172.31.10.0/24
!
route-map s2o permit 10
match ip address prefix-list s2o
R1
router ospf 100
log-adjacency-changes
network 10.228.0.0 0.0.0.255 area 0
network 10.228.1.0 0.0.0.255 area 0
R1#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
172.31.0.0/24 is subnetted, 1 subnets
O E2 172.31.10.0 [110/20] via 10.228.1.2, 00:09:12, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
O 10.228.2.0 [110/2] via 10.228.1.2, 03:24:24, FastEthernet0/0
C 10.228.0.0 is directly connected, Vlan1
C 10.228.1.0 is directly connected, FastEthernet0/0
- ospf 重分发静态
- ospf与其他路由协议重分发的默认表现
- 重分发中的无类路由到有类路由ospf-rip
- 路由重分发、路由过滤方法及难点总结(EIGRP、OSPF实例)(
- 关于OSPF的分发列表
- OSPF系列:distribute-list分发列表
- junos静态及ospf配置
- 路由重分发
- 路由重分发
- 重分发总结
- 路由重分发
- ospf eigrp重分布和负载均衡
- CCNP-双向重分布-OSPF&rip实验
- ospf
- ospf
- ospf
- OSPF
- ospf
- mysql 数据库目录迁移
- Android UI系列-----ImageView的scaleType属性
- 依赖注入4
- db2数据库重定向恢复整理
- 依赖注入6
- ospf 重分发静态
- Cocos2dx 3.0 std::bind与CC_CALLBACK
- 图文讲解:iOS App提交流程
- Common Logging & log4net
- Android系统自带的部分常用样式(android:theme)
- linux文件系统
- iphone开发常用代码
- 即兴发言,你不可不知“三”点秘密
- 相当不错的批量处理iLogic规则的工具