Saturday, October 29, 2011

Preparing a bootable RHEL6 Bootable Pen drive

  1. Go to images sub directory of RHEL DVD
  2. If the location of the pen drive is /dev/sdd, write the image to pen drive using the following command:

#dd if=efidisk.img of=/dev/sdd

Note: This command will overwrite all existing data on the drive

Monday, October 24, 2011

Configuring router for SDM

Cisco SDM
SDM configuration steps:
  1. Create user accounts
  2. Enable http and/or https server
  3. Configure http to use local user database
R1(config)#username binoy privilege 15 secret cisco sdm launcher
R1(config)#ip http server
R1(config)#ip http secure-server (allows encrypted access)
R1(config)#ip http authentication local
Now download SDM from www.cisco.com/go/sdm and install it in the computer (requires java runtime environment) and launch the SDM by giving IP address in SDM launcher

Wednesday, October 19, 2011

Cisco router password recovery process

  1. Connect to console port
  2. Use the power switch to power cycle the router.Password Recovery
  3. Issue the break sequence within 60 seconds of power up to put the router into ROMmon.
  4. Type “confreg 0x2142” at the rommon 1> prompt.  (This changes the default configuration register and causes the router to bypass the startup configuration where the forgotten enable password is stored.The configuration register is usually set to 0x2102 or 0x102)
  5. Type no after each setup question, or press Ctrl-C to skip the initial setup procedure.
  6. Router> enable
  7. Router#copy start run
  8. Now, change the passwords and give no shutdown commands to interfaces
  9. R1(config)# config-register 0x2102 (To make the startup configuration effective while next booting)

Sunday, October 9, 2011

Administrative Distance of Routing protocols

Connected interface     0
Static route 1
Enhanced Interior Gateway Routing Protocol (EIGRP) summary route 5
External Border Gateway Protocol (BGP) 20
Internal EIGRP 90
IGRP 100
OSPF 110
Intermediate System-to-Intermediate System (IS-IS) 115
Routing Information Protocol (RIP) 120
Exterior Gateway Protocol (EGP) 140
On Demand Routing (ODR) 160
External EIGRP 170
Internal BGP 200
unknown 255