BGP - exclude a network from learning

My other other end BGP peer advertises a lot of network, including my side local network. I want my end device to exclude one network from learning (like

Are there any BGP commands for this.

Edited TAGs
[edited by: Erick Jan at 5:34 AM (GMT -8) on 13 Nov 2023]
Parents Reply Children