cisco ospf配置

ip prefix-list lan-network seq 5 permit 10.0.0.0/8 le 32
ip prefix-list lan-network seq 10 permit 172.16.0.0/12 le 32

route-map ospf-redist-static deny 100
match tag 1111
route-map ospf-redist-static permit 110
description accept all
set metric-type type-1

router ospf 10
router-id 172.16.9.8
area 100 authentication message-digest
redistribute connected metric-type 1 subnets
redistribute static metric 30 metric-type 1 subnets route-map ospf-redist-static
network 172.16.255.18 0.0.0.0 area 100
network 172.16.255.29 0.0.0.0 area 100
distribute-list prefix deny-public-network out
distribute-list prefix deny-public-network in
!

posted @ 2020-03-16 13:55  Me-lihu  阅读(2)  评论(0编辑  收藏  举报