The no-export and no-advertise community instructs the neighbor whether to either advertise it to internal bgp peers or external ebgp peers.
Hence this is shown on the neighbor and not on the router setting it
HTH, rate if it does
Narayan
Getting Started
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: