Wednesday 25 May 2016

Set secure password on Cisco Router/Switch

- enable
- config t
- enable password YourPasswordOfChoice
- enable secret HasToBeDifferent
service password-encryption (to encrypt password)
- exit
- wr

connect two routers using cross over cable and static route

Network Examples
"network one"
Port 1(0/1) (which goes to pc's) 192.168.1.1
Port 2(0/2(Which goes to wan and other router) 192.168.3.254
"network two"
Port 1(0/1)(which goes to pc's) 192.168.2.1
Port 2(0/2) (which goes to wan and other router)
192.168.3.253

Network one router
- en
- config terminal
- interface fastethernet 0/2
- ip address 192.168.3.254 255.255.255.0
- ip route 192.168.2.0 255.255.255.0 192.168.3.253
- no shutdown
- exit
- wr

Network two switch
- en
- config terminal
- interface fastethernet 0/2
- ip address 192.168.3.253 255.255.255.0
- ip route 192.168.1.0 255.255.255.0 192.168.3.254
- no shutdown
- exit
- wr

https://www.youtube.com/watch?v=9Ow8BQueLNw

Connect two cisco routers using serial port

Router 1
- Connect to CLI
- type enable
- config terminal
- interface serial 1/0 (or your preferred port)
- ip address 192.168.2.254 255.255.255.0 (of the connecting network/router)
- clock rate 64000
- no shutdown

Router 2
- Connect to CLI
- type enable
- config terminal
- interface serial 1/0 (or your preferred port)
- ip address 192.168.2.253 255.255.255.0 (of the connecting network/router)
- no shutdown

Setup Cisco Router and add ip address

Any Cisco Router
- Connect to CLI
- Continue with configuration dialog (type for N for no)
- Then type "enable" to access admin
- Then type "config terminal" to access config
- Then type "interface fastEthernet 0/0" can be any port to which you prefer 0/1 etc,
- Then type "ip address 192.168.2.1 255.255.255.0" can be any range
- Then type "description nameofrouter" name the router anything you like
- Then type "no shutdown" to enable the port