Static Routing: Routing Protocols and Concepts
Static Routing: Routing Protocols and Concepts
Static Routing: Routing Protocols and Concepts
Example:
R1(config)#interface serial 0/0
R1(config-if)#ip address 172.16.2.1 255.255.255.0
R1(config-if)#no shutdown
Interfaces
Examining Router Interfaces
Physically connecting a WAN Interface.
A WAN Physical Layer connection has two sides:
Data Circuit-terminating Equipment (DCE) – This is the service provider. CSU/DSU is a
DCE device.
Data Terminal Equipment (DTE) – Typically the router is the DTE device.
Interfaces
Configuring serial links in a lab environment
One side of a serial connection must be considered a DCE.
This requires placing a clocking signal – use the clock rate command.
Example:
R1(config)#interface serial 0/0
R1(config-if)#clockrate 64000
Serial Interfaces require a clock signal to control the timing of the communcations .
Routing Table and CDP Protocol
Purpose of the debug ip routing command
Allows you to view changes that the router performs when adding or removing routes.
Example:
R2#debug ip routing
IP routing debugging is on
Routing Table and CDP Protocol
To configure an Ethernet interface
Example:
R2(config)#interface fastethernet 0/0
R2(config-if)#ip address 172.16.1.1 255.255.255.0
R2(config-if)#no shutdown
Routing Table and CDP Protocol
When a router only has its interfaces configured & no other routing protocols
are configured then:
The routing table contains only the directly connected networks
Only devices on the directly connected networks are reachable
Routing Table and CDP Protocol
Routing Table and CDP Protocol
Checking each route
in turn
The ping command
is used to check end
to end connectivity
Routing Table and CDP Protocol
Purpose of CDP
A layer 2 cisco proprietary tool used to gather information about other directly
connected Cisco devices.
Concept of neighbors
2 types of neighbors:
Layer 3 neighbors
Layer 2 neighbors
Routing Table and CDP Protocol
CDP show commands
Show cdp neighbors command
Displays the following information:
Neighbor device ID
Local interface
Holdtime value, in seconds (default 180 Sec.)
Neighbor device capability code (Host/Switch/router etc)
Neighbor hardware platform
Neighbor remote port ID