Archive for the ‘Cisco Router/Switch’ Category

How to configure Cisco router to use Microsoft DHCP server Or Active Directory Server between vlans

Friday, July 9th, 2010

Note :This is a router on a stick method (cisco 1941 router)
(a) Find out router interfaces

EVROUTER#show ip interface brief
Interface IP-Address OK? Method Status [...]

Cisco:How to solve line protocol down problem for serial interface in packet tracer

Saturday, July 3rd, 2010

I am using cisco 2811 router with 1 WIC-1T card for serial interface

Both router is connected by serial (DCE/DTE) interface and and ip is set as follows:
router 1: 192.168.1.1 255.255.255.0
router 1: 192.168.1.2 255.255.255.0
Problem: line protocol is showing down .
Example bellow :

R1#show ip interface brief
Interface [...]

Cisco:Routing protocols OSPF

Tuesday, June 29th, 2010

How to setup OSPF routing :
How to view what protocols is running:

show ip protocols

how to kill rip protocols (if exists)

configure terminal
no router rip

How create OSPF protocols

configure terminal
router ospf 1 [ here 1 is the process id, which has to be same to every router in the organization ]
network 192.168.1.1 0.0.0.0 area 0
Or
network 192.168.1.0 [...]

Cisco:Basic Commands to setup vlan

Wednesday, June 16th, 2010

Trunking:
(1)Create trunk ports between 2 switch:
to setup trunk between port F0/11 and F012 of Switch S1
For Port F0/11

configure terminal
interface fastEthernet 0/11
switchport mode trunk
note : if upper commands say : command rejected with error : Trunk encapsulation is Auto, then do the followings
switchport trunk encapsulation dot1q
Now type again : switchport mode trunk

For Port F0/12

configure terminal
interface [...]

Cisco:Basic commands to setup a cisco switch

Monday, April 12th, 2010

Privileges mode password :

enable , configure t, enable secret test

How to lock down telnet port :

enable, configure t , line vty 0 15 , login , password test

How to lock down console port :

enable , configure t, line console 0 , login, password test

How to set logoin banner

enable, configure t, banner motd ) , Please [...]

Cisco:Basic commands to setup a cisco router

Wednesday, March 10th, 2010

How to lock the privilege mode :

enable
configure terminal
enable secret cisco

How to secure vty ?

enable
configure terminal
line vty 0 15 [ for help type line vty ? ]
login
password cisco

How to secure console port?

enable
configure terminal
line con 0
login
password cisco

How to secure the aux port?

enable
configure terminal
line aux 0
login
password cisco

How to setup banner?

enable
configure terminal
banner motd [...]

Deleted/Corrupted/Wrong Type/No IOS image and router won’t boot(cisco 2600)

Thursday, December 24th, 2009

Deleted/Corrupted/Wrong Type/No IOS image and router won’t boot: http://www.dslreports.com/faq/13824
Break Key Sequence: http://www.cisco.com/en/US/products/hw/routers/ps133/products_tech_note09186a0080174a34.shtml
ROMmon Recovery for the Cisco 2600 Series Router:
http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a0080094a0b.shtml
How to Download a Software Image to a Cisco 2600 via TFTP:
http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml
For Cisco 2600 Router :
(a) Connect to the router via Teraterm (console port)
(b) Now Turned on the router
(c) Press ALT+b to go to rommon mode
(d)
[...]

Cisco Access Control Lists (ACL) (Web link)

Wednesday, December 16th, 2009

http://www.networkclue.com/routing/Cisco/access-lists/index.aspx

Harden Cisco IOS Devices

Wednesday, December 16th, 2009

Website link :
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_tech_note09186a0080120f48.shtml