Monday, December 19, 2011
Port security on a trunk port
VRF-Lite guest VLAN for Wireless
OSPF redistribute static routers
Monday, December 5, 2011
delay for wireless client for deploy GPO MSI software
Monday, November 21, 2011
Cisco IOS archive
Cisco has simple method for backup config
mkdir flash:/archive
conf t
archive
log config
logging enable
hidekeys
path flash:archive/config
write-memory
you can use other options like path tftp,scp... etc
also notify syslog contenttype plaintext if you want write to log
show archive log config all
show archive config differences flash:archive/config-1 system:running-config
Friday, October 21, 2011
Software upgrade Cisco Wireless LAN Controller
Monday, October 10, 2011
Enable ASDM for Cisco ASA
Tuesday, September 20, 2011
upgrade ROM and IOS for cisco 4900 switches
for ROM upgrade:
1. download last rom from cisco site.
2. copy rom file to switch bootflash:
3. turn on switch and enter control-C to go to rommon
4. enter rommon 1 >boot bootflash:cat4500-ios-promupgrade-122_31r_SGA7(or your rom)
5. switch will restarted after upgraide
6. run show version | i ROM
for IOS upgrade:
1. download last ios
2. copy ios to switch bootflash:
3. enter show running-config | i boot system
4. go to config mode
5. enter no boot system flash bootflash:cat4500-entservicesk9-mz.122-13.SG1.bin(your ios)
6. enter boot system flash bootflash:cat4500-entservicesk9-mz.122-54.SG.bin
7. save config and reboot switch
8. check ios version after reboot show version | i bootflash
Wednesday, August 24, 2011
MS Outlook autocomplete cache file
Wednesday, August 17, 2011
Cisco switch port security
Thursday, August 11, 2011
Cisco DHCP Snooping
Friday, August 5, 2011
Remote change power settings
you can use it if need change power settings for remote computer
get info about remote power pc settings:
PsExec.exe \\rcomputer powercfg -query
disable sleep timeout:
PsExec.exe \\rcomputer powercfg -change -standby-timeout-ac 0
other interesting options:
powercfg -change -monitor-timeout-ac 0
powercfg -change -monitor-timeout-dc 0
powercfg -change -disk-timeout-ac 0
powercfg -change -disk-timeout-dc 0
powercfg -change -standby-timeout-ac 0
powercfg -change -standby-timeout-dc 0
powercfg -change -hibernate-timeout-ac 0
powercfg -change -hibernate-timeout-dc 0
Remote enable Remote Desktop
This example show how you can use PsExec for enable Remote Desktop remotely
Enable RDP:
PsExec.exe \\remotepc reg add "hklm\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0
Enable RDP through firewall:
PsExec.exe \\remotepc netsh firewall set service remoteadmin enable
PsExec.exe \\remotepc netsh firewall set service remotedesktop enable
Tuesday, July 12, 2011
Cisco IOS clock settings
set correct time zone:
clock timezone PCTime -8
set summer time old ios:
clock summer-time PCTime date Mar 13 2011 2:00 Nov 6 2011 2:00
New IOS have other nice settings, it's need setup just one time:
clock summer-time CDT recurring
set ntp server:
ntp server XXX.XXX.XXX.XXX
set clock:
clock set 10:30:00 Jul 12 2011
show clock:
show clock
Monday, July 11, 2011
VPN syslog error
If vpn is up but you have errors log
%CRYPTO-4-PKT_REPLAY_ERR: decrypt: replay check failed
for fix it add to router
crypto ipsec security-association replay window-size 1024
Friday, July 8, 2011
Change your Windows MTU
Flexible NetFlow for IOS
If you use vpn links standart netflow don't work with vpn links. You need use flexible netflow.
It works well with vpn links. Update your IOS if your router don't support it.
Example:
flow exporter NETFLOW1-EXPORTER
description NetFlow Analyzer
destination 172.16.0.1
source Loopback0
output-features
transport udp 9996
export-protocol netflow-v9
!
!
flow exporter NETFLOW2-EXPORTER
description Scrutinizer
destination 172.16.0.2
source Loopback0
output-features
transport udp 9996
export-protocol netflow-v9
!
!
flow monitor NETFLOW1
record netflow-original
exporter NETFLOW2-EXPORTER
exporter NETFLOW1-EXPORTER
cache timeout active 1
!
!
interface Tunnel12
ip flow monitor NETFLOW1 input
ip flow monitor NETFLOW1 output
!
!
interface FastEthernet1
ip flow monitor NETFLOW1 input
ip flow monitor NETFLOW1 output
Sunday, June 19, 2011
ssh and MyEnTunnel
I use putty for configure my routers and some time for ssh tunnels for access to home network.
Wednesday, March 30, 2011
Cisco router as dhcp client
Sometimes ISP provide only dhcp ip for branch offices. When you use firewall, I hope you use it , you need use rule for open dhcp traffic in your firewall.
interface FastEthernet0/0 ip access-list extended ISP |
Sunday, March 13, 2011
Bat file for reboot PC remotely
Sometimes you need reboot pc at night. It help you.
@echo off
|
Thursday, March 10, 2011
Connect Cisco IP Phone 7960 to Asterisk
Previous post was about upgrade cisco ip phone to SIP version firmware.
Now short post how to setup asterisk
Example sip.conf
[550]
|
for reload config run asterisk console and run command
unknown*CLI> config reload /etc/asterisk/sip.conf
|
Cisco 7960 upgrade to SIP firmware
I bought one ip phone cisco 7960 on ebay it was with SCCP firmware. I use asterisk so need upgrade firmware.
Step by step.
1. Download and setup SolarWinds TFTP Server. It is free and works well.
2. Need SIP firmware from cisco site. I downloaded last version P0S3-08-8-00.zip . Unzip it to TFTP directory.
3. We need additional 5 files. I used notepad for it.
3.1 SIP<MAC adresse>.cnf
Example for two lines :
line1_name : 550 |
3.2 SIPDefault.cnf
Example:
#Image Version |
3.3 xmlDefault.CNF.XML
Example:
<loadInformation7 model="IP Phone 7960">P0S3-08-8-00</loadInformation7> |
3.4 RINGLIST.DAT
Example:
Piano 1 Piano1.raw |
3.5 dialplan.xml
Example:
<DIALTEMPLATE> |
4. Copy all files to TFTP directory. As result we get 10 files.
5. Run TFTP server.
6. Erase cisco ip phone old config.
8. Power off, connect network cable, power on phone.
As result you will see tftp server logs and your ip phone will get SIP firmware.
Wednesday, February 9, 2011
change VM disk size
Friday, January 14, 2011
Cisco port security
Wednesday, January 12, 2011
Cisco port mirroring
Saturday, January 1, 2011
Setup Vyatta dnsmasq
Setup Vyatta NAT
setup Vyatta interfaces, ssh and https access
configure
set interfaces ethernet eth0 address dhcp
set interfaces ethernet eth1 address 192.168.1.1/24
set service ssh
set service https
commit
exit
Install Vyatta on hdd
2. install-system
3. remove CD and reboot
4. "show version" to verify boot via disk
5. configure
6. save
7. reboot