Print Download PDF Send Feedback

Previous

Next

Example 1

Redistribute interface route for eth3 into OSPF, and set the OSPF route-type to AS type-2 with cost 20:

set routemap direct-to-ospf id 10 on

set routemap direct-to-ospf id 10 match interface eth3

set routemap direct-to-ospf id 10 match protocol direct

set routemap direct-to-ospf id 10 action route-type type-2

set routemap direct-to-ospf id 10 action metric value 20

set ospf export-routemap direct-to-ospf preference 1 on