|
Cisco CCNA
Certification
-
- RIP - Updates 30 secs, Max Hops 15, Invalid 90 secs, Flush 240
secs, metrics hops, load balance 6 equal cost links
- IGRP - Updates 90 secs, max hops 255 (default 100), invalid 3x90
secs, holddown 3x90+10 secs, flush 7x90 secs, metrics bandwidth,
delay, load balance upto 6 unequal cost links.
- When routers are converging no data is sent.
- Frame Relay - 64 kbps - 1.544 Mbps, non-broadcast multi-access
encapsulation (NBMA), dynamic bandwidth allocation, congestion
control. Can use PVC and SVCs, PVC more common. Virtual circuit
established before data sent. Encapsulation Cisco (Default), IETF
(use when connecting non-cisco routers). Static routes are more
stable than IARP.
- Routers are DTE devices by default, DCE interfaces need a clock
rate.
- Telneting uses layers 1-4 so a good test of functionality. If you
type a command the router doesn't know or type and IP address it
will try to resolve the name and telnet.
- Bandwidth command sets cost for serial links. This is only used by
routing protocols so they can 'cost' paths. Default = 1.544kbps (T1)
Command is in Kbps.
- Clock rate command is in bps.
- HDLC - Connection-orientated, operates at the datalink layer,
small overhead, no way of distinguishing network protocols. Every
vendors implementation is different, NO authentication, CISCO
Default over serial lines.
- LAPB - Connection-orientated, datalink layer protocol, HUGE
overhead, uses windowing, used instead of HDLC for error prone
links.
- PPP - industry standard, used when connection between different
vendors devices. NCP to identify network protocol, authentication,
compatible with async + sync links, operates at physical + datalink
layers only. PAP - insecure authentication, CHAP auth provides
initial + periodic auth. PPP compression uses stacker and predictor
methods. Error detection - PPP uses quality and magic number
methods. Multilink - IOS 11.1 only, spreads the load over 2 parallel
circuits (bundle).
- Ethernet 0 is up, line protocol is down - keepalive or framing
issue, check keepalives on both sides should match, check clocking
on DCE, check encapsulation on both ends.
- Ethernet 0 is down, protocol is down, - carrier detect is not
present, other end maybe administratively shutdown or interface or
cable problem.
- Ethernet 0 is administratively shutdown - the 'no shutdown'
command has not been issued on the interface.
- Show interface serial 0 - shows bandwidth, MTU, keepalives.
- MTU default = 1500bytes.
- Bandwidth default = 1.544Kbps (T1)
- Keepalives default = 10 seconds.
- Use a cross over cable to connect devices of the same type (e.g
router Ethernet intf to router Ethernet intf)
- Cross over cables swap pins 1 and 3 RD, and pins 2 and 6 TX
- STP - 10-100Mbps - 100metres
- ScTP - 10-100Mbps - 100metres
- UTP - 10-100Mbps - 100metres
- Coax - Coaxial - 500metres
- Fiber - Single Mode upto 3000metres
- Fiber - Multimode upto 2000metres
- Connectionless protocols rely on application layer protocols for
error handling and delivery.
- EIGRP holds separate routing tables for IP,IPX,Appletalk, but only
uses one protocol to distribute the updates.
- CDP uses SNAP (Subnetwork Access Protocol) to enable neighbouring
devices to exchange data.
- IPX NLSP - link-state routing protocol intended to replace IPX RIP
and SAP
- NCP - Netware Core Protocol - Provides clients with access to
server resources
- IPX SAP - Sent every 60 seconds - includes all known services.
- sap is Cisco default for Token Ring networks, SNAP is default for
FDDI networks
- VTP allows VLANs to be trunked over Ethernet, ATM, LANE or FDDI
- Gigabit Ethernet using Multimode Fibre can run up to 260m
- 100BaseFX up to 400m
- VLAN Management Policy Server - Must be configured with all hosts'
MAC addresses for dynamic allocation.
- Standard ping - 5*100 byte ICMP echos, time out 2 seconds
- DHCP uses UDP packets
- Passive interface command stops interface sending routing updates,
but still receives them.
- 2 ways to configure VLAN membership, statically or dynamically
through VLAN Management Policy Server.
- ISL and Trunk protocol used to configure trunking on a switch.
- Pre 10.3 IOS commands Config Net - copy config from tftp to DRAM
Config Mem - copy NVRAM to DRAM
- IP routing table [administrative distance/composite metric]
- IPX routing table [ticks/hops]
The table below lists the administrative distance default values of
the protocols that Cisco supports.
|
Route Source
|
Default Distance Values
|
|
Connected interface
|
0
|
|
Static route*
|
1
|
|
Enhanced Interior Gateway Routing Protocol (EIGRP) summary
route
|
5
|
|
External Border Gateway Protocol (BGP)
|
20
|
|
Internal EIGRP
|
90
|
|
IGRP
|
100
|
|
OSPF
|
110
|
|
Intermediate System-to-Intermediate System (IS-IS)
|
115
|
|
Routing Information Protocol (RIP)
|
120
|
|
Exterior Gateway Protocol (EGP)
|
140
|
|
On Demand Routing (ODR)
|
160
|
|
External EIGRP
|
170
|
|
Internal BGP
|
200
|
|
Unknown**
|
255
|
* Static route pointing is always 1 regardless if it points to a next
hop IP address or to an outgoing interface
ACCESS CONTROL LISTS (ACL)
Access Control Lists are used to:
- Prioritise traffic
- Restrict or reduce updates
- Provide basic security
- Block types of traffic
Access control list placement
- Standard ACLs - Place as close to destination as possible.
- Extended ACLs - Place as close to source of traffic as possible.
- Only one ACL per port per direction is allowed.
- ACL are more efficient on outbound port.
- If a packet does not match the ACL statement then it will be
implicitly denied.
- Once a packet matches an ACL statement no other checks are made,
it is permitted.
ACL IOS COMMANDS
Standard ACLs - Used to permit or deny an entire protocol suite.
The following two statements have the same effect:
Router(config)# access-list 1 permit 0.0.0.0
255.255.255.255
Router(config)# access-list 1 permit any
The following two statements also have the same effect:
Router(config)# access-list 1 permit 172.30.16.29
0.0.0.0
Router(config)# access-list 1 permit host 172.30.16.29
Extended ACLs - Used to permit or deny specific protocols
Protocol ranges are used in ACL statements to deny specific
protocols. Below are the ones you will need for your CCNA.
| Protocol |
Range |
| IP |
1-99 |
| Extended IP |
100-199 |
| Appletalk |
600-699 |
| IPX |
800-899 |
| Extended IPX |
900-999 |
| IPX SAP |
1000-1099 |
Use the following table to permit or deny specific protocols, ports
or ranges of port numbers, an example ACL follows.
| lt |
Less than |
| gt |
Greater than |
| neq |
Not equal to |
| eq |
Equal to |
Router(config)# access-list 101 deny tcp 172.16.4.0
0.0.255.255 any eq 23
Router(config)# access-list 101 permit ip any any established -
Established keyword used to connect with a TCP established connection.
Named ACLs
Named access control lists are another way of creating ACLs, any
example follows.
Router(config)# ip access-list standard Nik
Router(config std-nacl)# deny any log - used to deny log packets.
Viewing ACLs
Router(config)# show access-lists - shows all access
lists.
Router(config)# show access-list 101 - shows access list 101.
Router(config)# show ip interface - used to find out which access lists
are on which interfaces.
Configuring ACLs on an interface
Router(config)# interface s1
Router(config-if)# ip access-group 1 out /in - out bound is the default.
Removal of ACLs
Router(config)# no access-list 1
Spanning Tree Protocol
The Spanning Tree Protocol was created by DEC (Digital Equipment
Corporation) now Compaq. This is not compatible with the IEEE 802.1d
version which Cisco use.
The Spanning Tree Protocol:
- Prevents loops, loops cause broadcast storms
- Allows redundant links
- Resilient to topology changes
- STA (Spanning Tree Algorithm) - Used to calculate loop-free path
- BPDUs (Bridge Protocol Data Units) are sent and received by
switches in the network every 2 seconds (default) to determine
spanning tree topology.
Bridge Priority - Numerical value held by switches. All
Catalyst switches are 32768
Bridge ID = MAC Address
| Spanning Tree States |
| Blocking |
No frames forwarded, BPDUs heard |
| Listening |
No frames forwarded, listening for frames |
| Learning |
No frames forwarded, learning addresses |
| Forwarding |
Frames forwarded, learning addresses |
| Disabled |
No frames forwarded, no BPDUs heard |
STA - Spanning Tree Algorithm
Spanning Tree Algorithm is used to calculate a loop-free path.
All switch ports are in blocking mode to begin with. It takes approx
30 seconds until packets can be forwarded.
Step 1 : Elect Root Bridge - Lowest bridge priority, if there
is a tie then switch with lowest bridge ID
Step 2 : Elect Root Ports - Locate redundant paths to root
bridge; block all but on root. Root Path Cost is cumulative cost of path
to root bridge. Ports directly connected to Root Bridge will be root
ports, otherwise lowest root path cost used.
Step 3 : Elect Designated Ports - Single port that sends and
receives traffic from a switch to and from Root Bridge - Lowest cost
path to Root Bridge.
Spanning Tree Overview
- There can only be one Root Bridge.
- Root-Bridge ports are called 'Designated' and are set to send and
receive traffic (forwarding state). All other redundant links to the
root bridge are shutdown.
- Blocked ports still receive BPDUs.
- Convergence occurs when switches have transitioned to either
forwarding or blocking states. No other data is forwarded during
this time.
- Forward delay - Time taken for a switch to go from
Listening to Learning (50 seconds default).
- IEEE default priority = 32,768, this is true for all devices
running STP IEEE version.
- Port Fast Mode - Immediately brings a port from blocking to
forwarding state by eliminating forward delays.
- Bridges can only have one spanning tree instance compared to
switches which can have many.
- Bridge Protocol Data Units send confirmation messages using
multicast frames.
|