Archief

Archive for oktober 2008

Disable wireless interface on the router during the night.

below A use full script to disable your wireless internface during the night. Me and my colleague are testing if we can use this also for a fallback and if we found that I will publissed that one.

event manager environment _disable_ifname dot11radio0

!

event manager applet DisableInterface

event timer cron name DisableInterface cron-entry “0 22 * * *”

action 1.0 cli command “enable”

action 1.1 cli command “configure terminal”

action 1.5 cli command “interface $_disable_ifname”

action 1.6 cli command “shutdown”

!

event manager applet EnableInterface

event timer cron name EnableInterface cron-entry “0 7 * * *”

action 1.0 cli command “enable”

action 1.1 cli command “configure terminal”

action 1.5 cli command “interface $_disable_ifname”

action 1.6 cli command “no shutdown”

!

event manager applet EnableAfterReload

event timer countdown name EnableAfterReload time 10

action 1.0 cli command “enable”

action 1.1 cli command “configure terminal”

action 1.5 cli command “interface $_disable_ifname”

action 1.6 cli command “no shutdown”

The first part:

event timer cron name DisableInterface cron-entry “0 22 * * *”

The numer 22 is the clock time. This can you change. The script is based on a 24h clock.

event timer cron name EnableInterface cron-entry “0 7 * * *”

The numer 7 is the clock time. This can you change. The script is based on a 24h clock.

Origin: http://wiki.nil.com/Time-based_wireless_interface_activity

Cisco Router High CPU Usage notification

Some may experience that their router couple be run on full load ( cpu usage for serveral seconds / minutes )
Below you see a command applet which i found on the blog Cisco IOS Hints and Tricks

resource policy

policy HighGlobalCPU global

system

cpu total

critical rising 95 falling 70 interval 10

major rising 75 falling 50 interval 10

!

!

!

user global HighGlobalCPU

event manager applet ReportHighCPU

event resource policy “HighGlobalCPU”

action 1.0 cli command “show process cpu sorted 1min | exclude 0.00″

action 1.1 info type routername

action 2.0 mail server “<exchangeserver>” to “administrator@<domainname>” from “info_Cisco_Router<type>@<domainname>” subject “CPU @ $_resource_current_value” body “$_cli_result”

So when the router has a high cpu usage. you will get notified with an email like below.

Email Log Message High CPU Usage Cisco Router

Email Log Message High CPU Usage Cisco Router

Origin: Cisco IOS hints and Tricks

Cisco Router logging basic

Since a couple of weeks i use some new logging features on the router. See here below. and probably it is possible. You a reader may have some additional features for logging. Which I like and hope to get known.

service pt-vty-logging

logging message-counter syslog

logging buffered 51200 informational

login block-for 300 attempts 5 within 90

login delay 2

login on-failure log

login on-success log

archive

log config

logging enable

logging size 1000

notify syslog contenttype plaintext

hidekeys

logging trap debugging

So if you have any additional features which you like to share. don’t be scared to comment. it’s usefull for everyone I think.

Cisco UC520 connection to Unit 4 Multivers

This article goes about the Connection between a Cisco UC 520 and Unit 4 Multivers. Used with a very handy software program. Which was be found by my colleague at work found. And I used it today for testing.

The program called Telefoon Assistent Lite ( Dutch program ) of the developers of www.suppliance.com
The program is suitable with Unit 4 Multivers ( Financal administrative program. )

Incoming Call

Incoming Call

I have test this program with a Cisco unified Call Manager ( The UC 520 ), Unitf 4 multivers and the Cisco Unified Call Manager TSP. Which i had already. I can’t remember if i had it with the Call Manager 6 of downloaded from the internet at the cisco site.

I configured on the UC 520 a Extension Mobility user which I used to configure the Cisco TSP ( Tapi connector in windows )

Program’s needed and and hardware
Hardware:
- UC 520 version
- Few Ip phones ( e.a. 7942 / 7962 )

Software:
- Telefoon Assistent lite ( Telephony Assistent Lite )  ( http://www.telefoonassistent.nl/?download )
- Cisco UC TSP ( Tapi Connector for windows ) ( which you can find at the download site of cisco ) ( * you need a CCO account )
- Unit 4 Multivers ( latest version )
- Windows based computer ( Tested on a Windows XP Professional with SP2 )

We tested it and it worked. ( Earlier this year my employer had a reaction of Cisco NL that a TSP didn’t worked on a UC 520. Unfortunally in the mean while it may be fixed by cisco or the were wrong )

If you need help with this sollution please do not hesitate to contact me.

Passed the 5000 Views

It’s for me the first time when i made a weblog which had more than 5000 views. By this opportunity I wrote this message.

Also I like to announce that I try to post more bulletins in the next couple of weeks / months. I hope to do this when I found some interesting stuff to share :)

Best Regards,

Fred

Categories: Zonder categorie