Download Networking Technologies: RIP, CDP, Trunk Ports, PAgP, VTP, and Spanning Tree Protocols and more Study notes Network Technologies and TCP/IP in PDF only on Docsity!
ICND2 Study Guide
Tips for the exam
If the exam specifically says "not a Cisco ____" than it is probably asking you about what Cisco defaults are for that type
of device.
HDLC
HDLC is the default for Cisco routers on serial interfaces
HDLC operates at layer 2
HDLC supports error correction and flow control
HDLC does not support a method for authentication
CS-MARS
Cisco Security Monitoring, Analysis, and Response Systems (CS-MARS) is a netflow collector that is used primarily for
security analysis. This is also an EOL appliance.
RIP/RIPv
RIP / RIPv2 automatically summarizes routes at classfull network boundaries
OSPF and IS-IS do not do this
Switches/Switching
CDP (Cisco Discovery Protocol)
CDP operates at layer 2
Exchanges device info such as:
IP addresses
Physical link connectivity
Port identifiers
IOS versions
device capabilities
Native VLAN
duplex and VTP management domain
Commands:
SHOW CDP
Shows CDP hello timer, holdtime and current CDP version being advertised
SHOW CDP NEIGHBORS
Shows directly connected cisco device information including; hostname, local and remote ports, device
capability and platforms
SHOW CDP NEIGHBORS DETAIL
Shows detailed information about directly connected Cisco devices such as IOS versions, VTP management
domain, native VLAN and duplex
CLEAR CDP TABLE
Clears the devices CDP table on the local device and forces it to relearn all directly connected Cisco devices by
inspecting received CDP frames on local interfaces.
CDP TIMER (10-45)
Manually sets the CDP advertisement timer (hello timer) to the specified time in seconds. This command is
configured in global config mode.
CDP HOLDTIME (10-45)
Manually sets the CDP holdtime (dead timer) timer to the specified time in seconds. This command is
configured in global config mode.
RSTP port states
The three states of a RSTP port are:
Discarding
Learning
Forwarding
It does not have these states:
blocking
listening
converged
STP & Etherchannel
STP treats an EtherChannel port group as a single interface, and the physical interfaces that comprise the
EtherChannel config are inconsistent between the switch, or the ports and the port channel interface are placed into a forwarding state.
Spanning tree port cost (and calculation)
After the root bridge election, the root bridge sends out BPDUs with a root cost of 0. Every switch that touches that
frame then adds the cost of the link it received the BPDU on to the BPDU frame cost.
For example Switch1 is root; it sends a BPDU with a cost of 0 out to Switch2. Switch two is using a 1 gig link
between Switch 1 and Switch 2. So upon receiving the root bridges BPDU it adds 4 to the frames cost. The frame now has a cost of 4 (root bridges add nothing to the BPDU cost).
10 Mbps = 100
100 Mbps = 19
1 Gbps = 4
10 Gbps = 2
What if two paths have a cost that ties?
The path will be chosen based on the sending switches bridge ID. The lower sending bridge ID will be the preferred
path.
If the switch receives multiple BPDU's from the same bridge, it then looks at the port ID and chooses the lowest
(this is also known as port priority, default is 128).
802.1Q
TRUE
802.1Q encapsulation type identifies VLAN 1 as the native VLAN by default
802.1Q encapsulation type does not encapsulate the original frame
802.1Q encapsulation type can support multiple spanning tress
TRUE as well
802.1Q encapsulation type does not tag all frames passing through the trunk port
802.1Q encapsulation type is not a Cisco-proprietary encap type
802.1Q encapsulation type does not support up to 1000 VLANS
VLAN Creation
Commands
VLAN
Example: VLAN 20 would create a VLAN 20
Once issued you are placed into VLAN config mode
VLAN VLAN_NAME
This command is issued in VLAN config mode to assign a name to a specific VLAN number
SWITCHPORT ACCESS VLAN
This is issued in the interface command mode & places the switchport in the specified VLAN
SHOW VLAN
This can be issued from the user or privileged mode on a Catalyst Switch to view current VLAN configuration
info
Show spanning-tree vlan
This displays STP info pertaining to an entire VLAN. This does now display info for RSTP.
Configuring a native VLAN
Issuing the command switchport trunk native vlan # on an 802.1Q link will make the # vlan (3 for example) the native
VLAN. When frames sent over this trunk to another switch lack a VLAN tag in the header the receiving switch will know this frame is meant for the Native VLAN. IF they have a vlan tag in the header than the switch redirects those frames to the correct vlan.
Configuring Trunk Ports
COMMANDS
You need one sub-interface on a router for every VLAN that exists on a switch in order to pass traffic for all VLANs
SWITCHPORT MODE TRUNK
This command when executed in interface configuration mode on a switch port will configure the switchport as a
trunk port which carries all VLAN traffic
SWITCHPORT TRUNK ENCAPSULATE ISL
This command is executed in interface configuration mode and tells the trunk link to use the ISL (inter switch
link) encapsulation protocol
SWITCHPORT TRUNK ENCAPSULATE dot1q
VTP MODE SERVER
Executed in global config mode and sets the switch as the VTP Server. This is the default VTP mode for a
new switch with the VTP domain set to NULL
VTP MODE CLIENT
Executed in global config mode and sets the switch as a VTP client which learns its VLAN info from the VTP
server in the specified domain.
VTP domain DOMAINNAME
Executed in global conf mode and sets the VTP domain of a device.
VTP Version
Executed in global conf mode and sets the VTP version of the device
VTP password PASSWORD
Executed in global config mode and sets the VTP password to prevent the unauthorized VTP servers and/or
clients in a particular VTP domain
SHOW VTP PASSWORD
This command can only be executed in priv mode and displays the current VTP password
SHOW VTP STATUS
This command can be executed from user or priv mode to view the current VTP config such as VTP mode,
Domain, Version, Pruning and more.
VTP Transparent Mode and VTP Pruning
Transparent VTP mode does not participate in the VTP domain at all, it will still continue to pass VTP frames from one
switch to the next.
VTP pruning will eliminate or prune VLAN traffic on an inter-switch link basis if that switch does not need to know
about that VLAN.
Commands:
VTP Mode Transparent
Executed in the global conf mode on a cisco cat switch and sets the switch to transparent mode so it does not
participate in VTP at all but it does however pass VTP traffic.
VTP Pruning
Executed in a global conf mode on a cat switch to configure the VTP server to enable the VTP pruning feature
throughout the VTP domain, this setting is also propagated to all VTP clients in the domain
SHOW INTERFACES
Executed in either user or priv mode to view the current pruning list on a per link basis
Show VTP status
Executed from user or priv mode to view the current settings config for VTP
Show interface trunk
Executed from user or priv mode to view which VLANS are being forwarded down the trunk link and not pruned
Per VLAN Spanning Tree (PVST)
Original spec STP is 802.1d is obsolete, not used
Per VLAN spanning Tree (PVST) is Cisco proprietary
The default spanning tree mode is PVST on a cisco cat switch
Spanning Tree uses Bridge Protocol Data Units (BPDU's) to transmit info between switches regarding switch cost and
the root or during election root
Root bridge is elected by the lowest MAC address if the priority is not set (left at default which is 32768) or by the
lowest priority if it is set.
Spanning Tree uses different port modes to avoid layer two loops.
Port types:
Root:
This is the port that receives the "best" BPDU that is closest to the root bridge in terms of path cost. Root
bridges DO NOT have root ports.
Designated:
A port is designated if it can send the best BPDU on the segment to which it is directly connected. Access ports
are considered designated ports.
Alternate:
An alternate port is the next best path available back to the root bridge should a root port fail.
Backup
A backup port is a port that is connected to a segment where another bridge port already connects.
Commands:
Spanning-tree VLAN # root primary
Executed from global conf mode and configs the VLAN specified in the syntax on the switch your currently
configing as the root bridge for the specific VLAN on the network.
Spanning-tree VLAN # root secondary
executed from global conf mode and configs the VLAN specified in the syntax on the switch your currently on as
the backup root bridge should the root bridge fail in the network
Spanning-tree VLAN # priority
Executed from global conf mode and manually sets the bridge priority per vlan on a switch.
SHOW SPANNING-TREE VLAN
Executed in priv mode and displays spanning-tree info relating to a specific VLAN number.
show spanning-tree summary
executed in priv mode and shows a summary of all spanning-tree instances and port counts
show spanning-tree detail
executed in priv mode and displays detailed info on a per port basis of each port participating in a spanning-tree
process
show spanning-tree bridge
Executed in priv mode and displays all spanning-tree processes per VLAN on the switch and other info
including the priority per VLAN, the sum of the bridge priority (VLAN priority + sys-id-ext), Bridge MAC address, timers and effective spanning tree protocol.
Rapid - PVST+
This is known as IEEE 802.1w
Faster convergence times after a topology change compared to PVST
It can revert back to PVST for compatibility
Introduced PortFast
Commands:
SPANNING-TREE MODE RAPID-PVST
Executed in Global config mode to config the switch to use the 802.1w compatible Rapid Per VLAN spanning
tree protocol
Multiple-STP (MST)
MST is usually run in very large environments where PVST would tax a switches resources to heavily
MST is designed in a way that you will have regional STP instance: Example; Boston or Miami
Within each region you will have a revision number, which is locally significant
Nam, instance map and revision number must match in order to build a converged MST topology
With MST you are able to use multiple core switches at a single location by using different instances. For example:
Core switch 1 could be the root bridge for VLANS 1-3-5-7 and Core Switch two could be the root bridge for VLANS 2- 4-6-
MST has its own configuration mode unlike PVST & RPVST+
MST Port modes:
Root:
The port that receives the best BPDU that is closest to the root bridge in terms of path cost. Root BRIDGES DO
NOT HAVE ROOT PORTS
Designated:
A port is designated if it can send the best BPDU on the segment to which is directly connected.
Alternate:
An alternate port is the next best path available back to the root bridge shall the root port fail.
Backup:
A backup port is a port that is connected to a segment where another bridge port is already connected.
Commands:
Spanning-tree mode mst
Executed in global config and configured the switch to use IEEE 802.1s (MSTP)
Spanning-tree MST configuration
Executed in global config mode and places you into MST config mode
Instance # Vlan
Executed within MST config mode and configured an MST instance number and associated VLANs running on
the MST instance
Executed in interface config mode and statically sets the interface link type. This command manipulates the
ports rapid transition processing
spanning-tree port-priority
Executed in interface config mode and statically sets the interface port-priority in a spanning-tree to manipulate
the election of the root port when multiple equal cost links in a given network segment exists.
show spanning-tree vlan
Executed in privileged mode to view the current spanning-tree properties on a per VLAN basis. Used to view
root port, alternate ports, cost, port-priority and port-type.
Switch port Security
If default port security has been enabled:
The switch will discard a packet it receives from an unauthorized MAC, log that unauthorized entry attempt,
increment the Security Violation counter and put the port into err disabled state
These commands are entered in interface config mode. The default mode when switchport port-security is enabled is
shutdown
When a port dynamically learns a MAC address it stores this address in the address table.
It is not stored in the flash, startup or running config
If you issue the show port-security interface # command the "last source address" field is empty it has not yet learned
a MAC address nor has it had a MAC address configured into it.
When you issue switchport port-security command a few things happen by default:
The port security aging time will be configured to zero
Port Security will be configured with the shutdown violation mode
Sticky address learning is disabled
One MAC address will be remembered (no more)
Port Security static aging is disabled
Port Security aging type is configured to absolute
issuing switchport port-security after issuing commands that change the default settings WILL NOT set the security
settings back to default
You can check port security settings using this SHOW COMMAND:
Show port-security interface
Command: switchport port-security mac-address 1111.2222.3333 configures the MAC address as a statically
configured MAC address.
Command: Switchport port-security maximum
This specifies the amount of MAC address a port can learn before enacting a security condition
Command: Switchport port-security violation protect - least intrusive
this configures the switch to discard unauthorized traffic, but perform no other actions
Command: Switchport port-security violation restrict - medium intrusive
This configures the switch to discard all traffic, log the unauthorized attempt, increment the security violation
counter and send a SNMP trap message
Command: Switchport port-security violation shutdown - most intrusive
The switch will discard the traffic, log the unauthorized entry attempt, increment the security violation counter and
place the port into err-disabled state
RSTP port states
An alternate port is a blocked port that receives more useful bridge protocol data units from a port on another switch.
RSTP defines the following four port roles:
Root port
Root port on a switch is the port that receives the best BPDU which indicates the best path to the root bridge.
Designated port
This is the port on a segment that has the best path to the root bridge. One designated port is selected for each
segment. Switches can have more than one designated port, some switches may have no designated ports.
Alternate port
Always in a blocking state. An alternate port receives more useful BPDU's from a designated port located on
another switch.
Backup port
Always in a blocking state. A backup port receives more useful BPDU's from a designated port on the switch
itself.
Show spanning-tree vlan
This will show RSTP port role, status info and port costs in the output.
RSTP link cost defaults
4 Mbps = 250
10 Mbps = 100
16 Mbps = 62
45 Mbps = 39
100 Mbps = 19
155 Mbps = 14
622 Mbps = 6
1 Gbps = 4
10 Gbps = 2
RSTP aging
By Default, RSTP info is aged out after six seconds pass without the switch receiving a bridge protocol data unit
(BPDU).
A switch assumes it has lost connectivity with a neighbor root bridge or neighbor designated bridge after it misses
three BPDU's, which are sent every two seconds by default.
Sub interfaces
Since sub interfaces are logical subdivision of a physical interface, they adopt the physical interfaces current state. So up
= up and down = down. You do not issue shut / no shut on sub interfaces.
Frame Relay
Show commands
Show frame-relay PVC
Show frame-relay LMI
Show frame-relay MAP
This is used to verify the local DLCI that is mapped to each remote IP address son a router.
Show int s#/#/#
Config commands
encap frame-relay
Frame-relay lmi-type Cisco/etc...
int s#/#/#.## point-to-point
ip add 1.1.1.1 255.255.255.
frame-relay interface-dlci
Frame-relay map ip BROADCAST is optional unless a routing protocol requires it.
proper syntax if used is: frame-relay map protocol protocol address dlci-number broadcast IE: frame-relay map IP
1.1.1.1 222 broadcast
Inverse ARP
This protocol is what enables dynamic mappings within frame-relay
Enabled by default on a Cisco interface running frame-relay
Always map the local DLCI to the remote IP address
Example: Frame-relay map ip remote IP address local DLCI (frame-relay map ip 10.10.10.10 123
Frame Relay PVC statuses
Deleted indicates that the DLCI that has been configured on the router is not configured on the frame relay switch.
Static indicates that LMI keepalive messages are disabled but a PVC is otherwise correctly configured.
The command frame-relay map ip address dlci produces a frame relay mapping that shows as static
Active means that the PVC is working and LMI packets are being sent and received.
Inactive means that the PVC is configured but the frame relay switch is sending LMI messages indicated that the
circuit is down; therefore a problem exists on the remote end of the PVC.
When you see deleted in the results of "Show frame-relay PVC" that probably means the DLCI has been miss-
configured on the local router and/or the local router is not using LMI signaling.
By default on a cisco router when frame relay is enabled the interface is configured as a multipoint interface and uses The
Cisco LMI type
Multipoint interfaces can connect a single DTE to multiple remote DTEs across a WAN. Because of this, multipoint
interfaces are preferred in a full-mesh Frame Relay topology.
DLCI's are layer 2 (L2) addresses
DR/BDR's are not elected on a point-to-point network as there are only two routers on the link. DR/BDR are not
elected on a point-to=multipoint network due to OSPF treating the network type as a collection of point-to-point interfaces.
Types of OSPF Interfaces:
Non-Broadcast:
The Non-Broadcast network type is the default for OSPF enabled frame relay physical interfaces
Non-Broadcast networks requires the config of static neighbors; hellos are sent via unicast!
The Non-Broadcast network type has a 30 second hello and 120 second dead timer
An OSPF Non-Broadcast network type requires the use of a DR/BDR
Broadcast:
The broadcast network type is the default for an OSPF enabled Ethernet interface
The Broadcast network type requires that a link support Layer 2 broadcast capabilities
The Broadcast network type has a 10 second hello and a 40 second dead timer
An OSPF Broadcast network type requires the use of a DR/BDR
Point-To-Multipoint
OSPF treats Point-To-Multipoint networks as a collective of point-to-point links
Point-to-multipoint networks do not maintain a DR/BDR relationship
Point-to-Multipoint networks advertise a hot router for all the frame-relay endpoints
The point-to-multipoint network type has a 30 second hello and a 120 second dead timer
Point-To-Multipoint Non-Broadcast
Same as point-to-multipoint but requires static neighbors. Used on Non-broadcast layer 2 topologies
Gives you the ability to define link cost on a per neighbor basis
Loopback
The default OSPF network type; only available to loopback interfaces
Advertises the interface as a host router; changeable by configuring the interface as a point-to-point
For CCNA you need to know the 6 primary LSA types:
Type 1
ROUTER LSA
Generated by all routers in an area and lists the directly connected networks. This specific LSA does not
transmit the ABR/ASBR into other areas.
Type 2
NETWORK LSA
Generated by the DR on a multi-access network such as Ethernet to identify all routers to that network
segment. This LSA type is flooded throughout the local area only. Both Type 1 and Type 2 LSA's advertise Intra-Area routes denotes as (O) Routes in the routing table.
Type 3
SUMMARY LSA
Generated by ABR to describe summary routes to neighboring routers outside of the area such as an
Area 1 ABR summarizing the 10.20.0.0/12 network to Area 0
Type 4
SUMMARY LSA
Generated by ABR to describe Routes to an ASBR to outside neighboring routers. For example an ABR
telling Area 0 that an ASBR is located inside Area 1. LSA's Type 3 and 4 advertise inter-area routes; denoted as (O*IA) routes in the routing table
Type 5
SUMMARY LSA
Generated by an ASBR to describe routes towards an external network such as redistributed networks.
These routes are denoted as (O*E) routes in the routing table.
Type 7
NSSA External LSA
Generated by an ASBR in a Not-So-Stubby-Area network. These LSA's are sent to the ABR which in turn
translates these LSA"s to Type 5 to be sent into the Backbone area. These routes are denoted as (O*N) routes in the routing table.
You must also know these Area types for the CCNA:
Backbone Area
Permits all LSA types except Type 7. This same rule applies to non-backbone, non stub area routers
Stub Area
An area the has a single exit point and blocks type 5 LSA types and receives Type3/4 LSA's with a default
router (0.0.0.0/0)
Not So Stubby Area (NSSA)
This area allows for a stub area to have characteristics of a stub and non stub. External routes redistributed
into the OSPF autonomous system by an NSSA advertising LSA type 7 which is translated the ARB to type 5 and forwarded into the OSPF backbone.
Totally stubby area
Permits type 1 and 2 LSA's while blocking types 3/4/5/7 LSAs. TSA's receive a single type 3 LSA containing
a default route to the ABR.
Totally NSSA
Is an area that permits LSA's 1/2/7 while blocking 3/4/5. This stub area receives a default route from the
ABR using a type 3 LSA
To configure an interface to participate in OSPFv3 (IPv6) you can’t use the network command like you do in OSPFv2. You
have to use the interface command IPv6 OSPF process id area area id Example: IPV6 OSPF 1 area 0
OSPF Path costs
You can represent OSPF area ID's as either whole numbers or dotted decimal notation
For example: Area 0 and Area 0.0.0.0 are the same thing
OSPF does not automatically summarize routes at classfull network boundaries
OSPF does not support unequal cost load balancing (EIGRP does)
OSPF neighbor states
OSPF neighbor begins in down state, when neighbors are in a down state they have not yet sent a hello packet
Neighbor states go in this order:
Down is first
Down to Attempt
Attempt to INIT
INIT to 2-way
2-Way to exstart
Exstart to Exchange
Exchange to Loading
Loading to full
Full is final
INIT state
When a router receives a hello packet from a neighbor router but the hello packet does not contain the receiving
routers ID, the neighbor router is in the INIT state.
When a router is stuck in INIT state it means it has sent hello packets but it has not received any from the neighbor
router
2-way state
When a neighbor router replies with a hello packet that contains the receiving routers ID, it is in a 2-way state.
At the end of the 2-way state the DR and the BDR are elected for broadcast and non-broadcast multi-access
(NBMA)
Exstart state
This state comes after the DR and BDR are elected and neighbor routers form master-slave relationships in order
to establish the method for exchanging link-state info.
If a router is stuck in Exstart state, you should verify whether there is a problem with mismatched MTU settings or
duplicate router IDs
Exchange state
After routers have formed the master-slave relations from the exstart state they then send LSR packets (link-state
request) to request the contents of the neighbor routers OSPF database.
When routers are in exchange state, they are sending database descriptor packets (DBD) to each other. DBD's
contain link-state advertisements headers that describe the contents of the link-state database (LSDB).
Full state
After the OSPF database of neighbor routers are fully synchronized, the routers transition to the full state, which is
the normal OSPF router state.
Routers will periodically send hello packets to indicate it is still functional.
If a router does not receive a hello from a neighbor within the Dead timer interval, the neighbor router will transition
back to the down state.
Extranet:
A site to site VPN tunnel that connects all the computers are two sites of different but partnering organizations
Remote Access:
Connects an individual user to the enterprise network.
Benefits of VPN:
Low cost
Security
Scalable
Comparing encryption algorithms:
DES:
56 bit key length
Older and less secure
Triple DES (3DES)
56x3 bit key length
Applies three different 56-bit DES keys in succession, improving the encryption strength versus DES
Advanced Encryption Standard (AES)
128 & 256 Bit key length
Considered to be the current best practice
HMAC
A mechanism that uses a hash function to verify the integrity of transmitted data
AH (Authentication Header)
An IPSec protocol that verifies the sending device and provides data integrity
AES
A symmetric encryption algorithm that can use a 128-bit, 192-bit, or 256-bit encryption key.
DH
A secure method of exchanging public encryption keys over a public network
ESP
An IPSec protocol that encrypts an IP packet and encapsulates it as the payload of a new packet
GRE (Generic Routing Encapsulation) provides broadcast and multicast packet encapsulation.
GRE is Cisco proprietary
GRE calls for an additional header, along with a new IP header, that encapsulates the original packet
This can create tunnel traffic from one network to another without requiring the transport layer to support the network
protocols in use at the tunnel source.
GRE can transport many different protocols, but lacks security where as IPSec provides a lot of security but can only
transport IP packets.
GRE over IPSec combines the best features of both protocols to securely transport any protocol over an IP network
To create a GRE tunnel:
Step 1: Create a tunnel interface: int tunnel
Step 2: Assign an ip address to the new tunnel interface using the IP address #.#.#.# command
Step 3: Config the tunnels source IP address in the public part of the network with the tunnel source interface
command (this value must match the other routers tunnel destination)
Step 4: Config the tunnels destination IP address in the public part of the network with the tunnel destination ip-
address command (this value must match the IP address used by the other router as its tunnel source IP address)
Step 5: Config the routers to use the tunnel with IP routes, either by enabling a dynamic routing protocol on the tunnel
or by configuring the static route.
PPP (point to point protocol)
PPP is a WAN serial link protocol
PPP can use compression
PPP can be used to setup synchronous or an asynchronous communications
PPP is data link layer protocol, not a network layer protocol
PPP first sends Link Control Protocol (LCP) frames to establish the connection
PPP then sends Network Control Protocol (NCP) frames through the link and enables the link for packet transversal.
PPP does provide error detection for frames traveling through the link (if it receives to many errors the link can be
disabled)
PPP can use both Password Authentication Protocols (PAP) and CHAP, however CHAP is more secure
PPP cannot be used to make a NBMA network because PPP only supports one device on the end of the link
PPP can be used between non-cisco devices (PPP should be used in this circumstance)
This can use Challenge Handshake Authentication Protocol (CHAP) as an authentication protocol and can use
compression to increase effective throughput.
Root Bridge election rules
Root bridge = the bridge with the lowest Bridge ID (BID)
BID = the first two bytes of the bridge priority and a 6 byte MAC address
The Bridge priority is considered first in the election
This can be set by issuing the spanning-tree priority value.
If two switches have a matching bridge ID (priority value, as listed above), then the process looks at the MAC addresses
and picks the lower of the two.
Spanning-tree priority value is how you set a switches priority to control if it becomes a root bridge or not. The default for
this value is 32768. The lower priority wins.
Root Bridge info
All ports on a root bridge are "Designated ports" by default
A Designated port is the port on a switch closest to a root bridge
A designated port is always in the forwarding state, because the path to the root bridge must always remain unblocked
Every nonroot switch has one root port. The root port is the port that receives the best spanning tree protocol (STP) bridge
protocol data unit (BPDU) which indicates the best path to the root bridge
Root ports area also always in a forwarding state
Root bridges do not have root ports
Inverse ARP
Inverse ARP is used to dynamically create permanent virtual circuits (PVC's).
PVC's that are created dynamically by Inverse ARP are marked as dynamic in the output of the show frame-relay map
command
Show frame-relay map can be used to verify the local data-link connection identifier (DLCI), the status of the PVC, the
encapsulation format that is used by the PVC and whether the PVC was manually configured
Reverse ARP is used by a device to obtain its IP address based off from its MAC address.
RARP has been replaced by DHCP
Telnet
When the login command is issued on line configuration mode, the router will not accept incoming telnet connections
unless a password has been configured on the VTY lines.
If you don’t issue the login command, you can access a router via telnet without having to enter a password
PAP and CHAP
PAP = Password Authentication Protocol
You can support a PPP link to support both PAP and CHAP. Issuing the ppp authentication pap chap command will
make a router first try to authenticate with PAP. If PAP is not supported by the other deice, then it will try with CHAP.
CHAP = Challenge Handshake Authentication Protocol
CHAP is more secure than PAP, because the password is never sent over the link
CHAP provides a "three way handshake" for authentication
By default, each router must authenticate with the name of the remote router.
FRAME RELAY
Frame Relay is a WAN technology that can be used to implement a non-broadcast multi-access (NBMA) network. A
NBMA network does not broadcast but it does support multiple devices being connected to the network.
By default, Frame Relay connections on Cisco routers use the Cisco LMI type. To set a routers LMI back to default you
can issue either one of these commands"
no frame-relay lmi-type
frame-relay lmi-type cisco
LMI messages are used for sending status and keepalive information between devices. This is why the LMI type must
match on each end of the link.
LMI types:
ANSI = American National Standard Institute
q933a = type specified by the International Telecommunication Union Telecommunication Standardization Sector
(ITU-T) Q.933 Annex A LMI type.
frame-relay lmi-type ietf contains invalid syntax - the ietf keyword should be used with the encapsulation frame-
relay command
State = The local routers current HSRP state
Active = The interface IP address of the currently-active HSRP router (could say "local" if the local router is
active)
Show standby
is a very detailed explanation of the current HSRP state
VRRP (Virtual Router Redundancy Protocol)
VRRP is a first hop redundancy protocol (FHRP). FHRP are layer three gateway redundancy protocols.
FHRP uses a priority system to elect a primary layer 3 forwarding device, which is known as an Active Virtual Gateway
(AVG), an active router, or a master router, depending on the protocol.
Object tracking enables FHRP's, including VRRP and HSRP to monitor the line protocol state of an interface or the
availability of a path to a specific destination. When the line protocol of the monitored interface goes down or the path becomes unavailable, object tracking allows the FHRP to decrements the priority of the primary FHRP device to a value that is lower than the priority of the secondary device (thus making the secondary become the primary).
Preemption enables the backup/secondary FHRP device to assume the primary role. Without preemption the backup
device will only assume primary role is the primary device fails. When the original primary device returns to functioning status it will not automatically become primary again without preemption being enabled on that device.
How to determine load balancing type and how many routers are used in it
Issue the SHOW IP ROUTE command and look for more than one route to a subnet. If more than one route for a subnet
exists, compare its costs for each route to reach that subnet. If the costs are equal, than it’s using equal cost load balancing. If unequal, then they are using unequal cost load balancing.
How to determine what routing protocol a router will use when multiple types exist
Issue the SHOW IP ROUTE command and look to see what protocols are being run. Static routes take precedence over
all routes IF default administrative distances are kept. EIGRP loses to Static routes but beat OSPF. OSPF loses to both EIGRP internal routes and static routes, but beats external EIGRP routes.
Split Horizon
Split Horizon prevents routers from advertising a route through the same interface from which the route was learned -
prevents routing loops
Split Horizon is "on by default" for all protocols except Frame-Relay and SMDS
To enable, use IP SPLIT-HORIZON
To disable, use NO IP SPLIT-HORIZON
ICMP destination unreachable error messages?
If a router receives a packet that is destined for a remote network that is not listed in the routing table, and neither a static
default route nor a gateway of last resort has been configured, then the packet is dropped and an ICMP destination unreachable error message is sent to the interface which the packets was received.
If no specific route to the destination network exists, the router sends the pack to the gateway of last resort. IF not
gateway of last resort has been configured then the packet is dropped and a destination unreachable error message is sent.
RSTP age out time
By default RSTP info is aged out after six seconds pass without the switch receiving a BPDU. A switch assumes that it
has lost connectivity with a neighbor root bridge or neighbor designated bridge after it misses three BPDU's, which are sent every two seconds.
The SWITCH will age out after 20 seconds by default
To enable RSTP
Type Spanning-tree mode rapid-pvst
OR
Type spanning-tree mode mst
MST is multiple spanning tree which uses RSTP by default
Frame Relay uses...
DLCI's (data link connection identifier) to uniquely identify the connection between the router and the frame relay circuit
The DLCI is only locally significant, the same DLCI can be used twice in a network as long as the same DLCI is not used
at both ends of the same circuit
The discard eligible (DE) bit, which is contained in the frame relay header, may be set on frames that are of lower
importance than other transmitted framed, or when traffic exceeds the committed information rate (CIR)
Backward explicit congestion notification (BECN) bit, which is contained in the frame relay header, indicates that
congestion is occurring in the opposite direction on the link from which the frame was received. When a device receives
frames with the BECN bit set, it can slow down the transmission of frames going the opposite direction to help ease the congestion.
Forward explicit congestion notification (FECN) bit, which is contained in the Frame Relay header, is also used to help
prevent and eliminate congestion from on the Frame Relay Link. When set, the FECN bit indicates that congestion is occurring on the link in the same direction as the frame was traveling
LMI Local management interface is a signaling mechanism used on Frame Relay links to manage the connection.
Keepalive messages are examples of LMI messages. Cisco devices use the Cisco LMI type by default.
Layer 2 vs. Layer 3 protocols
Layer 2 (WAN area protocols):
Frame relay
HDLC = High-level Data link control
Cisco default WAN encapsulation protocol
PPP = Point-to-Point protocol
Layer 3:
OSPF
RIP
EIGRP
What do EIGRP and OSPF have in common?
They both modify their default update message intervals based on the type of link that is established between neighbors
OSPF neighbor states
Exstart state occurs after the 2-way state, and the full state occurs after the loading state.
When an OSPF neighbor router is powered on, it transitions through the following neighbor states:
down
init
2-way
exstart
exchange
loading
full
An OSPF neighbor router begins in a down state; neighbors in down states have not yet sent hello packets.
When a router is stuck in init state it means that it has sent hello packets but it has not received any from the neighbor
router
When a router is in 2-way it has received a hello with the neighbor routers RID in the hello packet.
If a router is stuck in 2-way, look to see if any routers on that segment are set to a priority of 0 which will prevent them
from becoming a DR or BDR
VPN advantages
Cost savings
Encrypted traffic
Easy network expansion
VPN types
Site-to-Site
Creates a tunnel between two remote VPN gateways
Remote access
Used to connect remote clients through the internet to a central network. These must use either a VPN client or an
SSL-based VPN to establish a connection to a VPN gateway
HMAC (Hash-based Message Authentication)
This is a mechanism that uses a hash function to verify the integrity of data transmitted over a VPN.
When a VPN gateway is configured to use HMAC, the gateway uses a shared key in conjunction with a hash function,
such as MD5 or SHA-1, to produce a unique hash for a particular block of data.
Authentication Header (AH) is an IPSec protocol that verifies a sending device and provides data integrity.
This is an open standard
AH is often used in conjunction with the encapsulating security payload (ESP) protocol.
ESP (Encapsulating Security Payload)
This is an IPSec protocol that encrypts an IP packet and encapsulates it as the payload of a new packet.
2 - critical
3 - errors
4 - warnings
5 - notifications
6 - informational
7 - debugging
Syslog does NOT perform better when NTP (Network Time Protocol) is disabled on the network.
EIGRP
When current successor becomes unreachable and no feasible successors exists, EIGRP routers send multicast query
packets to their EIGRP neighbors by using the multicast IP address of 224.0.0.10. These packets are used to interrogate EIGRP neighbors to see if they know of a route to reach the destination now that the current successor has become unreachable.
EIGRP automatically summarizes routes at the classfull network boundaries.
EIGRP supports unequal-cost load balancing (OSPF does not)
Issue the EIGRP auto-summary command on the router that has the interfaces that need to be summarized - not on the
router with the routes in its routing table
EIGRP maintains a neighbor table
lists all of the adjacent routers configured to run EIGRP
EIGRP maintains a topology table
Lists the next hop for all the network destinations known to all the EIGRP neighbors that represent a loop-free path to
that destination. Each of these next-hop destinations is known as a successor
EIGRP topology table also lists successor and feasible successors
The command for this is: show ip eigrp topology
EIGRP calculates Feasible Distance (FD) for each successor. FD = the cost of using that particular next hop to reach the
destination.
successors are always:
Passive:
Passive states are when no route re-computation is necessary. Route re-computation occurs when the network
topology changes due to a link failure or recovery.
Active:
When no feasible successors exist for a destination, the destination will enter the active state and EIGRP will
initiate a route recomputation by using the 224.0.0.10 multicast address to send query packets to all known EIGRP neighbors.
K values are used to calculate the metric used by EIGRP. By default EIGRP uses K1, which is related to bandwidth, and
K3, which is related to delay, to calculate a metric.
To see what values have been set for the K values you would issue the show run command and look for the "metric
weights # # # # # #" output. Default will look like this: "metric weights 0 1 0 1 0 0. If it looks different, the metric weights command has been issued on that router, this can break EIGRP relationships if the other routers do not have the same K values
EIGRP will not form neighbor relationships if...
EIGRP will not form neighbor relationships over a secondary IP address; EIGRP will form neighbor relationship only
over a primary IP address. In order for a relationship to form between routers, the primary IP address must also be in the same subnet.
EIGRP will not form relationship if the Autonomous System Numbers (ASN) do not match
EIGRP will not form relationship if the K values do not match
EIGRP will form neighbor relationship if....
Hello timers do not need to match to form relationships
Default timers on high bandwidth links = 5 seconds
Default timers on a low bandwidth link = 60 seconds
To adjust hello timers you issue ip hello-interval eigrp asn# seconds
Hold timers do not need to match to form relationships
Hold timers are set to three times the default hello timer
Typically this means 15 seconds on high bandwidth links and 180 seconds on low bandwidth links
If you adjust either hello or hold timers you must adjust the other one, they will not adjust themselves automatically
to adjust hold times use ip hold-time eigrp command
When a router has the "passive-interface" command issued on it, Hello packets are not sent nor are they received by
that router. This command suppresses both inbound and outbound hello packets.
IPv
To enable IPv6 on a router you must issue the: ipv6 unicast-routing command.
By default on Cisco routers, IPv6 routing is disabled. It must be enabled before any IPv6 anything can be done!!!
Access-list / Access commands
To apply a ACL use the following command:
access-list # permit/deny ip address wildcard mask
example: access-list 10 permit 192.168.1.2 0.0.0.
The access-class # command applies an access list to a VTY line.
The ip access-group # command applies an access list to a interface (VLAN1 or int Fa0/1)
Needs more work for ICND
Distance commands for OSPF
Distance value command enables you to manually configure the administrator distance of a routing protocol.
Adjusting IP OSPF COST VALUE does not cause the router to prefer an OSPF path over an EIGRP path.
How are delay commands used to perform unequal cost load balancing?
HSRP terms and how it all works
Administrative distance vs. path cost - differences?
Wildcard masks - practice them
First convert the wildcard mask into a normal mask
example: 0.0.0.30 = 255.255.255.224 (30 + 2 = 32, 256-32 = 224)
Host 192.168.100.30 falls into the 192.168.100.1-192.168.100.31 subnet
Therefore all interfaces/ip address in that range would be included in that wildcard mask
subnetting
FRAME-RELAY MAP IP local ip address remote DLCI
Study this! Map is in the beginning, right after the frame-relay command
Objectives ICND
21% 1.0 LAN Switching Technologies
Collapse
1.1 Identify enhanced switching technologies =
1.1.a RSTP =
1.1.b PVSTP =
1.1.c EtherChannels =
1.2 Configure and verify PVSTP operation
1.2.a Describe root bridge election
1.2.b Spanning tree mode
26% 2.0 IP Routing Technologies
Collapse
2.1 Describe the boot process of Cisco IOS routers
2.2 Configure and verify operation status of a serial interface
2.3 Manage Cisco IOS files
2.3.a Boot preferences
2.3.b Cisco IOS image(s)
2.3.c Licensing
2.3.c (i) Show license
2.3.c (ii) Change license
2.4 Differentiate methods of routing and routing protocols
2.4.a Administrative distance
2.4.b Split horizon
2.4.c Metric
2.4.d Next hop
2.5 Configure and verify OSPF (multi-area)
2.5.a Neighbor adjacencies
2.5.b OSPF states