Cisco Networking
Cisco Networking
Question 1: What are the various ways to access the CLI of a Cisco switch?
There are three primary methods to access the Command Line Interface (CLI):
Detailed Explanation
Console Port: This is a physical connection using a console cable (rollover cable)
directly from a computer to the switch. It is used for initial configuration or when network
access is unavailable (out-of-band management).
Telnet: A protocol used to access the CLI remotely over the network. However, it is
insecure because it sends data, including passwords, in plaintext.
SSH: The preferred remote access method. Like Telnet, it allows network-based access,
but it encrypts all communication, making it secure against eavesdropping.
Auxiliary (AUX) Port: While more common on routers for dial-up modem access, some
older switches may feature this, though it is rarely used today.
Related Concepts
Mnemonics/Quick Tips
Memory Aid: Remember "C.T.S." — Console, Telnet, SSH.
Common Pitfall: Many students forget that SSH and Telnet require a configured SVI
(Switch Virtual Interface) with an IP address, whereas the Console does not.
Detailed Explanation
Logic: Cisco IOS uses a hierarchical mode structure. To make changes to a specific
physical or logical component (like an Ethernet port), you must navigate from Global
Configuration Mode into the specific Interface Configuration Mode for that port.
Command Path: Router(config)# interface [type/number] (e.g., interface gigabitethernet
0/0). Once the prompt changes to Router(config-if)#, you can apply the IP address.
Related Concepts
Global Configuration Mode: The "parent" mode used for settings that affect the whole
device (like the hostname).
User EXEC vs. Privileged EXEC: User mode (>) is view-only; Privileged mode (#)
allows you to view sensitive configurations and enter setup modes.
Mnemonics/Quick Tips
Quick Tip: Look at the prompt! If you see (config-if)#, you are in the right place to
assign an IP.
Common Pitfall: Trying to type the ip address command in the general (config)# mode
will result in an "Invalid input" error.
Detailed Explanation
Related Concepts
RAM vs. NVRAM: RAM holds the "Running Config" (temporary); NVRAM holds the
"Startup Config" (permanent).
Flash Memory: This is another non-volatile area, but it is typically used to store the
Cisco IOS Image (the operating system) rather than configuration files.
Mnemonics/Quick Tips
Question 4: Outline the steps and commands used to assign console password in a switch.
Detailed Explanation
Line Console 0: Switches usually have only one physical console port, designated as "0".
The 'login' Command: This is the step most students miss. Without the login command,
the switch has a password stored, but it will never actually ask the user to enter it.
Related Concepts
VTY Passwords: These are configured similarly (line vty 0 15) but are used for
Telnet/SSH rather than the physical port.
Enable Secret: This protects "Privileged EXEC" mode, whereas the console password
only protects the initial entry into "User EXEC" mode.
Mnemonics/Quick Tips
Quick Tip: Always remember the "Password-Login" duo. If you set a password, you
must tell the line to use it by typing login.
Detailed Explanation
Related Concepts
Layer 4 of the OSI Model: This is where these protocols live. Their job is end-to-end
communication and error recovery.
Port Numbers: Both protocols use port numbers (e.g., Port 80 for HTTP/TCP) to direct
traffic to the correct application.
Question 6: A college is building a new dormitory... students experience only a very short
interruption... What characteristic of the network is shown here?
Fault Tolerance
Detailed Explanation
Redundancy: The reason the network stayed up despite a cut cable is because there was a
redundant path available.
Fault Tolerance: This is the ability of a network to recover quickly from hardware or
link failures without significantly impacting the users. The "short interruption" occurs
while the network (likely using Spanning Tree Protocol) calculates the new path.
Related Concepts
Mnemonics/Quick Tips
Memory Aid: If the network "tolerates" a "fault" (the cut cable), it is Fault Tolerance.
Question 7: When calculating usable hosts per subnet, the following formula is used $2^n -
2$. For what reason is two subtracted?
One address is reserved for the Network Address and the other is reserved for the
Broadcast Address.
Detailed Explanation
Network Address: The very first address in a range (all host bits are 0). It identifies the
subnet itself and cannot be assigned to a PC.
Broadcast Address: The very last address in a range (all host bits are 1). It is used to
send data to every device on that subnet simultaneously.
Related Concepts
$n$ in the formula: This represents the number of host bits remaining after subnetting.
Subnet Mask: The tool that defines where the network bits end and the host bits begin.
Mnemonics/Quick Tips
Quick Tip: The "first" and the "last" are always off-limits for hosts!
Detailed Explanation
Classful Addressing: In the traditional Classful system, Class B addresses range from
[Link] to [Link].
Structure: The first two octets (16 bits) are reserved for the Network, and the last two
octets are for Hosts.
Related Concepts
SECTION B
Detailed Explanation
Processing Power: Just like a PC, a router uses a Central Processing Unit (CPU) to
execute instructions for routing table lookups and packet switching.
Operating System: It runs a specialized OS (Cisco Internetwork Operating System) to
manage hardware resources.
Input/Output: Instead of a keyboard and monitor, its "input/output" consists of network
interfaces (Ethernet, Serial, Fiber) used to receive and forward data packets.
Related Concepts
Cisco IOS: The proprietary software that functions as the router's brain.
Packet Switching: The primary "application" the router's hardware is designed to run.
Mnemonics/Quick Tips
Quick Tip: If it has a "Brain" (CPU) and "Memory" (RAM), it’s a computer
i. CPU: Executes the operating system instructions and handles routing logic.
ii. RAM: Stores the running-config, routing tables, and ARP cache. (Volatile)
iii. ROM: Stores basic diagnostic software (POST) and a limited "boot" version of the OS
(ROMMON).
iv. NVRAM: Stores the startup-config. (Non-volatile)
v. FLASH MEMORY: Stores the full Cisco IOS software image.
Detailed Explanation
The Workflow: During bootup, the ROM runs a diagnostic, then pulls the IOS from
Flash into RAM. Finally, it moves the startup-config from NVRAM into RAM to begin
operation.
Related Concepts
Detailed Explanation
Active State: The running-config contains all the commands currently in effect on the
device. Because RAM is incredibly fast, the router uses it to execute these commands in
real-time.
Volatility: If you turn the router off without saving (using copy running-config startup-
config), all changes made in RAM are lost.
Mnemonics/Quick Tips
Detailed Explanation
Static: Best for small, simple networks or "stub" networks. It is highly secure and uses
zero CPU/bandwidth for updates.
Dynamic: Essential for large, complex networks. If a link goes down, dynamic protocols
"re-route" traffic automatically without human intervention.
Related Concepts
Administrative Distance (AD): Used by the router to decide which route is more
"trustworthy" (Static has an AD of 1, making it very trusted).
Convergence: The time it takes for all routers in a dynamic network to agree on the best
paths.
Mnemonics/Quick Tips
This series of commands enables and secures remote access (Telnet/SSH) to the switch for up
to 16 simultaneous users by setting a required password.
Detailed Explanation
line vty 0 15: Opens 16 virtual terminal lines (0 through 15) for remote connections.
password strongtelnetpass: Sets the specific password required to gain entry.
login: Instructs the switch to actually prompt the user for that password when they try to
connect.
Mnemonics/Quick Tips
Common Pitfall: On an exam, if the login command is missing from a snippet, the
answer is "The password is set but the user will not be prompted to enter it."
SECTION C
Question 1: What is the effect of the following command: Router(config)# router eigrp
autonomous_system_#?
This command starts the EIGRP routing process and assigns it to a specific
Autonomous System (AS) number.
Detailed Explanation
Enabling the Protocol: It moves the router from Global Configuration mode into Router
Configuration mode for EIGRP.
The AS Number: The # must be a number between 1 and 65535. For routers to exchange
EIGRP routing information, they must be configured with the same AS number. If the
numbers don't match, they will not form a neighbor relationship.
Related Concepts
DUAL Algorithm: The mathematical process EIGRP uses to calculate the fastest, loop-
free path.
Successor & Feasible Successor: EIGRP's terminology for the "Primary Route" and the
"Backup Route."
Mnemonics/Quick Tips
Quick Tip: Think of the AS number like a radio frequency; if two routers aren't on the
same channel (AS), they can't hear each other.
Detailed Explanation
LSA (Link State Advertisement): OSPF routers don't just share routes; they share the
state of their links.
Network LSA (Type 2): These are generated by the Designated Router (DR) on a
multi-access network (like Ethernet) to describe all the routers connected to that specific
segment. The command specifically filters the OSPF database to show these Type 2
entries.
Related Concepts
show ip ospf database: The general command to see the entire Link State Database
(LSDB).
Router LSA (Type 1): Information about a specific router and its directly connected
links.
Question 3: How can we connect a normal area to a backbone area if they are not directly
connected?
Detailed Explanation
The Rule: In OSPF, all "Normal" areas (Area 1, 2, etc.) must physically connect to "Area
0" (the Backbone).
The Solution: If a new area is physically separated from Area 0, a Virtual Link is
configured through a "Transit Area" to create a logical tunnel. This tricks the OSPF
process into thinking the remote area is directly attached to the backbone.
Related Concepts
ABR (Area Border Router): The router that sits on the boundary of two areas.
Transit Area: The non-backbone area that the virtual link passes through.
Question 4: Which two ACLs would permit only the two LAN networks attached to R2 to
access the network connected to R1 G0/0?
Detailed Explanation
Related Concepts
Standard vs. Extended ACLs: Standard (used here) only filters by Source IP. Extended
can filter by Source, Destination, and Port.
Implicit Deny: The invisible "deny all" rule at the bottom of every ACL.
Mnemonics/Quick Tips
Wildcard Rule: Wildcard masks are the "inverse" of a subnet mask. If the subnet mask is
[Link], the wildcard is [Link].
Question 5: Refer to the exhibit. What interface and in what direction should you place a
standard ACL that allows printing to P1 from data VLAN 10, but stops the PCs on VLAN
20 from using the P1 printer?
Detailed Explanation
The Rule of Proximity: In Cisco networking, Standard ACLs should be placed as close
to the destination as possible. Since the destination is the P1 printer on VLAN 12, the
closest point is the subinterface on R1 that serves that specific VLAN.
Directional Logic: Traffic flows from the router toward the printer. Therefore, the ACL
must be applied outbound on subinterface G0/1.12 to inspect packets just before they
leave the router to enter the VLAN 12 network.
Filtering: By applying it here, the router can permit traffic originating from the VLAN 10
network (e.g., [Link]/24) and deny traffic originating from the VLAN 20 network
(on R2).
Related Concepts
Inbound vs. Outbound: Inbound ACLs filter traffic before it is routed; Outbound ACLs
filter after the routing decision is made but before the packet is placed on the wire.
Extended ACL Placement: Unlike Standard ACLs, Extended ACLs should be placed as
close to the source as possible to save bandwidth.
Mnemonics/Quick Tips
Detailed Explanation
Address Scarcity: The company has 22 devices but only a /29 subnet from the ISP. A /29
provides only 6 usable public IP addresses.
The Solution: NAT allows the company to use private IP addresses (like 192.168.x.x) for
all 22 internal devices. When these devices go to the Internet, the router translates those
private addresses into the few public addresses available.
PAT (Overload): This specific version of NAT allows hundreds of internal devices to
share a single public IP address by assigning each session a unique source port number.
Related Concepts
Mnemonics/Quick Tips
Quick Tip: Whenever you see more "workstations" than "available public IPs," the
answer is almost always NAT/PAT.
SECTION D
Question 1: What is the full meaning of CPE and what is its function?
Detailed Explanation
Location: CPE refers to any terminal or equipment located physically at the subscriber's
site rather than within the provider's central office.
Functionality: It acts as the bridge between the internal network and the WAN.
Examples include routers, modems, or integrated services devices that translate internal
data into a format suitable for the provider's transmission lines.
Related Concepts
Demarcation Point (Demarc): The physical point where the ISP's responsibility ends
and the customer's equipment begins.
Local Loop: The actual physical connection (copper or fiber) from the CPE to the
provider’s Central Office (CO).
Mnemonics/Quick Tips
Quick Tip: Think of CPE as the hardware that is Close to the People Employing it.
A Channel Service Unit/Data Service Unit (CSU/DSU) acts as a digital interface that
translates the digital signals used on a LAN into the specific signaling used by digital
leased lines like T1 or T3.
Detailed Explanation
CSU Function: Handles the line connection to the digital circuit, providing diagnostic
functions and line conditioning.
DSU Function: Converts the data frames from the router into the bipolar digital format
required for the transmission line and vice versa.
Modern Integration: In modern routers, these are often built-in as WIC (WAN Interface
Cards) rather than external standalone boxes.
1. Leased Lines (Dedicated): Permanent, point-to-point digital links (e.g., T1, T3) that
provide constant bandwidth.
2. Circuit Switched: Connections established only when needed, similar to a telephone call
(e.g., ISDN, PSTN).
3. Packet Switched: Multiple users share the same network provider resources, using
virtual circuits to route data (e.g., Frame Relay, Metro Ethernet).
Detailed Explanation
Leased Lines: Expensive but highly reliable and private. Best for constant heavy traffic
between two fixed locations.
Circuit Switched: Cost-effective for low-volume or backup traffic, as you typically only
pay for the time the "call" is active.
Packet Switched: Efficient use of bandwidth because data is broken into small packets
and multiplexed over shared infrastructure.
Mnemonics/Quick Tips
Question 4: What does the following command do? Router(config-if)# encapsulation hdlc
This command sets the High-Level Data Link Control (HDLC) protocol as the
encapsulation method on a serial interface.
Detailed Explanation
Detailed Explanation
Logical vs. Physical: While the data might travel across various physical switches in the
provider's cloud, the VC ensures it follows a specific logical path.
Types: VCs can be Permanent (PVC), which stay up all the time, or Switched (SVC),
which are created on demand.
Frame Relay encapsulation works by mapping a local DLCI (Data Link Connection
Identifier) to a destination IP address and wrapping the data in a Frame Relay header
before sending it across a virtual circuit.
Detailed Explanation
Related Concepts
Inverse ARP: The process used by Frame Relay to automatically discover the IP address
of the device at the other end of a VC.
2022
1. Hub: A Layer 1 device that broadcasts incoming data to all connected ports; it is largely
obsolete.
2. Switch: A Layer 2 device that uses MAC addresses to forward data only to the specific
destination port.
3. Router: A Layer 3 device that routes data between different networks based on IP
addresses.
Detailed Explanation
Hub: Because it lacks intelligence, it creates a single collision domain, leading to high
network congestion.
Switch: Improves efficiency by creating separate collision domains for every port,
ensuring data only goes where it’s intended.
Router: Functions as the gateway for a local network to communicate with the outside
world (like the Internet).
Related Concepts
Collision Domain: An area where data packets can "collide" if sent at the same time.
Switches solve this; Hubs do not.
Broadcast Domain: An area where a broadcast message reaches all devices. Routers
"break" broadcast domains.
The Correct Answer: VLANs (Virtual Local Area Networks) logically segment a single
physical switch into multiple smaller broadcast domains.
Detailed Explanation: This improves security by isolating sensitive departments (like
Finance) and performance by reducing the size of broadcast domains, so a broadcast in
one VLAN doesn't slow down others.
The Correct Answer: Loops occur when there are redundant physical paths between switches
without a mechanism to manage them.
Detailed Explanation: If two switches are connected via two cables for redundancy, a
broadcast frame will circle between them endlessly. This is called a Broadcast Storm,
which can crash the entire network in seconds.
The Correct Answer: STP (Spanning Tree Protocol) monitors the network for redundant paths
and logically blocks specific ports to create a loop-free "tree" topology.
Detailed Explanation: If a primary link fails, STP detects the failure and automatically
unblocks the backup port to restore connectivity (Fault Tolerance).
i. Router
The Correct Answer: A router determines the best path for data to travel across interconnected
networks using a Routing Table. It connects different subnets and provides a gateway to the
Internet.
ii. Switch
The Correct Answer: A switch connects multiple devices (PCs, printers, servers) within a single
local area network (LAN). It uses MAC addresses to ensure that data is delivered directly to the
correct device on the local segment.
Related Concepts
Default Gateway: The IP address of the router interface that a local device uses to send
data outside its own subnet.
MAC Address Table: The internal list a switch builds to remember which device is
plugged into which physical port.
Mnemonics/Quick Tips
Memory Aid: "Switches are for Local; Routers are for Remote."
Common Pitfall: Many students think a switch and a router are the same. Remember: A
switch "builds" the network; a router "connects" the networks.
SECTION B
Detailed Explanation
Related Concepts
Detailed Explanation
Access Layer: Provides high port density and basic security (like Port Security).
Distribution Layer: Acts as a boundary point where routing, filtering, and WAN access
occur.
Core Layer: Must be highly available and redundant. It should not perform any packet
manipulation (like ACLs) that could slow down traffic.
Question 3: What is the difference between link state routing protocol and distance vector
routing protocol? State 2 examples of each.
Distance Vector: Routers share their entire routing table with neighbors at regular
intervals; they only know the "distance" (metric) and "vector" (direction) to a network.
o Examples: RIP, EIGRP (Advanced Distance Vector).
Link State: Routers share the state of their individual links to build a complete map
(topology) of the entire network.
o Examples: OSPF, IS-IS.
Detailed Explanation
Distance Vector: Often called "routing by rumor" because a router only knows what its
neighbor tells it.
Link State: More CPU-intensive but converges much faster and is less prone to routing
loops because every router has the full "map".
Question 4: Which Cisco IOS command(s) are used to assign password in the privilege
mode access?
Detailed Explanation
Enable Secret: This command uses strong encryption (MD5 or better) to store the
password in the configuration file. It is the industry standard.
Enable Password: This stores the password in plaintext or very weak encryption. If both
are configured, the enable secret takes precedence.
Mnemonics/Quick Tips
Hierarchical Model: "A.D.C." — All Devices Connect (Access -> Distribution ->
Core).
Routing Protocol: Distance Vector is like a signpost (shows direction); Link State is
like a GPS (shows the whole map).
SECTION C
Spanning Tree Protocol (STP) works by identifying redundant paths in a network and logically
blocking specific ports to ensure there is only one active path between any two network nodes.
Detailed Explanation
Election of the Root Bridge: Switches elect a "Root Bridge" based on the lowest Bridge
ID (Priority + MAC address).
Path Calculation: Every other switch calculates the shortest path to the Root Bridge.
Port Roles:
o Root Port: The port on a non-root switch with the best path to the Root.
o Designated Port: The port on a segment that sends traffic toward the Root.
o Non-Designated (Blocking) Port: Ports that would cause a loop are placed in a
blocking state.
Related Concepts
Bridge Protocol Data Units (BPDUs): The messages switches exchange to share STP
information.
Rapid STP (RSTP): An updated version (802.1w) that converges much faster than
original STP.
Question 2: What is the difference in functioning between a trunk port and an access port?
An Access Port belongs to a single VLAN and carries untagged traffic, while a Trunk Port can
carry traffic for multiple VLANs simultaneously by "tagging" the frames.
Detailed Explanation
Access Port: Typically connects to end-devices like PCs or printers. It doesn't need to
know about other VLANs; it just passes traffic for its assigned one.
Trunk Port: Typically connects switch-to-switch or switch-to-router. It uses the IEEE
802.1Q standard to add a small header (tag) to each frame, identifying which VLAN that
data belongs to so the receiving device can sort it correctly.
Mnemonics/Quick Tips
Quick Tip: Access = Single (One user); Trunk = Multiple (Like a car trunk carrying
many bags).
Question 3: What is a native VLAN and explain the concept of router on a stick?
Native VLAN: A specific VLAN on a trunk link that carries all untagged traffic. By
default, this is usually VLAN 1.
Router on a Stick: A configuration where a single physical interface on a router is used
to route traffic between multiple VLANs on a network.
Detailed Explanation
This command series enables the Routing Information Protocol (RIP) and defines which local
networks the router will advertise to its neighbors.
Detailed Explanation
1. Inside Local Address: The actual private IP address assigned to a device on the internal
network (e.g., [Link]).
2. Inside Global Address: The public IP address assigned by the ISP that represents the
internal device to the outside world.
3. Outside Local Address: The IP address of an external host as it appears to the internal
network.
4. Outside Global Address: The actual public IP address assigned to a host on the external
network/Internet.
Detailed Explanation
The Perspective: "Inside" always refers to your organization; "Outside" refers to the
Internet. "Local" is how the address looks inside your walls; "Global" is how it looks to
the rest of the world.
Mnemonics/Quick Tips
Common Pitfall: Students often flip Inside Global and Outside Local. Remember:
Global = Public Internet, Local = Your Private LAN.
SECTION D
Detailed Explanation
Root Bridge Election: Switches exchange Bridge Protocol Data Units (BPDUs) to elect a
"Root Bridge" based on the lowest Bridge ID (Priority + MAC address).
Path Calculation: Every non-root switch determines the "least cost" path to the Root
Bridge.
Port Roles:
o Root Port: The single port on a switch with the best path to the Root.
o Designated Port: The port on a network segment that has the best path to the
Root; it forwards traffic.
o Non-Designated (Blocking) Port: Ports that would create a loop are placed in a
blocking state, where they receive BPDUs but do not forward data.
Related Concepts
Broadcast Storm: The catastrophic result of a Layer 2 loop where broadcast frames
circle the network endlessly, consuming all bandwidth.
Convergence: The process and time required for switches to transition ports through
states (Blocking, Listening, Learning, Forwarding) to reach a stable, loop-free topology.
Mnemonics/Quick Tips
Memory Aid: Think of STP as a Traffic Cop for redundant roads—it shuts down the
extra roads so cars (packets) don't drive in circles.
Question 2: What is the difference in functioning between a trunk port and an access port?
Detailed Explanation
Access Port: Typically used to connect end-user devices (PCs, printers). The device is
unaware of VLANs; the switch handles the membership internally.
Trunk Port: Typically used for switch-to-switch or switch-to-router links. It uses the
IEEE 802.1Q standard to insert a 4-byte "tag" into the Ethernet frame header. This tag
allows the receiving switch to know which VLAN the frame belongs to before stripping
the tag and sending it to the destination.
Related Concepts
VLAN Leaking: A security risk or misconfiguration where traffic from one VLAN ends
up on another, often due to trunking issues.
DTP (Dynamic Trunking Protocol): A Cisco proprietary protocol used to negotiate
trunking between two switches automatically.
Question 3: What is a native VLAN and explain the concept of router on a stick?
Native VLAN: This is a specific VLAN on an 802.1Q trunk link that carries all untagged
traffic. By default, this is VLAN 1.
Router on a Stick: A network configuration where a single physical router interface is
divided into multiple logical subinterfaces to enable routing between different VLANs.
Detailed Explanation
Native VLAN: If a switch receives a frame without a VLAN tag on a trunk port, it
assumes it belongs to the Native VLAN. It is a security best practice to change the Native
VLAN to an unused ID.
Router on a Stick (ROAS): Instead of using a physical interface for every VLAN, the
router interface (e.g., G0/0) is configured with subinterfaces (e.g., G0/0.10 for VLAN 10).
Each subinterface is assigned an IP address that acts as the default gateway for that
specific VLAN.
Question 4: What is the first action to be taken when you realize an attack in your
network?
The first action is to contain the attack by isolating the affected systems or network segments to
prevent the threat from spreading (Lateral Movement).
Detailed Explanation
Isolation: This may involve disconnecting a compromised server from the network,
shutting down specific switch ports, or applying temporary ACLs.
Preservation: While containing the threat, it is vital to avoid rebooting or wiping systems
immediately, as this may destroy volatile evidence (in RAM) needed for forensic analysis
later.
Related Concepts
Incident Response Plan (IRP): A formal, documented set of procedures for what to do
during a security breach.
Hardening: The process of securing a system by reducing its surface of vulnerability
(e.g., closing unused ports).
Question 5: What is the first and most important aspect in network security?
Detailed Explanation
Logic: If an attacker has physical access to your hardware, technical security (passwords,
encryption, firewalls) can often be bypassed. An attacker with physical access can reset
passwords, steal hard drives, or install hardware keyloggers.
Implementation: This includes locking server rooms, using racks with secure doors, and
monitoring entry points with cameras or biometric scanners.
Mnemonics/Quick Tips
Common Pitfall: Many students say "Firewalls" or "Passwords." While critical, these are
"Logical Security." Physical Security is always the foundation.
2023
Question 1: What is the general term that is used to describe a piece of data at any layer of
a networking model?
Detailed Explanation
As data moves down the protocol stack, it is wrapped in specific headers and trailers. Rather than
calling it "data" at every stage, the general term PDU is used. For instance, a PDU at the
Transport layer is a Segment, while a PDU at the Network layer is a Packet.
Related Concepts
Encapsulation: The process of adding headers to data as it moves down the layers.
De-encapsulation: The process of stripping headers as data moves up to the receiving
application.
Mnemonics/Quick Tips
Detailed Explanation
The Internet layer (TCP/IP model) or Network layer (OSI model) is responsible for routing data
across different networks. IPv4 and IPv6 provide the addressing and routing logic, while ICMP
(Internet Control Message Protocol) handles error reporting and diagnostics (like Ping).
Question 3: Which layer of the OSI model defines services to segment and reassemble data
for individual communications between end devices?
Detailed Explanation
The Transport layer is responsible for end-to-end communication. Because application data is
often too large to send as one block, the Transport layer segments it into smaller pieces for
transmission and reassembles those pieces in the correct order at the destination.
Question 4: What process is used to place one message inside another message for transfer
from the source to the destination?
Encapsulation
Detailed Explanation
Think of encapsulation like a Russian nesting doll. A message from an application is placed
inside a Transport layer segment, which is then placed inside a Network layer packet, and finally
inside a Data Link layer frame. This "wrapping" process allows each layer to add the control
information (like IP or MAC addresses) needed for delivery.
Question 5: List two engineering organizations which define open standards and protocols
that apply to the data link layer?
Detailed Explanation
The IEEE is best known for the 802 project, which defines standards like Ethernet (802.3) and
Wi-Fi (802.11). The ISO created the OSI model itself and various data link protocols like HDLC.
Question 6: A technician has been asked to develop a physical topology for a network that
provides a high level of redundancy. Which physical topology requires that every node is
attached to every other node on the network?
Detailed Explanation
In a Full Mesh, every device has a direct physical connection to every other device. This
provides the highest redundancy because if any one link fails, there are always multiple other
paths available. However, it is very expensive and difficult to scale due to the high number of
cables and ports required.
[Link]
Detailed Explanation
A /20 means the first 20 bits are "1"s (Network) and the remaining 12 bits are "0"s (Host).
Question 8: Which subnet mask would be used if exactly 4 host bits are available?
Detailed Explanation
IPv4 has 32 bits total. If 4 bits are for hosts, then 28 bits must be for the network ($32 - 4 = 28$).
1. Network Portion
2. Host Portion
Detailed Explanation
An IP address is hierarchical. The Network portion identifies the specific subnet the device
belongs to (similar to a zip code), and the Host portion identifies the specific device within that
subnet (similar to a house number).
Question 10: If a network device has a mask of /26, how many IP addresses are available
for hosts on this network?
62
Detailed Explanation
SECTION B
Question: An administrator issues the command ip address dhcp on interface G0/1. What is
the administrator trying to achieve?
The administrator is configuring the router interface to dynamically obtain its IPv4
address, subnet mask, and default gateway from a DHCP server.
Detailed Explanation
Dynamic vs. Static: Usually, router interfaces are assigned static IP addresses. By using
this command, the router acts as a DHCP Client. This is common when the router's
interface is connected to an ISP or a larger upstream network that manages address
allocation automatically.
Related Concepts
Detailed Explanation
Because the client does not yet have an IP address or the address of the DHCP server, it
must send a broadcast message ($[Link]$) to find any available server on the
local network segment.
Question: In which location are the normal range VLANs stored on a Cisco switch by
default?
Detailed Explanation
Question: When a Cisco switch receives untagged frames on an 802.1Q trunk port, which
VLAN ID is the traffic switched to by default?
The Correct Answer
Detailed Explanation
Trunk ports expect all frames to have an 802.1Q tag. If a frame arrives without one, the
switch assumes it belongs to the "Native" management VLAN.
Detailed Explanation
The physical interface itself is left without an IP address and is simply turned on (no
shutdown). The actual IP addresses (which serve as default gateways for the VLANs) are
applied to subinterfaces that correspond to each VLAN ID.
Question: What creates the problem of the collision domain? What is the solution?
Problem: Hubs or half-duplex links where multiple devices compete for the same
physical medium.
Solution: Using a Switch and full-duplex communication.
Detailed Explanation
Store-and-forward: The switch receives the entire frame and checks it for errors (CRC)
before forwarding. It is slow but highly reliable.
Fragment-free: The switch reads the first 64 bytes (to ensure no collision occurred) and
then starts forwarding. it is a "middle ground" between speed and reliability.
Detailed Explanation
While standard STP can take 30-50 seconds to transition a port to forwarding, RSTP
(802.1w) can achieve this in a few seconds or less by using a proactive proposal-and-
agreement handshake between switches.
Question: Why must configuration changes be done under the port-channel interface for
existing groups?
Detailed Explanation
If you change a setting (like the allowed VLANs) on just one physical port, the
EtherChannel may become "suspended" due to a configuration mismatch. Applying the
change to the logical Port-Channel interface automatically pushes that configuration to
all bundled physical ports.
Question: What is the difference between LACP and PAgP in terms of the number of
interfaces that may be bundled?
Detailed Explanation
LACP (Link Aggregation Control Protocol) is the industry standard, while PAgP (Port
Aggregation Protocol) is Cisco proprietary.
SECTION C
C2 Question 1: The OSPF hello timer has been set to 15 seconds on a router in a point-to-
point network. By default, what is the dead interval on this router?
60 seconds
Detailed Explanation
By default, the OSPF Dead Interval is four times the Hello Interval. If the Hello timer is
configured for 15 seconds, the router will wait for $15 \times 4 = 60$ seconds without receiving a
Hello packet from a neighbor before declaring that neighbor "down" and removing it from the
routing table.
Related Concepts
OSPF Hello Packet: Used for neighbor discovery and maintaining "keepalive"
connectivity.
Adjacency Requirements: For two routers to become neighbors, their Hello and Dead
timers must match. If they don't, the adjacency will fail.
Mnemonics/Quick Tips
Memory Aid: Think "Four strikes and you're out." The Dead interval gives a neighbor
four chances (Hello periods) to check in.
Detailed Explanation
1. Discovery: When OSPF is enabled on an interface, it sends Hellos to find other OSPF
routers on that segment.
2. Keepalive: Once a relationship is established, Hellos are sent periodically to ensure the
neighbor is still active and reachable.
Related Concepts
LSA (Link State Advertisement): While Hellos find neighbors, LSAs are the packets
that actually share routing information.
DR/BDR Election: In multi-access networks (like Ethernet), Hello packets are used to
elect the Designated Router and Backup Designated Router.
C2 Question 3: Which range represents all the IP addresses that are affected when network
[Link] with a wildcard mask of [Link] is used in an ACE?
Detailed Explanation
To find the end of the range, you add the wildcard mask to the network address:
$10 + 0 = 10$
$120 + 0 = 120$
$160 + 7 = 167$
$0 + 255 = 255$
The wildcard mask [Link] tells the Access Control Entry (ACE) to ignore the last 11
bits of the address ($7$ in the third octet is binary 00000111), meaning any address
starting with the first 21 bits of [Link] will match.
Mnemonics/Quick Tips
Quick Tip: To calculate the range quickly, just add the wildcard octets to the network
address octets.
1. Confidentiality
2. Integrity
3. Availability
Detailed Explanation
Confidentiality: Ensuring only authorized users can access sensitive data (often via
encryption).
Integrity: Ensuring data has not been altered or corrupted during transit or storage (often
via hashing).
Availability: Ensuring that authorized users have reliable and timely access to data and
resources.
C2 Question 10: Which protocol or service can be configured to send unsolicited messages
to alert the network administrator about a network event such as an extremely high CPU
utilization on a router?
Detailed Explanation
While standard SNMP involves a management station "polling" a device for info, an SNMP
Trap is an unsolicited message sent by the device itself to the manager when a specific threshold
(like 90% CPU) is crossed. This allows for real-time alerting without waiting for the next poll.
Related Concepts
Syslog: A similar service that sends system log messages to a central server, but Traps are
more specifically designed for network management alerts.
MIB (Management Information Base): The "dictionary" that defines what data points
the SNMP manager can monitor.
SECTION D
1. Which network security device filters known and suspicious internet malware sites?
Detailed Explanation: A WSA (or a Secure Web Gateway) acts as a proxy for web
traffic. It analyzes the URLs of websites users try to visit against a database of known
malicious sites. It can also perform real-time scanning of web content for malware
signatures.
Related Concepts: URL Filtering (blocking specific addresses) and Reputation
Filtering (blocking sites based on their "trust" score).
Mnemonics/Quick Tips: Think of the WSA as a Web Screening Agent. It guards the
"doorway" to the internet.
2. Which network security device is used to provide secure services with corporate sites and
remote access support for remote users using secure encrypted tunnels?
4. Which security term is used to describe a weakness in a system, or its design, that could
be exploited by a threat?
5. Which WAN term defines the point where the subscriber connects to the service
provider's network?
Detailed Explanation: In a full mesh design, every site is connected directly to every
other site. If one link fails, there are multiple redundant paths for data to travel. It is
highly reliable but very expensive to implement.
Related Concepts: Partial Mesh (more common/cheaper) and Hub-and-Spoke
(vulnerable to a single point of failure at the hub).
Mnemonics/Quick Tips: Mesh = Many paths.
7. What algorithm is used to provide data integrity of a message through the use of a
calculated hash value with a key?
Detailed Explanation: While a standard hash (like MD5 or SHA-256) ensures integrity,
an HMAC adds a secret key. This proves both that the data hasn't been changed
(integrity) and that the sender is who they say they are (authentication).
Related Concepts: Hashing (one-way math functions) and Digital Signatures (which
use asymmetric keys).
Mnemonics/Quick Tips: HMAC = Hash + Message Authentication Code. The "K" for
Key is implied in the "Authentication."
The Correct Answer: To allow a device to receive Power over Ethernet and then "pass it
through" to another downstream device.
10. Which Cloud computing service would be best for an organization that needs to
collaboratively create applications and deliver them over the web?
2024
1. What are the various ways to access the CLI of a Cisco switch?
4. Outline the steps and commands used to assign a console password in a switch.
2. password [yourpassword]
3. login
Detailed Explanation: You enter the console line configuration, set the string, and
crucially, use the login command to tell the switch to actually prompt for that password.
Related Concepts: service password-encryption (to hide passwords in the config file).
Mnemonics/Quick Tips: Don't forget the Login command, or the password will exist but
never be requested!
The Correct Answer: TCP (Transmission Control Protocol) and UDP (User Datagram
Protocol).
Detailed Explanation: TCP is connection-oriented (reliable), while UDP is
connectionless (fast/low overhead).
Related Concepts: Port numbers, Layer 4 of the OSI model.
Mnemonics/Quick Tips: TCP = Takes care (reliable); UDP = Urgent Delivery Possible
(fast).
6. Fiber optic cable cut scenario: What characteristic of the network is shown?
The Correct Answer: To account for the Network Address and the Broadcast Address.
Detailed Explanation: The first address in a subnet represents the network itself, and the
last address is used to broadcast to all hosts. Neither can be assigned to an individual
device.
Related Concepts: Subnetting, IPv4 addressing.
Mnemonics/Quick Tips: One for the Network, one for the Broadcast.
Role of Tracert: To identify the path (hops) taken by a packet to reach a destination and
measure transit delays.
Cisco Equivalent: traceroute
Number of Hops: 5 (The trace shows 5 distinct lines/IPs before "Trace complete").
The Correct Answer: Like a PC, a router has a CPU, memory (RAM/ROM), and an
Operating System (Cisco IOS).
Detailed Explanation: It performs specialized computing tasks—specifically routing
packets—using hardware architecture very similar to a desktop computer.
Static: Manually configured by an admin. Best for small/stable networks. Low overhead.
Dynamic: Routers use protocols (like OSPF or EIGRP) to learn paths automatically. Best
for large/changing networks. High overhead.
The Correct Answer: Configures Telnet/SSH access for 16 concurrent users with the
password "strongtelnetpass".
Need for STP: To prevent Layer 2 loops and broadcast storms in networks with
redundant links.
Root Bridge Election: Switch S2. Why? It has the lowest MAC address
(000A00031111) while all switches share the same default Priority (32768).
Port Nature: Ports on the Root Bridge (S2) are all Designated. Ports facing the root
bridge on other switches are Root Ports. Redundant paths are Blocked.
2. Function of CSU/DSU:
The Correct Answer: To convert digital signals from a router into signals compatible
with a digital leased line (WAN).
3. Three WAN connection types:
4. Point-to-Point Connection:
5. ACL Criteria:
Answer: Source IP, Destination IP, Protocol (TCP/UDP), and Port numbers.
6. Types of Firewalls:
2025
1. How is the message called at the Transport layer of the OSI model?
3. Which subnet mask would be used if exactly 4 host bits are available?
5. If a device has a mask of /31, how many IP addresses are available for hosts?
The Correct Answer: 2 usable host addresses (in specific modern contexts like point-
to-point links) or 0 in traditional math.
Detailed Explanation: Using the formula $2^1 - 2 = 0$. However, RFC 3021 allows /31
for point-to-point links where the "network" and "broadcast" addresses are used as the
two host IPs.
Quick Tip: On Cisco exams, unless specified as point-to-point, /30 is usually the smallest
subnet for hosts.
10. List two engineering organizations which define open standards and protocols for the
data link layer.
The Correct Answer: IEEE (Institute of Electrical and Electronics Engineers) and ISO
(International Organization for Standardization).
The Correct Answer: MAC controls hardware access; LLC handles protocol
identification and flow control.
Detailed Explanation: These two make up Layer 2. MAC deals with physical addresses,
while LLC communicates with the Network Layer.
Section C2: Structural (Routing Protocols)
2. Explain how OSPF operates and which other protocol can you use apart from OSPF?
The Correct Answer: OSPF is a Link-State protocol that uses the Dijkstra algorithm
to build a map of the network. Alternative: EIGRP or RIP.
Detailed Explanation: OSPF routers exchange LSAs (Link State Advertisements) to
ensure every router has the exact same view of the topology.
The Correct Answer: Sharing routing information from one routing protocol into
another.
Detailed Explanation: If a company uses both OSPF and EIGRP, a "boundary router"
must translate routes between them so all networks are reachable.
1. What is the term for the area of a network affected when a device fails?
3. Feature used to combine multiple physical links into one logical link?
The Correct Answer: LCP (Link Control Protocol) establishes and tests the link; NCP
(Network Control Protocol) configures the specific Layer 3 protocols (like IP).
Detailed Explanation: Both are components of PPP (Point-to-Point Protocol).