Hi,
my config looks like this:
set routing-instances VR_Office routing-options static route 10.14.0.0/16 next-hop 10.181.101.249
set routing-instances VR_Office routing-options static route 10.14.0.0/16 tag 513
set routing-instances VR_Office protocols ospf export export-static-tag-513
set policy-options policy-statement export-static-tag-513 term term-1 from protocol static
set policy-options policy-statement export-static-tag-513 term term-1 from tag 513
set policy-options policy-statement export-static-tag-513 term term-1 then accept
set policy-options policy-statement export-static-tag-513 then reject
I can see the static route in the respective routing table:
{master}
router> show route table VR_Office.inet.0 10.14.0.0/16 detail
VR_Office.inet.0: 3264 destinations, 3264 routes (3264 active, 0 holddown, 0 hidden)
10.14.0.0/16 (1 entry, 1 announced)
*Static Preference: 5
Next hop type: Router, Next hop index: 10384
Address: 0xaf7e234
Next-hop reference count: 7
Next hop: 10.181.101.249 via irb.101, selected
Session Id: 0x28
State: <Active Int Ext>
Age: 25:50
Validation State: unverified
Tag: 513
Task: RT
Announcement bits (3): 0-RT 2-KRT 3-Resolve tree 4
AS path: I
AS path: Recorded
{master}
router>
But it does not appear in the ospf database:
{master}
router> show ospf database instance VR_Office | grep 10.14.0.0
{master}
router>
What am I missing?
Thx,
Stefan
#mx#virtual-router#Export#static#VR#ospf