Anyone can help with OSPF redistribution ?

Latest reply: Jan 8, 2019 12:27:52 611 3 0 0
Hello guys,
i'll change a cisco 6500 with a Huawei s7700 and i want help with the commands in redistribution with the prefix lists.How can translate it in the Huawei cli?This is partial config from cisco.

=============================================================================

router ospf 100
 router-id 10.31.20.1
 log-adjacency-changes detail
 redistribute connected subnets route-map connected2ospf
 redistribute static subnets route-map static2ospf

 
route-map connected2ospf permit 100
 set metric 20
 set metric-type type-2

route-map static2ospf deny 30
 match ip address prefix-list pos-loopbacks
ip prefix-list pos-loopbacks seq 5 permit 172.28.0.30/31 ge 32
ip prefix-list pos-loopbacks seq 10 permit 172.28.1.130/31 ge 32

====================================================

Thanks in advance.Giorgos
This post was last edited by george2018 at 2018-11-27 09:06.
  • x
  • convention:

faysalji
Created Nov 28, 2018 07:41:45 Helpful(0) Helpful(0)

Hope someone can help you soon.
  • x
  • convention:

If you think my post/reply is useful, please click the Helpful button and flag my post as a BEST ANSWER. Thanks
yiyi0519
Created Dec 19, 2018 03:02:46 Helpful(2) Helpful(2)

ospf 100 router-id 10.31.20.1
import-route direct route-policy connected2ospf
import-route static route-policy static2ospf
#
route-policy connected2ospf permit node 100
apply cost 20
apply cost-type type-2
#
route-policy static2ospf deny node 30
if-match ip-prefix pos-loopbacks
#
ip ip-prefix pos-loopbacks index 5 permit 172.28.0.30 31 greater-equal 32
ip ip-prefix pos-loopbacks index 10 permit 172.28.1.130 31 greater-equal 32
#
  • x
  • convention:

george2018
Created Jan 8, 2019 12:27:52 Helpful(0) Helpful(0)

Thanks
I 've made the changes

george
This post was last edited by george2018 at 2019-01-08 12:29.
  • x
  • convention:

Comment

Reply
You need to log in to reply to the post Login | Register

Notice Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login