[c-nsp] shutdown process on interfaces in cisco routers

Phil Mayers p.mayers at imperial.ac.uk
Mon Oct 1 05:48:06 EDT 2012


On 01/10/12 10:16, Nick Hilliard wrote:
> On 01/10/2012 09:34, Mikael Abrahamsson wrote:
>> I have feature requested to Cisco that when a port is shut down, all
>> routing protocols should be shut down gracefully before the port is turned
>> off. So basically "leave nicely" instead of "abruptly".
>
> problem is, "shutdown" is the "kill -9" of interfaces - it drops carrier
> abruptly and leaves everything else sort itself out.  If you want a
> graceful shutdown then you need a separate command with hooks to all of the
> protocols running on the interface - and there are usually a lot of those.
>   I suspect this would would be troublesome to implement.

Doesn't this depend on the type of interface? IIRC, SVIs on Catalyst 
platforms do indeed perform certain types of actions on shutdown - I 
have a memory that sending an RA with lifetime=0 is one, for example. 
Not sure about HSRP etc.

Of course, I could be remembering wrong ;o)


More information about the cisco-nsp mailing list