CCNA Explorer 2 Static Routing

From Teknologisk videncenter
Revision as of 19:02, 21 October 2010 by Rael (talk | contribs) (Devices on Directly Conncected Networks)
Jump to: navigation, search

Static Routing

Routers and Network

Examining the Connections of the Router

Connectors
DB60 Connector
Smart Serial Connector
UTP

Examining Router Interfaces

Vis kommandoerne i packet tracer
  • show ip route
  • show interfaces
  • show ip interfaces brief
  • show running-config

Configure an Ethernet Interface

R1(config)#interface fastethernet 0/0
R1(config-if)#ip address 172.16.3.1 255.255.255.0
R1(config-if)#no shutdown
Command interrupted by unsolicited message from IOS
logging synchronous

Verify Ethernet interfaces

show interfaces fastethernet 0/0
show ip interface brief

Router#show running-config
<output omitted>
interface FastEthernet0/0
ip address 172.16.3.1 255.255.255.0
<output omitted>
Router(config-if)#int fa0/1
Router(config-if)#ip address 172.16.3.2 255.255.255.0
172.16.3.0 overlaps with FastEthernet0/0
Router(config-if)#

Configure A Serial Interface

Router(config)#interface serial 0/0/0
Router(config-if)#ip address 172.16.2.1 255.255.255.0
Router(config-if)#no shutdown

Examining Router Interfaces

Telco Connection
Telco Connection

Exploring Directly Connected Networks

Verify Changes to the Routing Table

Router(config)#interface fastethernet 0/0
Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

RT: interface FastEthernet0/0 added to routing table
RT: add 10.0.0.0/24 via 0.0.0.0, connected metric [0/0]
Router(config-if)#end
Router#undebug all

Devices on Directly Conncected Networks

Route table lookup
Route table lookup

Cisco Discovery Protocol (CDP)

Find lag 2 naboer med CDP

CDP

CDP privides the following information:

  • Device identifiers - For example, the configured host name of a switch
  • Address list - Up to one Network layer address for each protocol supported
  • Port identifier - The name of the local and remote port-in the form of an ASCII character string such as ethernet0
  • Capabilities list - For example, whether this device is a router or a switch
  • Platform - The hardware platform of the device; for example, a Cisco 7200 series router

Vis cdp naboer i packet tracer...

Using CDP for Network Discovery

CDP er en sikkerhedsrisiko da den giver information omkring ens udstyr. Det bør derfor slåes fra på porte ud mod brugerne.

Disable globaly:

Router(config)#no cdp run

Disable per interface:

Router(config-if)#no cdp enable