CCNA Journey Day#1

Okay, I haven't updated this blog for quiete a while now. I was too busy with doing a lot things that I can't find time to write in my blog. Today, while I was reviewing my notes from my Cisco Certified Network Associate class, I realized that it would be easier if I post my notes here. Aside from it would be accessible anywhere if there's an internet, It will save space in my flashdrive as well.

Let me start with Initial Setup/Securing you Cisco Switch/Router..I am using Secure CRT software to configure my Cisco switch.

==============================================================
Initial Setup
==============================================================
enable
conf t
int fa 0/0
ip add 192.168.10.1 255.255.255.0
no shut
exit

hostname (your hostname)
enable secret (your password)
service password encryption
no ip domain lookup
line con 0
password (administrative pw)
logging synchronous
exit

line vty 0 14
password (your password)
end

==============================================================
Reserving DHCP
==============================================================

Conf t
ip dhcp excluded-address 192.168.10.1 192.168.10.20 <-example ip>
ip dhcp excluded-address 192.168.10.240 192.168.10.255 <-example ip>
ip dhcp pool data
 network 192.168.10.0 255.255.255.0 <your Network IP>
 default-router 192.168.10.1 <Default Gateway>
 dns-server 8.8.8.8 4.2.2.2 <DNS Server>
 option 150 ip 192.168.10.1  !<---TFTP server

end


===============================================================
configuring Analog phone system
===============================================================

conf t
 voice-port 0/0/1 <- port where the analog phone is connected.>
 cptone PH <- can be set to US or any counter/location.>
 signal loopstart < or groundstart. If you using a PBX, set to groundstart. If regular analog phone loopstart)
 comfort-noise
exit

 dial-peer voice 10 pots <change to other value if you're adding another analog phone >
 destination-pattern 8888 <- Any # you assign >
 port 0/0/1 <- port where the analog phone is connected.>
end

ex.

phone 1

conf t
 voice-port 0/0/1
 cptone PH
 signal loopstart
 comfort-noise
exit
 dial-peer voice 10 pots
 destination-pattern 8888
 port 0/0/1
end

phone 2

conf t
 voice-port 0/0/2
 cptone PH
 signal loopstart
 comfort-noise
exit
 dial-peer voice 11 pots
 destination-pattern 7777
 port 0/0/2
end


csim start (number) <command to test if the phone is working>


===============================================================
Configuring IP Phones
===============================================================

conf t
 telephony-service
  max-ephone 10 < can be changed depending on how many IP Phones you connect.>
  max-dn 10 < can be changed depending on how many IP Phones you connect.>
  no auto assign
  no auto-reg-ephone
  ip source-address 192.168.10.1 < your Default Gateway >
  create cnf-files

 ephone 1

 mac-address fc99.470f.a442 <mac address of your IP phone>


 If you can't register, remove your IP Phone from the switch and paste the code below.

conf t
no telephony- service
 telephony-service
  max-ephone 10
  max-dn 10
  no auto assign
  no auto-reg-ephone
  ip source-address 192.168.10.1

  create cnf-files

 ephone 1
 mac-address fc99.470f.a442 <routers mac address>
end

conf t
 telephony-service
  ephone-dn 1
  number 8810

  ephone -dn 2
   number 8830

ephone 1 
  button 1:1 3:2

  restart 

end

===============================================================
Inter-site communication setup
===============================================================

conf t
 dial-peer voice 20 voip
  destination-pattern  YY.. (number)
  session target ipv4:200.0.0.Y (IP Address)
  dtmf-relay h245-alphanumeric

  codec g711ulaw



This is my Day#1 Note.