[color=#ffffff]I have a question about advertised routes in bgp, i have a /21 prefix and need advertise the 8 /24. I set le 24 in prefix-list but still announcing the entire /21. Someone might help ?[/color]
prefix-list MY-PREFIX {
rule 1 {
action permit
le 24
prefix XXX.XXX.XXX.0/21
}
}
route-map OUT {
rule 1 {
action permit
match {
ip {
address {
prefix-list MY-PREFIX
}
}
}
}
rule 500 {
action deny
}
}
}
protocols {
bgp MYASN {
neighbor XXX.XXX.XXX.XXX {
remote-as XXXX
route-map {
export OUT
}
update-source eth1
}
network XXX.XXX.XXX.0/21 {
}