[169504] in North American Network Operators' Group

home help back first fref pref prev next nref lref last post

Re: Managing IOS Configuration Snippets

daemon@ATHENA.MIT.EDU (Erik Muller)
Fri Feb 28 11:15:31 2014

Date: Fri, 28 Feb 2014 11:10:32 -0500
From: Erik Muller <erikm@buh.org>
To: nanog@nanog.org
In-Reply-To: <CCDDB67D-9B48-4B27-8D9D-9626B1B0F408@ufp.org>
Errors-To: nanog-bounces+nanog.discuss=bloom-picayune.mit.edu@nanog.org

On 2/28/14, 10:24 , Leo Bicknell wrote:
> What I have always wanted is a way to group configuration, in particular by customer.  Ideally with the ability to see it both as a unified view, and also as a per-customer view.
>
> For instance:
>
> customer AAAAA
>    interface GigabitEthernet1/2/3.10
>      description AAAAA
>      ip address 10.0.1.1 255.255.255.0
>    router bgp 1
>      neighbor 10.0.1.2 prefix-list AAAAA-in in
>    ip prefix-list AAAAA-in 10.1.0.0/24
> end
...

> Basically this follows the two modes in which engineers look at a device.  Most of the time is configuring a specific customer, and wanting to be sure they are configured right; including the hard case of "no customer AAAAA", that is making sure all configuration for a specific customer is removed.  The rest of the time is typically troubleshooting a network level problem where you want the device view we have today, I see interface Gig1/2/3 is dropping packets, "show run" to see who's configure on it sort of operations.
>
> I don't know of any platform that has implemented this sort of config framework though.

It's not the cleanest, but in junos you can pretty much get this by 
defining a configuration group per customer and applying them all.  Your RE 
may hate you at commit time, but I've seen this approach work quite well.

-e


home help back first fref pref prev next nref lref last post