I have several virtualization servers that peer with my router via iBGP. I would like to send them ONLY 2 routes 204.89.189.0/24 and 204.117.64.0/24, but I must be missing something because I am sending a full table.
policy {
prefix-list Local-OUT {
rule 10 {
action permit
prefix 204.89.189.0/24
}
rule 11 {
action permit
prefix 204.117.64.0/24
}
rule 65535 {
action deny
prefix 0.0.0.0/0
}
}
route-map Local-OUT {
rule 10 {
action permit
match {
ip {
address {
prefix-list Local-OUT
}
}
}
}
rule 65535 {
action deny
}
}
}
protocols {
bgp 398334 {
address-family {
ipv4-unicast {
network 204.89.189.0/24 {
}
network 204.117.64.0/24 {
}
redistribute {
connected {
}
}
}
}
neighbor 172.24.255.14 {
password ****************
remote-as 64527
}
neighbor 204.89.189.3 {
remote-as 398334
}
neighbor 204.89.189.11 {
address-family {
ipv4-unicast {
route-map {
export Local-OUT
}
soft-reconfiguration {
inbound
}
}
}
remote-as 398334
}