AGGREGATE-IOS(1) General Commands Manual AGGREGATE-IOS(1)

# [NAME](#NAME)

**aggregate-ios** - optimise a concatenated set of cisco/IOS prefix filters to help make them nice and short.

# [SYNOPSIS](#SYNOPSIS)

**aggregate-ios &lt;source\_config &gt;optimised\_config**

# [DESCRIPTION](#DESCRIPTION)

Takes cisco IOS configuration on stdin, and optimises any prefix filters found using **[aggregate(1)](/man/os/aggregate/aggregate.1).** Optimised filters are produced on stdout.

# [OPTIONS](#OPTIONS)

None.

# [DIAGNOSTICS](#DIAGNOSTICS)

Any diagnostics produced by [**aggregate(1)**](/man/os/aggregate/aggregate.1) are passed through on stderr.

# [EXAMPLES](#EXAMPLES)

The following 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**

is optimised as follows:

**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](#SEE_ALSO)

[aggregate(1)](/man/os/aggregate/aggregate.1)

# [HISTORY](#HISTORY)

**Aggregate-ios** was written by Joe Abley &lt;jabley@mfnx.net&gt;.

# [BUGS](#BUGS)

All those in [**aggregate(1)**](/man/os/aggregate/aggregate.1) and then some :)

2000 November 27 Joe Abley

---

Document: aggregate-ios(1) from aggregate 1.6.8-r4 (Chainguard OS)
Source: https://salsa.debian.org/salvage-team/aggregate.git
