local routes not exported by default , but you can add this config to allow this. Then you will be able to add community to these routes via policy-statement
routing-options {
interface-routes {
family inet {
export {
lan;
}
}
}
}
------------------------------
Anatoliy
------------------------------