From: Scott Morris (swm@emanon.com)
Date: Wed Jan 04 2006 - 04:00:25 GMT-3
Ahhhh... Didn't realize it was one of your labs (I don't believe the
original question reflected that)!
12.3(1) supports the command scheduling stuff. And in theory it looked
good... But:
Mmmmmm... An interesting problem in reading ahead too far. My excitement
about finding the config-cli capabilities is actually an extension of the
CNS service (missed the gap in commands).... ALTHOUGH... If a snippit of
code was stored in a file on another device, then the "cns image retrieve"
or "cns event" capabilities may assist in grabbing it. Or for that matter a
simply "copy tftp:x.x.x.x/filename system:running-config" exec command could
be called by kron.
Bummer. And here I was excited about the config mode stuff! There's likely
a way, I just have to figure out what #$*&# unix-like variables that the
kron setup can actually push along. Back to the drawing board for a little
while. On my list of things to do.d
Hmmmm... Hmmm.... Hmmmm.... I can't get kron to do it directly as it has
this irritating little feature that any command generating a new prompt will
cause an error. (and \n doesn't seem to work either) I can do it in a TCL
script, but that's something that requires you to be there...
Perhaps rsh? (more evil unix stuff)
So, sorry, while it sounded awfully good I haven't figured out a nice way to
make that work yet, without some config files existing someplace.
Scott
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Brian Dennis
Sent: Tuesday, January 03, 2006 9:10 PM
To: swm@emanon.com; Mike Ollington; ccielab@groupstudy.com
Subject: RE: Bring up an interface at a specific time?
Scott,
The task is from Internetwork Expert's Workbook Volume II and was
written prior to Jan 2006 so the IOS that supports "kron" wasn't available
when the solution was written.
Also you should post your configuration here so that people can
understand your example a little better and how it's easier than using a GRE
tunnel.
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: Scott Morris [mailto:swm@emanon.com]
Sent: Tuesday, January 03, 2006 5:14 PM
To: Brian Dennis; 'Mike Ollington'; ccielab@groupstudy.com
Subject: RE: Bring up an interface at a specific time?
You could use kron to do things like shut and no shut your interface as
well.
http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_
chap
ter09186a008045592c.html
In the kron policy list, you can specify which user you are logging in as
and do things in config mode as well. You would use the "config-cli" as
part of the option.
Two polcies. One at 8am turns it on, another at 5pm turns it off.
Kinda a
festive way to do things! Less complicated IMHO than creating a GRE to go
along with stuff.
Scot
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Brian Dennis
Sent: Tuesday, January 03, 2006 5:31 PM
To: Mike Ollington; ccielab@groupstudy.com
Subject: RE: Bring up an interface at a specific time?
Use a GRE tunnel and have the PPP/T1 link as the backup interface for the
GRE tunnel. When it's time for the PPP/T1 to come up, have a time based ACL
deny the GRE traffic so that the tunnel goes down and the backup kicks in.
HTH,
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Mike
Ollington
Sent: Tuesday, January 03, 2006 2:03 PM
To: ccielab@groupstudy.com
Subject: Bring up an interface at a specific time?
Hello,
Not sure if I'm over thinking this requirement - I have a PPP T1 circuit
that should not be `up' between 5pm and 8am, however, it should be up/up
between 8am and 5pm.
Is there a feature to do this or just a bit of lateral thinking?
Thanks,
Mike
This archive was generated by hypermail 2.1.4 : Wed Feb 01 2006 - 07:45:47 GMT-3