Friday, March 31, 2017

ISR 4300 series router- copper gig Interface Freezes during Reboot

ISR 4300 router series copper gig interface port where Switch stack is connected become inactive when both router and Cisco switch stack are rebooted at the same time. This behavior does not happen all the time but occasionally. This problem happens in remote branches where the router and switches are not protected by a good UPS. The router does not generate any error codes and Cisco TAC may not be able to find the cause. Assume the LAN switch stack is connected to router interface Gi0/0/2.


To resolve this issue, please do the following as workaround

Conf t
int gi 0/0/2
Shut
no nego auto
no shut
Exit
int gi 0/0/2
Shut
nego auto
No shut
Exit
If the interface does not come UP, save the router config and reload the router.

Monday, March 20, 2017

EM script Dual ISP

track 130 interface GigabitEthernet0/0/0 line-protocol

interface GigabitEthernet0/0/0
description Isp1

ip route 0.0.0.0 0.0.0.0 10.10.10.1 name isp1
ip route 0.0.0.0 0.0.0.0 148.20.20.2 250 name isp2

event manager session cli username "xxxxxxxxx"
event manager applet  ISP-down
 event track 130 state down
 action 1.2 cli command "en"
 action 1.3 cli command "xxxxxxxx"
 action 1.5 cli command "conf t"
 action 1.6 cli command "no ip route 0.0.0.0 0.0.0.0 10.10.10.1 name ISP1"
 action 1.7 cli command "ip route 0.0.0.0 0.0.0.0 148.20.20.2 name ISP2"
 action 2.0 cli command "exit"
 action 2.5 syslog msg "Moved the traffic to ISP2"
event manager applet CTL-up
 event track 130 state up
 action 1.2 cli command "en"
 action 1.3 cli command "xxxxx"
 action 1.5 cli command "conf t"
 action 1.6 cli command "ip route 0.0.0.0 0.0.0.0 148.20.20.2 250 name ISP1"
 action 1.7 cli command "ip route 0.0.0.0 0.0.0.0 10.10.10.1 name ISP1"
 action 2.0 cli command "exit"
 action 2.5 syslog msg "Moved the traffic to ISP1"
!
end

Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...