Thank you for your reply. I found it to be very helpful. I think I am missing something though. I did this routemap just for a test:
set routemap bgp-in-65534 id 10 on
set routemap bgp-in-65534 id 10 restrict
set routemap bgp-in-65534 id 10 match network 10.0.0.0/8 all
However, when I do a show configuration my set command is commented out as shown below. I believe this is my problem. Have you ever seen this?
## The following items are listed under their respective command sets
## (e.g. "set bgp") and are displayed here for informational purposes:
# set bgp external remote-as 65534 import-routemap bgp-in-65534 preference 10 on
Therefore I am still getting advertisements, but they are still inactive/hidden. See some show commands below.
FW01> show route exact 10.21.6.0/24
Codes: C - Connected, S - Static, R - RIP, B - BGP (D - Default),
O - OSPF IntraArea (IA - InterArea, E - External, N - NSSA)
A - Aggregate, K - Kernel Remnant, H - Hidden, P - Suppressed,
U - Unreachable, i - Inactive
FW01> show route bgp detailed
FW01> show bgp peer 172.31.31.74 received
IPv4 Route MED LocalPref Nexthop Communities
10.1.4/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.1.5/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.1.8/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.1.9/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.1/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.4.4/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.4.6/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.4.8/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.4.9/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.4/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.5.2/24 None N/A (eBGP) 172.31.31.74 8009:8009
10.5.4/24 None N/A (eBGP) 172.31.31.74 8009:8009
FW01> show route all
Codes: C - Connected, S - Static, R - RIP, B - BGP (D - Default),
O - OSPF IntraArea (IA - InterArea, E - External, N - NSSA),
A - Aggregate, K - Kernel Remnant, H - Hidden, P - Suppressed,
U - Unreachable, i - Inactive
S 0.0.0.0/0 via 8.9.10.11, eth1, cost 0, age 560686
C 1.1.1.0/30 is directly connected, bond1
Bond FW01
B H i 10.1.4.0/24 via 172.31.31.74, eth2, cost None, age 931
SDWan BGP
B H i 10.1.4.0/24 via 172.31.31.73, eth2, cost None, age 931
SDWan BGP
B H i 10.1.5.0/24 via 172.31.31.74, eth2, cost None, age 931
SDWan BGP
B H i 10.1.5.0/24 via 172.31.31.73, eth2, cost None, age 931
SDWan BGP
B H i 10.1.8.0/24 via 172.31.31.74, eth2, cost None, age 931
SDWan BGP