I have total 5 Autonomous system ( AS) in my lab, AS1--> AS2-->AS3-->AS4-->AS5, i am publish my network 172.168.1.1 from AS1 using bgp network command, but i don't want to publish in AS4, how i want to use BGP community concept, how i can do ?
You can use the no-export community on AS2 towards AS3. AS3 will receive the route but it won't advertise it towards AS4.
However, AS5 won't receive this route either per your inline diagram information.
Regards,
Edison
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: