Both attributes (state and origin) are applicable to the subscriber management routes.
For example:
A service provider wants to advertise only subscriber management routes with the origin dynamic and AAA from the active node (SRRP master state). Routes with the LUDB origin are not advertised. The standby node is not advertising any /32 subscriber management routes.
policy-options
begin
policy-statement <name>
entry 1
from
origin dynamic
state ‛srrp-master’
exit
action accept
exit
exit
exit
entry 2
from
origin dynamic
state ‛srrp-master’
exit
action accept
exit
exit
Default action is reject.