路由引入部署实施(OSPF ISIS)

ISIS(ASBR3 ,ASBR4,RR2,P2),OSPF(RR2,P2,PE3,PE4) ,在RR2上部署路由引入

代码如下:

ASBR3
isis 1
is-level level-2
cost-style wide
network-entity 49.0003.1720.1600.1007.00
interface g0/0
isis enable 1
isis cost 100
interface g0/1
isis enable 1
isis cost 1000
interface loopback 0
isis enable 1
exit

ASBR4
isis 1
is-level level-2
cost-style wide
network-entity 49.0003.1720.1600.1008.00
interface g0/0
isis enable 1
isis cost 100
interface g0/1
isis enable 1
isis cost 1000
interface loopback 0
isis enable 1
exit

RR2
isis 1
is-level level-2
cost-style wide
network-entity 49.0003.1720.1600.1009.00
interface g0/1
isis enable 1
isis cost 1000
interface g0/0
isis enable 1
isis cost 50
interface loopback 0
isis enable 1
exit

P2
isis 1
is-level level-2
cost-style wide
network-entity 49.0003.1720.1600.1010.00
interface g0/1
isis enable 1
isis cost 1000
interface g0/0
isis enable 1
isis cost 50
interface loopback 0
isis enable 1
exit

RR2
router id 172.16.1.9
ospf 1
area 0
network 100.10.79.0 0.0.0.3
network 100.10.90.0 0.0.0.3
network 100.10.91.0 0.0.0.3
network 172.16.1.9 0.0.0.0
exit
exit
ospf 1
silent-interface g0/1
exit
interface g0/0
ospf cost 10
interface g0/2
ospf cost 10

P2
router id 172.16.1.10
ospf 1
area 0
network 100.10.80.0 0.0.0.3
network 100.10.90.0 0.0.0.3
network 172.16.1.10 0.0.0.0
area 10
network 100.10.102.0 0.0.0.3
exit
exit
ospf 1
silent g0/1
exit
interface g0/0
ospf cost 10
interface g0/2
ospf cost 10

PE3
router id 172.16.1.11
ospf 1
area 0
network 100.10.91.0 0.0.0.3
area 10
network 100.10.112.0 0.0.0.3
network 100.20.11.0 0.0.0.255
network 100.20.22.0 0.0.0.255
network 172.16.1.11 0.0.0.0
exit
exit
ospf 1
silent g5/0
silent g5/1
exit
interface g0/0
ospf cost 100
interface g0/2
ospf cost 10
quit
interface g0/0 
ospf timer hello 15


PE4
router id 172.16.1.12
ospf 1
area 10
network 100.10.112.0 0.0.0.3
network 100.10.102.0 0.0.0.3
network 100.30.25.0 0.0.0.3
network 172.16.1.12 0.0.0.0
exit
exit
ospf 1
silent s1/0
exit
interface g0/0
ospf cost 100
interface g0/2
ospf cost 10
quit
interface g0/0 
ospf timer hello 15



RR2 ISIS中引入OSPF
isis 1
address-family ipv4
import-route ospf 1 inherit-cost
exit
exit

RR2 OSPF中引入ISIS
ospf 1
import-route isis 1 inherit-cost
exit

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值