Page 1 of 1

How to edit the OSPF preference under policy

Posted: 26 Feb 2017 06:32
by almagdob2002
Hi ,

I have the policy below and I am using this policy under VRPN , the default OSPF metric that coming from CE is 110 , how to edit this preference
policy-statement "from_mbgp_to_ospf"
entry 10
from
protocol bgp-vpn
exit
to
protocol ospf
exit
action accept
exit
exit
exit

VRRN 3
description "Internet VPN Service"
vrf-import "Internet Service import"
vrf-export "Internet Service export"
ecmp 4

interface "to-CE" create
address X,X,X,X/30

no shutdown
exit
exit
ospf
export "from_mbgp_to_ospf"
import "Internet Service export"
area 0.0.0.0
interface "to-CE"
interface-type point-to-point
no shutdown
exit