Tuesday, 6 May 2008

ICND1, 2nd Day


Straight Cables
-Connect different devices, Host to Switch, Router to Switch,
Crossover Cables
-Connect same devices
-Router to Host, Host to Host, Switch to Switch(Trunk Link), Hub to Hub, Hub to Switch
Serial Cables
-DCE(ISP), DTE

Core Layer
Distribution Layer (QoS, Packet Filtering)
Access Layer (10BT/100BT)
ROM(Bootstrap)->Flash(InterNetworkingOS)->NV(StartUpConfig)->V(RunningConfig)
IOS->v12.4

Register
0x2102->Normal
0x2142->RESET password

Cisco Routers Basic Configuration Using Telnet

ADMINISTRATIVE CONFIG
enable/disable (enable secret [password])
'>' USER
'#' ADMINISTRATOR

SET HOSTNAME
configure terminal (config t)
hostname [routername]

SET TELNET CONN AND SET PASSWORD
lin vty 0 30 (Allow 31 user telnet)
password [cisco] (Set Telnet Password)
no login (Do not prompt for password)

GET CONSOLE MESSSAGE
terminal monitor
configure terminal (config t)
lin console 0 (Console User 1)
password [cisco] (Set Console Password)
login (Prompt Console User for Password)

BASICS CONNECTIVITY:

LAYER 1 & 2 Info
show ip interface brief

CONFIG INTERFACE (LAYER 1)
int serial[0/0]
no shutdown

CAUSE FOR UP/DOWN INTERFACE
1. Clock Rate (DCE)
2. Mismatch Encapsulation (High Level Datalink Control)
3. Keep Alive


SHOW CONTROLLER (Check DCE or DTE)
-show controllers s[1/0]

SET CLOCK RATE (LAYER 2)
1. sh s[1/0]
2. config t
3. int s[1/0]
4. clock rate ?
5. show controllers s[1/0]

SET IP ADDRESS (LAYER 3)
1. config t
2. ip address [IP] [NETMASK]

VERIFY INTERFACE
1. show cdp neighbour (LAYER 2 Cisco Discovery Protocol)
2. ping IP address (LAYER 3 IP NETMASK)
3. show ip int bri (ALL 1,2,3 LAYER)

SHOW MEMORY
1. show running-config
2. show startup-config

SHORTCUT KEY
Refer to the book pg197.

WRITE to Interface

Wiki :
DHCP
-Discover
-Offer
-Request
-Acknowledge

IP
Establish Connection (Three-Way Handshake)

TCP
1. Flow Control
2. TCP Acknowledgement
3. Fixed Windowing/Sliding Windowing
4. Packet Sequence Number

ARP (Address Resolution Protocol)
Use to troubleshoot
arp -a
arp -s 172.19.90.17 00-00-00-00-00-00

LAN Switch Modes
-Cut through
-Fragment Free
-Store & Forward

VLAN Overview
-Logically segmenting the switches.
-Separates broadcast domain.

* Different Clock Rate will be cap down
to the slow setting for 2 different clock rate
for Serial Conn.

No comments: