Posts

Does Cisco router supports Type 6 LSA ?

Recently I have gone through some settings which helped to reduce the syslog messages generated on router when the Type 6 LSA received. As per the RFC 1583. 1584 1585 Multicast extension of the OSPF , which outlined to use the LSA type 6.  However, Cisco ios does not support the MOSPF and therefore, when it received a packet it will generate syslog to indicate LSA not supported. To reduce the CPU intensity of this syslog messages make, cisco has command that can help you   (config)#router ospf <pid> (config-router)# ignore lsa mospf effect of this command is "do not complain when received LSA of specified type in here" :)  Enjoy!

OSPF with IP unnumbered

Image
 I have come around a challenge that two routers connected directly to each other but use different IP subnets. For the purpose of adjacency to form, OSPF has constraint devices connected interfaces to be in same subnet.  So, after a search I found followed method.  change the opsf network type of the router to point-to-point assign the ip unnumbered to the directly connecting interfaces create new loopback and assign the ip address which previously on directly connected interface advertise networks with ospf network command.  General idea here is, in point to point link, ip address is does not matter as packet leaving the sender and will receive only by one receiver as only two participants in the Point-to-Point link.    Not like multi access networks, where it is required to ensure the intended recipient has to receive the sender's packet among multiple receivers.  Let's dig into detail with followed diagram Diagram details: R1 and R3 connected with ...

MRTG configurations

Setup the Device cisco(config)# snmp-server community public RO setup the MRTG server yum install   mrtg   -> will install the MRTG yum install httpd -> will install the apache to view the graphs crated by mrtg To configure the MRTG issue following command: Cfgmaker –global   “WorkDir: /var/www/mrtg” –output /etc/mrtg/mrtg.cfg   device-community - string @( hostname or IP ) in this command :             --global   “WorkDir: /var/www/mrtg”   -> this is global configuration to define where the graphs will be store - -output /etc/mrtg/mrtg.cfg    ->    this is the output file name   device community   string ->   Configured snmp name on the device. In this case it is ‘public’   as   configured under the cisco device hostname or IP  ->   device IP or hostname Now run the indexmaker...

shutdown / restart remote windows servers by single command

Image
There will be requirement to restart or shutdown all windows servers within domain. As system guy you can do it by few clicks. assumptions: you have administrator domain privilege to  shutdown all windows servers steps: in command prompt type shutdown -i and click OK button then it will prompt you following window. click on ADD button and type all windows server names you want to shut down or you can use Browse button to browse and select all servers you need. caution : Please make sure the Domain controller and the PC/server you logged in  are not selected. :) then specify the action you need to do with drop down menu.(restart/shutdown etc) then enter the warning time. in my image selected servers will  restart after 30 seconds. then under options and comments please specify the reason for the action.(For audit purposes) after completing those please click on OK button.

Boot a Cisco router off of a USB Drive (Recovery option)

Hi all, I would like to post this because this method has saved me when I upgrade my router with new ios. I used this as a recovery option. This will come in real handy if you are on-site with 128 MB to 1 GB USB Drive.     Format your USB drive with FAT file system. This needs to be FAT and not FAT32   :)     Copy the IOS image to the USB drive.     Power off the router, plug in the USB flash drive to the USB port on the router.     Power on the router and when it starts to boot up press the Break key to enter ROMMON mode.     In ROMMON mode enter the following command to boot to USB:                      boot usbflash0:     (e.g. boot usbflash0:c1800-io3-mz.123-26.bin) When you are upgrading your IOS image after upload it via tftp please check the checksum before you boot from that image. it will help you to upgrade...

T1 Link with VWIC-2MFT-T1

First insert the new VWIC card when router is power off. fix screws tightly Connect the T1 cable which is from the ISP side to the controller you want to configure power up the router log in to router using prefer method (telnet / console/etc) configure controller as follow MPLS(config)#controller T1 0/0 MPLS(config-controller)# framing esf MPLS(config-controller)# linecode b8zs  MPLS(config-controller)#channel-group 0 timeslots 1-24 speed 64 In here you have to calculate/inquire the speed before you configure the speed under channel-group. calculate is simple as follows   speed = bandwidth / number of channels if you configure controller then issue a sh run and see the virtual serial is appeared or not. if not you did not configure it correctly or your controller is not active ex: interface Serial0/0:0 then you can configure the serial interface according to ISP given settings after that you can issue sh ip interface brief command and see the interfa...

how to Bridge a cisco router

Go to global configuration mode disable ALL ip routing(you must disable all routing before bridge the router) (config)#no ip routing enable bridging protocol (config)#bridge number protocol ieee (number - use numeric character) to enable bridging on interface goto the interface mode. example: (config)#int fa0 (config-if)#bridge-group number you can use encapsulation and etc under the interface mode.