Professional Documents
Culture Documents
GUI = Graphical
CLI = Command line interface
OS:
ROMMON = (Stored in ROM chip) (Not an IOS)
-> Debugging, when flash memory erased or corrupted.
-> Put IOS files into flash memory
-> Recover reset password
Startup config:
- NVRAM
-> Stores router config. “IP Adresses, mast to interface”
-> loads from either:
- Ignore startup config in NVRAM
- TFTP
- Load startup in NVRAM = default
KAP 3:
Different modes:
Config Terminal
- Privilaged: EXEC mode
- CLI -> config mode -> Global commands “fx. Hostname”
- Interface mode
-> fx. IP address
Host name:
Hostname =- global config command.
Password
3 = Console, Aux port and Telnet
- “Password command” = Defines characters
- “login command” = tells IOS pass is required
“Enable password” pw
“Enable secret” pw (More secure, saved in MD5)
Trouble shooting:
- Ping, traceroute and telnet commands (best tools)
- Show = EXEC command
- most important IOS command
- show interfaces
- show IP interface brief
-> list interfaces, their IP and status
- show “interface s0/0
-> list the interface, its IP and status
- show IP route
-> routing table
- C = connected
- R = RIP
Kap 4
Show cdp neighbors, Show cdp neighbors detail and show cdp entry “name”
IOS = cdp run / no cdp run
Interfaces = cdp enable / no cdp enable
2 important Timers:
- CDP update interval “default 60 sec”
- CDP holdtime “how long data is valid” “after 180 sec it discards info”
Kap 5
Trouble shooting
- Config register and bootsystem commands may be configured wrong.
- File missing in Flash memory or TFTP?
- TFTP = non working IP route
- Hardware problems
Routing tables
- Connected routes = local connected subnets when routers interface reaches up and up state.
- static routes = Engineer adding IP route command to routers config,
- Dynamic routing protocols = routers dynamicly exchange routing info with each other.
Dial Backup
- Wan Services “often ISDN and BRI”
Routing protocols
- Learn routing information about IP subnets from other neighboring routers.
- Advertise routing information about IP subnets to other neighboring routers.
- If more than one possible route exists to one subnet, pick the best route based on a metric.
- If the network topology changes “fx if a link failes) react by advertising that some routes have
failed and pick new current est route (called convergence)
Routing protocols
Distance vector
- Advertise info about each subnet to their neighbors. The Neighbors in return advertise there info to
their neighbors and so on.
-> RIP sends routing updates every 30 sec.
Link state
-> more info than Distance vector “ = Faster convergense, but more router cpu usage”
Router LSA – Includes a number to identify the router (router ID), the router’s interface IP
addresses. The state (up or down) of each interface, and the cost (metric) associated with the
interface.
Link LSA – Identifies each link (subnet) and the routers that are attached to that link. It also
identifies the state (up or down) of the link.
Metric – Rip uses hop count for the metric. RIP routers add 1 to the metric before advertising the
route.
Periodic – The hourglass icons represent the fact that the updates repeat on a regular cycle. RIP
uses a 30-secon update interval by default.
Full updates – The routers send full updates, every time, instead of just sending new or changed
routing information.
Full updates limited by split horizon rules- The routing protocol omits some routes from the
periodic full updates due to the split horizon rules. Split horizona is a loop-avoidance feature.
Kap 8
IP = Unreliable
TCP = Provide reliability
-> ICMP = echo request/reply (ping)
IP Routing:
-> Needs following info for proper routing. Either static config or dynamically learned via DHCP:
Maximum transmission unit
-> typically 1500 bytes
-> If packet is larger, router fragments into smaller.
-> (TTL field value decrease by 1 at each router from source to Destination.)
-> when TTL decrements TTL field to, packets is discarded and ICMP message is sent.
KAP 9
Trouble shooting:
Layer 1 Tips:
- Broken cables
- Disconnected cables
- Wrong ports
- Wrong cables used for task
- Worng clockrate settings for ports
- Wrong choice of DCE or DTE cable
Layer 2 Tips:
- Improperly configured serial interface
- Improperly configured Ethernet settings
- Improperly configures encapsulation
Cisco routers send out keepalive messages on each interface every 10 sec.
-> When a router dosnt hear such for 30 sec on an interface, the router places the link into an up and
down state.
KAP 10
KAP 11
The extended ACL access-list command must list at least the following three criteria for the
command to be accepted:
- Protocol type (options include IP, TCP and UDP)
- Source address (a wildcard mask can be used, as well as a host and any keywords)
- Destination address (a wildcard mast can be sued, as well as a host and any keywords)