ElKono

Cisco… what else…

Monthly Archives: July 2012

older Cisco PoE Switches: Controller port error

Yeah man!

i installed some new Cisco Access Points and connected they to an older Cisco PoE Switch, but they won’t work… strange ;-(

on the console i saw that there are some port errors like following:

%ILPOWER-3-CONTROLLER_PORT_ERR (x1): Controller port error, Interface [chars]:[chars].

searched @cisco.com i found this…

Explanation: : A fault condition was detected on the power controller. An port
error has been reported by the inline power controller.

Recommended Action:
1. Make sure that the devices are correctly grounded.
2. Check the speed/duplex setting on the remote end of the connection.
3. Perform a shutdown and no shutdown on interface [chars].
4. If the device is not an IP Phone – disable inline power on this port.
5. If the error message continues: There are several know bugs related to
this message such as CSCeb24148. Check the Bug Toolkit for bugs relevant
to this device and software version.

but the solution for me was…

Switch(config-if)#power inline delay shutdown 20 initial 20

and it worked perfect!

[best regs]
elkono

Advertisements

Aeroscout Tags with Cisco Wirless LAN WLC Controllers 4400

Hi Cisco Guys,

i found an old lab guide, that i’ve done some times ago… perhaps someone need it…

 

My lab:
CISCO:
– WLC4404 – 2.0.217.0
– WLC4402 – 2.0.217.0
– LAP 2700 – 2.1
– WCS – 4.0.96
– Aironet 1242AG LWAPP
– 3750 Switches

AEROSCOUT:
– Tag Manager Software 3.0
– Tag Activator (wirless appliance)
– T3000 Tags (version 6.x)

###################

my config on wlcs:
#config dot11 rfid enable
#config rfid timeout 480

on the 802.11b/g -> set the parameter CCX Location Measurement as enbled and the intervall 60secs.

###################

WCS -> Location Server:
Location Server -> Administration ->
Polling Parameters:
Activate Asset Tag
Intervall 120 sec

History Parameters:
Activate Asset Tag
Intervall 720min

###################

my config on T3 Tags:
Channels: 1, 6, 11 (here are working my APs)
Interval sec: 60
Transmission Data: WDS
Receiver: 01:0c:cc:00:00:00 !important i had 01:0c:cc:00:00:02 and that didnt work for me!
the rest i left how it comes from the factory…
-> activate the tag.

###################

and have fun…

i hope that could be helpful for someone…

[best regs]
elkono

Daily Backup from Cisco Router Configuration with SCP (Secure Copy)

hi,

today I let you know how you can do a “secure” automatic backup from your router configuration… let’s go! I’ve done it with an Windows Server 2003 as backup server you can also try it with a Linuxbox 😉

Note: the username and password are stored in cleartext in the config.

Download & Install OpenSSH for windows (http://sshwindows.sourceforge.net)

  • Install default
  • open services.msc -> start OpenSSH server

Create a local user:

  • User: cisco
  • Pass: secure
    • Add user to local ADMINISTRATOR group (otherwise you cannot connect)

open cmd

  • cd “\Program Files\OpenSSH\bin\”
  • mkgroup –l >> ..\etc\group
  • mkpasswd –l >> ..\etc\passwd
    • this 2 cmds creates local group & user files

open  regedit

  • HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2/home2
    • Change key “native” from “C:\Documents and Settings” to your Backup Drive i.e. “e:\”
    • Now you can change the homepath from “/home/cisco” in the passwd file to “/”

open services.msc and start this service -> “OpenSSH”

Now test with putty if you can connect to this SSH Server

  • 127.0.0.1 port 22
  • User: cisco
  • Pass: secure

Now we have to configure the router that it does the backup automatically.

Variables:

  • $h = hostname
  • $t = time (command does not work fine – better leave it away)

Path: save path
Write-memory – when you save manually he will save also via SCP
Time-period: 1440 Minutes -> daily backup | 10080 weekly backup

Connect to router via SSH and execute following commands

router# conf t
router(config)# archive
router(config-archive)# path scp://cisco:secure@10.10.10.10//cygdrive/e/backup/network/switch/$h/$t-$h
router(config-archive)# write-memory
router(config-archive)# time-period 1440
router(config-archive)# exit
router(config)# exit
router# write memory

You are done!

Every time you do a write memory – it will also save via SCP!

[best regs]
elkono