Routing and link-state aggregation algorithms in high-speed networks