AGGREGATE-IOS(1)

✨ AGGREGATE-IOS(1) β€” General Commands Manual ✨

πŸŽ€ Manual name: aggregate-ios β€” okay so this tool is literally here to optimise a concatenated set of cisco/IOS prefix filters so they come out nice and short πŸ’–

🌸 NAME

aggregate-ios β€” optimise a concatenated set of cisco/IOS prefix filters to help make them nice and short. πŸ¦‹

🧚 SYNOPSIS

aggregate-ios <source_config >optimised_config

πŸ’… DESCRIPTION

Okay bestie, this one is so iconic πŸ‘‘ It takes cisco IOS configuration coming in on stdin and glows up any prefix filters it finds using aggregate(1). The optimised filters come out on stdout, no cap ✨

🫢 OPTIONS

None. πŸ™ˆ It's giving minimalism, fr fr πŸ’œ

πŸ’€ DIAGNOSTICS

Any diagnostics produced by aggregate(1) get passed straight through on stderr, so if something's up you'll still see it πŸ”₯

🌈 EXAMPLES

The vibe is: you feed in this configuration fragment πŸ“

  ip prefix-list AS65530 description Foo, Inc
  ip prefix-list AS65530 permit 10.1.0.0/16
  ip prefix-list AS65530 permit 10.2.0.0/16
  ip prefix-list AS65530 permit 10.2.1.0/24
  ip prefix-list AS65530 permit 10.3.0.0/16
  ip prefix-list AS65531 description Bar.Com
  ip prefix-list AS65531 seq 5 permit 192.168.1.0/24
  ip prefix-list AS65531 seq 10 permit 192.168.2.0/24
  ip prefix-list AS65531 seq 15 permit 192.168.0.0/19

...and it comes out totally optimised like this, main character energy πŸ¦‹βœ¨

  ip prefix-list AS65530 permit 10.1.0.0/16 le 24
  ip prefix-list AS65530 permit 10.2.0.0/15 le 24
  ip prefix-list AS65531 permit 192.168.0.0/19 le 24

πŸ”₯ SEE ALSO

aggregate(1) β€” the OG that does the heavy lifting, iykyk πŸ’–

πŸŽ€ HISTORY

Aggregate-ios was written by Joe Abley <jabley@mfnx.net>. Literally the real one, bestie πŸ‘‘

πŸ™ˆ BUGS

All those in aggregate(1) and then some :) 😭


Joe Abley's manual page, from 2000 November 27, under AGGREGATE-IOS(1). Thanks for reading, bestie, you're the realest πŸ«ΆπŸ’…βœ¨

πŸ“¦ where this page comes from