contoh konfig bgp di frr dengan filter in/out
BACA INI DULU:
router bgp 500
bgp router-id 202.0.30.1
neighbor 172.16.10.1 remote-as 10
!
address-family ipv4 unicast
network 202.0.30.0/24
neighbor 172.16.10.1 soft-reconfiguration inbound
neighbor 172.16.10.1 route-map INBOUND_FILTER in
neighbor 172.16.10.1 route-map OUTBOUND_FILTER out
exit-address-family
exit
!
ip prefix-list ACCEPT_ALL seq 10 permit 0.0.0.0/0 le 32
ip prefix-list ANNOUNCE_ONLY seq 10 permit 202.0.30.0/24
!
route-map INBOUND_FILTER permit 10
match ip address prefix-list ACCEPT_ALL
exit
!
route-map OUTBOUND_FILTER permit 10
match ip address prefix-list ANNOUNCE_ONLY
exit
!