You can use aggregate and summary-only.
policy-options {
policy-statement aggregate-export {
term 1 {
from {
route-filter xx.xx.xxx.0/25 exact;
route-filter xx.xx.xxx.128/25 exact;
}
then {
aggregate {
route xx.xx.xxx.0/24 {
summary-only;
}
}
accept;
}
}
}
}
------------------------------
Leo Chan
------------------------------
Original Message:
Sent: 01-30-2024 12:07
From: TRAVIS MOLLECK
Subject: BGP advertisement
Hello, I know this is doable. but for the life of me I can't remember how. Currently I have this for my BGP export policy statement, but I need to combine the two /25s into a /24 for advertisement.
term 1 {
from {
protocol direct;
route-filter xx.xx.xxx.0/25 exact;
route-filter xx.xx.xxx.128/25 exact;
------------------------------
TRAVIS MOLLECK
------------------------------