Showing posts with label Cisco. Show all posts
Showing posts with label Cisco. Show all posts

Tuesday, July 3, 2012

Enhanced Interior Gateway Routing Protocol (EIGRP)


R1


 config terminal
router eigrp 1
network 172.16.13.0
network 172.16.164.0
network 192.168.5.0
end

R2

 config terminal
router eigrp 1
network 172.16.13.0
network 172.16.10.0
network 192.168.6.0
end

Testing

 show ip eigrp neighbour
show ip route

Routing Information Protocol (RIP)


R1
 config terminal
router rip
version 2
network 172.16.1.0
network 172.16.2.0
end

R2
 config terminal
router rip
version 2
network 172.16.2.0
network 192.168.1.0
end

Test
 show ip route 

Monday, July 2, 2012

Cisco Static Route


R1

config terminal
interface gig0/0
ip address 172.16.1.1 255.255.255.0
no shutdown
exit

interface se0/0/0
ip address 172.16.2.1 255.255.255.252
clock rate 64000
no shutdown
exit

ip route 192.168.1.0 255.255.255.0 172.16.2.2


R2

config terminal
interface gig0/0
ip address 192.168.1.1 255.255.255.0
no shutdown
exit

interface se0/0/0
ip address 172.16.2.2 255.255.255.252
no shutdown
exit

ip route 192.168.1.0 255.255.255.0 172.16.2.1

Cisco Basic Router Configuration

  1. Hostname
    • config terminal
    • hostname R1

  2. Console Password
    • config terminal
    • line console 0
    • password cisco
    • login
    • exit

  3. Telnet Password
    • config terminal
    • line vty 0 5
    • password cisco
    • login
    • exit

  4. Enable Secret/Password
    • config terminal
    • enable secret class

    • config terminal
    • enable password class

  5. Banner
    • config terminal
    • banner motd #You Are Not Authorized#

  6. Interface Configuration
    • config terminal
    • interface fa0/0
    • ip address 192.168.1.1 255.255.255.0
    • end

  7. Description
    • description R1 to R2 connection

  8. Save Configuration
    • copy running-config startup-config

  9. Delete Configuration
    • copy startup-config running-config
    • erase startup-config
    • reload