To add an arbitrary cost to received RIP routes, use the set protocols rip interface vif address metric command in L2/L3 configuration mode.
set protocols rip interface interface-name vif vif-name address ip-address metric cost
|vif-name||Virtual interface name.|
|ip-address||Interface IP address used for RIP.|
|cost||Cost assigned to routes received. The range is 0-16.|
The following example configures 1 as the cost added to routes received by RIP: