设为首页收藏本站

美丽的网站-英华家电维修论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 675|回复: 0
打印 上一主题 下一主题

PE的OSPF 设置

[复制链接]
跳转到指定楼层
楼主
发表于 2011-3-28 11:10:31 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
Router1(config)# inte***ce loopback 55     Router1(config-if)# ip vrf forwarding v1     Router1(config-if)# ip address 10.0.0.1 255.255.255.255     !   Router1(config)# router ospf 2 vrf v1     Router1(config-if)# log-adjacency-changes     Router1(config-if)# area 120 sham-link 10.0.0.1 10.44.0.1 cost 1     Router1(config-if)# redistribute bgp 1 subnets     Router1(config-if)# network 10.2.0.1 255.255.255.255 area 1     Router1(config-if)# network 10.120.0.0 0.255.255.255 area 120     Router1(config-if)# network 10.140.0.0 0.255.255.255 area 120     !   Router2(config)# inte***ce loopback 44     Router2(config-if)# ip vrf forwarding v1     Router2(config-if)# ip address 44.0.0.1 255.255.255.255     !   Router2(config)# router ospf 2 vrf v1     Router2(config-if)# log-adjacency-changes     Router2(config-if)# area 120 sham-link 10.44.0.1 10.0.0.1 cost 1     Router2(config-if)# redistribute bgp 1 subnets     Router2(config-if)# network 10.2.0.1 255.255.255.255 area 1     Router2(config-if)# network 10.120.0.0 0.255.255.255 area 120     Router2(config-if)# network 10.140.0.0 0.255.255.255 area 120
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|手机版|粤ICP备13038386号|粤ICP备13038386号|美丽的网站-英华家电维修论坛 ( 粤ICP备13038386号 )     站长邮箱 505966338@qq.com

GMT+8, 2025-6-29 02:01 , Processed in 0.157174 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表