Problem Descripion:

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


When you try to commit after configuring BGP import policy with set "next-hop" or "origin" option, you will see the below error:


Logs:

====


admin@B1-cli(config)% set routing-instances sub-org-Control-VR protocols bgp 1 routing-peer-policy Import-From-SDWAN-Policy term Allow action accept set-nexthop address 10.0.192.103
[ok][2018-09-21 13:10:50]

[edit]
admin@B1-cli(config)% commit
Aborted: Commit failed due to inconsistent configuration. Please report the following text to customer support.
Diagnostic string: bgpRouteMapEntry{1 1 4}/bgpRouteMapSeNext
[error][2018-09-21 13:10:56]


Soultion:

=======


We need to configure the match policy with family type when we configure action policy with next-hop or origin values.


admin@B1-cli(config)% set routing-instances sub-org-Control-VR protocols bgp 1 routing-peer-policy Import-From-SDWAN-Policy term Allow match family inet-vpn
[ok][2018-09-21 13:27:54]

[edit]
admin@B1-cli(config)% commit
Commit complete.
[ok][2018-09-21 13:27:56]