LESSON PURPOSE

Develop a practical understanding of the management, monitoring, traffic-handling, secure-access, and file-transfer services commonly used to operate Cisco networks. The lesson connects each protocol to its operational purpose and the Cisco IOS commands used to configure, verify, and troubleshoot it.


Lesson Overview

Network operations require more than basic switching and routing. Administrators need visibility into device health, centralized event records, predictable treatment of important traffic, secure remote access, and reliable methods to move configuration or software files.

This lesson introduces SNMP for monitoring and management data, Syslog for centralized event logging, QoS for classifying and controlling traffic behavior, SSH for encrypted CLI access, and TFTP/FTP for network file transfer. It emphasizes protocol roles, commonly used ports, security considerations, basic Cisco IOS configuration concepts, verification commands, and troubleshooting workflow.


Service Scope

Service

Primary Role

Common Transport / Port

SNMP

Monitor/manage devices; counters, status, notifications

UDP 161 queries / 162 traps-informs

Syslog

Centralized event and severity logging

UDP 514 commonly; secure variants may use TCP/TLS

QoS

Classify, mark, queue, police, and shape traffic

Traffic-control function, not one application port

SSH

Encrypted remote CLI administration

TCP 22

TFTP

Simple connectionless file transfer

UDP 69

FTP

Authenticated connection-oriented file transfer

TCP 21 control; TCP data connection

Learning Objectives

• Explain the purpose of SNMP and identify the roles of the SNMP manager, agent, MIB, OID, polling, traps, and informs.

• Differentiate basic SNMP version/security characteristics and recognize why SNMPv3 is preferred when authentication and encryption are required.

• Explain Syslog operation, message severity levels, timestamps, and the value of sending device logs to a centralized Syslog server.

• Describe core QoS functions: classification, marking, queuing/congestion management, policing, and shaping, and explain why QoS becomes important when bandwidth is constrained.

• Configure and verify secure SSH access using local credentials, RSA keys, SSH version 2, and VTY line settings; distinguish SSH from insecure Telnet access.

• Compare TFTP and FTP in terms of transport, authentication, reliability, and typical network-device file-transfer use cases.

• Use common Cisco IOS verification commands to confirm SNMP, Syslog, QoS, SSH, and file-transfer operation.

• Troubleshoot common failures such as unreachable management servers, incorrect community/user settings, missing logging destinations, QoS policy attachment errors, SSH prerequisites, and file-transfer path or permission issues.

CCNA ALIGNMENT — Builds operational knowledge of common IP services and management tools by linking protocol purpose to configuration, verification, troubleshooting, security, and day-to-day network administration.

Pasted content image

Enterprise management and supporting services overview.

Study objective: Understand what each service does, where it operates, how to configure common Cisco IOS/IOS XE examples, and how to verify and troubleshoot it.


1. Management-Plane Foundations

Network services work only after basic IP reachability, routing, addressing, and time are correct. Before troubleshooting an application such as SNMP or FTP, verify the lower layers first. A management VLAN or out-of-band management network is commonly used to separate administrative traffic from user traffic.


Common service ports and transport protocols

Service

Typical transport / port

Purpose

SNMP polling

UDP 161

Manager queries an agent; agent responds.

SNMP traps/informs

UDP 162

Device sends notifications to a manager/receiver.

Syslog

UDP 514 commonly; TCP 514 is also supported by some systems

Centralized event logging.

SSH

TCP 22

Encrypted remote CLI management.

TFTP

UDP 69

Simple file transfer without built-in authentication.

FTP

TCP 21 control; active mode traditionally uses TCP 20 data

Authenticated file transfer; data channel behavior depends on active/passive mode.

QoS

No single application port

Traffic classification/treatment feature applied to interfaces and classes.

Important: Port numbers alone do not prove the application is healthy. Verify routing, ACL/firewall policy, source interface, authentication, service state, and return-path reachability.


2. SNMP - Simple Network Management Protocol

SNMP allows a central management station (an NMS — Network Management Station, e.g., SolarWinds, PRTG, LibreNMS) to monitor and, in some cases, configure network devices such as routers, switches, and servers. Devices expose a tree of manageable variables described by a MIB (Management Information Base); each variable is addressed by an OID (Object Identifier).


Pasted content image

    Figure 2. SNMP manager, agents, polling, and notifications.


2.1 Components

  • Manager (NMS) — the central system that polls devices and/or receives notifications.
  • Agent — software running on the managed device that responds to queries and can send notifications.
  • MIB — a structured, hierarchical database defining what data an agent can report (e.g., interface counters, CPU load, uptime).
  • OID — a dotted-numeric address identifying a specific MIB variable (e.g., 1.3.6.1.2.1.1.3.0 = sysUpTime).

 

2.2 SNMP Operations

  • GET — manager requests the value of a specific OID.
  • GETNEXT — manager requests the next OID in the MIB tree (used to "walk" a MIB).
  • SET — manager changes the value of a writable OID on the agent (used for limited remote configuration).
  • TRAP — agent proactively sends an unsolicited notification to the manager when a significant event occurs (e.g., interface down). Sent without acknowledgment.

INFORM — like a trap, but the receiving manager must acknowledge it; the agent retransmits if no ack is received, making it more reliable over lossy links

 

2.3 SNMP Versions

Version

Authentication / protection

Operational notes

SNMPv1

Community string; no encryption

Legacy. Limited security and capabilities.

SNMPv2c

Community string; no encryption

Common in labs; adds useful protocol improvements such as GetBulk.

SNMPv3

User-based security; authentication and optional privacy/encryption

Preferred for production where supported.


2.3a SNMPv3 security levels

Level

Meaning

noAuthNoPriv

No authentication and no encryption.

authNoPriv

Authentication/integrity, but no privacy encryption.

authPriv

Authentication plus privacy encryption; strongest of the three.


2.4 Basic SNMPv2c Configuration

! Optional management ACL

ip access-list standard SNMP-MANAGERS

 permit 10.10.99.50

!

snmp-server contact Network Operations

snmp-server location Bengaluru-DC

snmp-server community MONITOR-RO RO SNMP-MANAGERS

snmp-server host 10.10.99.50 version 2c MONITOR-RO

snmp-server enable traps

Read-only vs read-write: Use read-only access unless write capability is explicitly required. A write-enabled community can change device objects and should be tightly restricted.


2.5 SNMPv3 Example

snmp-server group NMS-GRP v3 priv

snmp-server user nmsuser NMS-GRP v3 auth sha AuthPass123 priv aes 128 PrivPass123

snmp-server host 10.10.99.50 version 3 priv nmsuser

snmp-server enable traps

The exact authentication/privacy algorithms available depend on the IOS/IOS XE release and platform. Use the device command help and platform documentation in production.


2.6 SNMP Verification

show snmp

show snmp host

show running-config | section snmp

show access-lists SNMP-MANAGERS

ping 10.10.99.50


What to verify

  • The NMS is reachable from the source interface used by the device.
  • The community/user, version, and security level match on both sides.
  • UDP 161/162 is not blocked.
  • Traps are enabled for the desired event classes.
  • The access list permits the correct manager addresses.


3. Syslog - Centralized Logging

Syslog is a standard for forwarding log/event messages from devices to a centralized syslog server, so administrators can review, correlate, and archive logs from many devices in one place rather than logging into each device individually.

Pasted content image

Figure 3. Syslog sources, collector, and severity hierarchy.


3.1 Why Syslog Matters

Syslog records events such as interface state changes, routing-protocol transitions, authentication failures, hardware alarms, configuration events, and debugging output. Central collection makes it easier to correlate events from multiple devices and preserve messages after a device reloads.


3.2 Severity Levels

Level

Keyword

Meaning

0

emergencies

System unusable

1

alerts

Immediate action needed

2

critical

Critical condition

3

errors

Error condition

4

warnings

Warning condition

5

notifications

Normal but significant condition

6

informational

Informational message

7

debugging

Debug-level detail

Threshold rule: If a logging destination is configured for a severity level, it normally receives that level and all numerically lower (more severe) levels. For example, warnings (4) also includes 0-3.


3.3 Syslog Configuration

service timestamps log datetime msec localtime show-timezone

logging buffered 16384 informational

logging host 10.10.99.60

logging trap informational

logging source-interface Loopback0

logging on


3.4 Verification and Troubleshooting

show logging

show clock

show running-config | include logging|service timestamps

ping 10.10.99.60

  • Check timestamps and timezone/NTP so events from different devices can be correlated.
  • Confirm the remote severity threshold is not filtering the event you expect.
  • Confirm the chosen source interface is routable back from the collector.
  • If UDP delivery is used, packet loss may occur without a retransmission mechanism.


4. Quality of Service (QoS)

QoS is a set of techniques for managing bandwidth, delay, jitter, and packet loss so that important or latency-sensitive traffic (voice, video, critical business apps) is treated better than best-effort traffic (bulk downloads, casual browsing) during periods of congestion. QoS does not create bandwidth — it decides who gets priority when bandwidth is scarce.


Key QoS Metrics

Bandwidth — the amount of data that can be transferred per unit time.

Latency (delay) — time for a packet to travel from source to destination.

Jitter — variation in latency between packets; especially damaging to real-time voice/video.

Packet loss — packets dropped in transit, often due to congestion or errors.


Pasted content image

Figure 4. QoS classification and egress treatment at a WAN edge.


4.1 Why QoS Is Needed

QoS does not create bandwidth. It manages contention when traffic demand exceeds available capacity or when certain applications need predictable delay, jitter, or loss behavior. Voice and interactive traffic are usually more sensitive to delay/jitter than bulk file transfers.


4.2 Core QoS Functions

Function

Purpose

Typical Cisco concept

Classification

Identify traffic by ACL, protocol, DSCP, interface, application, etc.

class-map

Marking

Set a field so downstream devices can recognize the class.

DSCP / CoS

Queuing / scheduling

Decide which queued packets transmit first or how bandwidth is shared.

LLQ / CBWFQ concepts

Policing

Enforce a rate by dropping or remarking traffic above a threshold.

police

Shaping

Buffer traffic to smooth transmission toward a configured rate.

shape average

Congestion avoidance

Drop before a queue is completely full to manage congestion behavior.

WRED concepts


4.3 Common Markings

Traffic class

Common example

Notes

Voice bearer

DSCP EF (46)

Often receives strict-priority treatment, sized carefully.

Business / signaling

AF classes such as AF31

Exact marking depends on enterprise policy.

Best effort

DSCP 0

Default class for ordinary traffic.

Layer 2 campus marking

802.1p CoS 0-7

Used in Ethernet/VLAN tagging contexts.


4.4 Modular QoS CLI (MQC) Example

class-map match-any VOICE

 match dscp ef

!

class-map match-any BUSINESS

 match dscp af31

!

policy-map WAN-QOS

 class VOICE

 priority percent 20

 class BUSINESS

 bandwidth percent 30

 class class-default

 fair-queue

!

interface GigabitEthernet0/1

 service-policy output WAN-QOS

 

Platform note: QoS commands and supported queuing features vary by platform, interface type, and software release. The MQC structure - class-map, policy-map, service-policy - is the key configuration model to understand.


4.5 Policing and Shaping Examples

! Example policing action inside a policy class

police 1000000 conform-action transmit exceed-action drop

 

! Example shaping action inside a policy class

shape average 10000000


4.6 Verification

show policy-map

show policy-map interface GigabitEthernet0/1

show class-map

show interfaces GigabitEthernet0/1

  • Verify packets are matching the intended class counters.
  • Check drops/queue depth during congestion, not only when the link is idle.
  • Confirm markings are preserved or intentionally rewritten at trust boundaries.


5. SSH - Secure Device Management

Pasted content image

Figure 5. Secure SSH management path.


5.1 Why SSH Instead of Telnet

SSH provides encrypted remote command-line access to a device, replacing the older, plaintext Telnet protocol. It encrypts the entire session (login credentials and all subsequent commands/output), protecting against eavesdropping and credential theft. SSH uses TCP port 22.

 

5.2 How It Works (High Level)

  • Key exchange — client and server negotiate a shared session key using asymmetric cryptography (e.g., Diffie-Hellman), without ever transmitting the key itself.
  • Server authentication — the client verifies the server's host key (often by trust-on-first-use, or a pre-distributed known_hosts entry) to detect man-in-the-middle attempts.
  • Client authentication — the user authenticates via password or, more securely, public-key authentication (a private key held only by the client, matched against a public key on the server).
  • Encrypted session — once authenticated, all traffic is symmetrically encrypted using the negotiated session key.

 

5.3 Complete IOS/IOS XE SSH Example

hostname R1

ip domain name networktech.local

username netadmin privilege 15 secret Str0ng-Local-Secret

!

crypto key generate rsa modulus 2048

ip ssh version 2

ip ssh time-out 60

ip ssh authentication-retries 3

!

ip access-list standard SSH-MGMT

 permit 10.10.99.0 0.0.0.255

!

line vty 0 15

 login local

 transport input ssh

 exec-timeout 10 0

 access-class SSH-MGMT in


5.4 Verification

show ip ssh

show ssh

show users

show running-config | section line vty

show access-lists SSH-MGMT


5.5 Common SSH Failures

Symptom

Likely checks

Connection timeout

IP reachability, routing, ACL/firewall, TCP 22, VTY access-class.

Connection refused / SSH disabled

RSA keys, hostname/domain, SSH version, platform crypto capability.

Authentication failure

Username/secret, AAA method list, local database, RADIUS/TACACS+ reachability if used.

Telnet still accepted

Check transport input on every applicable VTY range.


6. TFTP and FTP

Pasted content image

Figure 6. Device-to-file-server transfer path.


6.1 TFTP

TFTP is a very simple, lightweight file transfer protocol, historically used to back up and restore device configuration files and IOS images, and for network booting (PXE). It trades away almost all of FTP's features for simplicity and a tiny code/memory footprint — useful for embedded devices, bootloaders, and firmware transfers.


6.2 Key Characteristics

  • Uses UDP port 69 — connectionless, no built-in reliability (any reliability is handled by TFTP's own simple lockstep acknowledgment of each block, not by TCP).
  • No authentication or encryption — a file is either readable/writable by anyone who can reach the server, or not present at all. Never used across untrusted networks.
  • No directory listing or file management commands — just get and put a named file.
  • Transfers data in small fixed-size blocks (traditionally 512 bytes) with a simple ACK per block, making it inefficient for large files over long/high-latency paths compared to FTP.


Common TFTP copy workflows

copy running-config tftp:

copy startup-config tftp:

copy flash: tftp:

copy tftp: running-config

copy tftp: flash:


Example interactive backup

R1# copy running-config tftp:

Address or name of remote host []? 10.10.99.70

Destination filename [r1-confg]? R1-running.cfg


6.2 FTP

FTP is a client-server protocol for transferring files over a network, running on TCP (reliable, connection-oriented — unlike TFTP's UDP).

FTP provides user authentication and separate control/data channels. Traditional FTP is still not encrypted by itself, so credentials and data can be exposed unless the management path is otherwise protected. It can be useful when a file server requires authenticated access.

ip ftp username netbackup

ip ftp password BackupPassword

!

copy running-config ftp:

copy startup-config ftp:

copy flash: ftp:

copy ftp: flash:


6.3 TFTP vs FTP

Feature

TFTP

FTP

Transport

UDP 69

TCP 21 control; separate data channel

Authentication

None built in

Username/password

Encryption

None

None in classic FTP

Complexity

Very simple

More capable / stateful

Typical lab use

Config/image copy

Authenticated config/image copy

Security reminder: Neither classic TFTP nor classic FTP provides modern confidentiality. In production, follow the organization’s approved secure transfer method and management-plane controls.


6.4 Verification and Troubleshooting

ping 10.10.99.70

show ip route 10.10.99.70

show access-lists

show file systems

dir flash:

show logging

  • Confirm the file server service is running and the requested path/filename is valid.
  • Check available flash/storage space before copying an image.
  • Verify routing and ACLs in both directions.

For FTP, verify the username/password and whether the server/network supports the selected active/passive behavior.


7. Integrated Enterprise Lab

Pasted content image

Figure 7. Integrated management-services lab using the same Cisco/Visio-style device icons.


7.1 Addressing Plan

Node

Address / role

R1 management / Loopback0

10.10.99.1/32 - management source

SW1 management SVI

10.10.99.11/24

ADMIN-PC

10.10.99.10/24

NMS

10.10.99.50/24

SYSLOG-SRV

10.10.99.60/24

FILE-SRV

10.10.99.70/24


7.2 Combined R1 Example

hostname R1

ip domain name networktech.local

username netadmin privilege 15 secret Str0ng-Local-Secret

!

interface Loopback0

 ip address 10.10.99.1 255.255.255.255

!

! SSH

crypto key generate rsa modulus 2048

ip ssh version 2

line vty 0 15

 login local

 transport input ssh

 exec-timeout 10 0

!

! SNMP

snmp-server community MONITOR-RO RO

snmp-server host 10.10.99.50 version 2c MONITOR-RO

snmp-server enable traps

!

! Syslog

service timestamps log datetime msec localtime show-timezone

logging host 10.10.99.60

logging trap informational

logging source-interface Loopback0

!

! FTP client defaults

ip ftp username netbackup

ip ftp password BackupPassword


7.3 QoS Policy Example on WAN Interface

class-map match-any VOICE

 match dscp ef

!

policy-map WAN-QOS

 class VOICE

 priority percent 20

 class class-default

 fair-queue

!

interface GigabitEthernet0/1

 service-policy output WAN-QOS


7.4 Verification Workflow

Order

Check

Commands / evidence

1

IP reachability

show ip int brief; show ip route; ping

2

SSH

show ip ssh / show ssh; test from ADMIN-PC

3

SNMP

show snmp / show snmp host; verify polls/traps

4

Syslog

show logging; confirm collector receipt

5

QoS

show policy-map interface; class/drop counters

6

TFTP / FTP

copy small config; verify server filename/size


8. Troubleshooting Method

Use the same ordered method for all management services. Do not begin with the application command if the IP path is not working.

Step

Question

Typical actions

1

Is the interface/link up?

show ip interface brief; show interfaces; check VLAN/port state.

2

Is addressing correct?

Check IP/mask/default gateway/management SVI or loopback.

3

Is there a route?

show ip route <server>; verify return route from server network.

4

Can the server be reached?

ping and traceroute; use the expected source if required.

5

Are ACLs/firewalls blocking it?

show access-lists; check UDP/TCP service ports.

6

Does the service configuration match?

Version, credentials, community/user, severity, filename, QoS classifier.

7

Is the server application listening?

Verify NMS/syslog/TFTP/FTP daemon and server logs.

8

Do device counters/logs confirm traffic?

show logging, show snmp, show policy-map interface, transfer status.


8.1 Fast Fault-Isolation Examples

Failure

Likely cause

First checks

NMS cannot poll SNMP

Version/community/user mismatch or UDP 161 blocked

show snmp; ACL; ping manager

Traps missing but polling works

No traps enabled or wrong trap destination/version

show snmp host; running-config snmp-server

Syslog server receives no messages

logging host missing, severity too restrictive, source not routable

show logging; ping server

QoS counters stay at zero

Classification does not match traffic or policy attached wrong direction/interface

show policy-map interface

SSH timeout

Routing/ACL/TCP 22/VTY ACL

ping; access-list; show ip ssh

SSH auth failure

User/AAA mismatch

show users; running-config AAA/username

TFTP timeout

UDP 69 or server/path problem

ping; server service; ACL

FTP login fails

Username/password or server permission

FTP credentials; server logs

 

9. Exam and Operations Important Points

Topic

Important point

SNMP

UDP 161 is used for normal agent queries; traps/informs are commonly sent to UDP 162.

SNMPv3

Adds user-based authentication and privacy; use authPriv when strong protection is required.

MIB / OID

MIB organizes managed data; OID identifies a specific object.

Syslog severity

0 is most severe; 7 is debugging. A threshold includes the configured level and more-severe levels.

QoS

QoS manages congestion; it does not increase physical bandwidth.

Policing vs shaping

Policing typically drops/remarks excess traffic; shaping buffers/delays traffic toward a target rate.

SSH

Uses TCP 22 and encrypts the management session; `transport input ssh` disables Telnet on VTY lines.

TFTP

UDP 69, simple, no authentication/encryption.

FTP

TCP 21 control with a separate data channel; classic FTP is not encrypted.

Troubleshooting

Always confirm Layer 1/2, IP addressing, route, return path, and ACLs before blaming the application.


Useful Verification Cheat Sheet

! Baseline

show ip interface brief | show ip route | ping <server> | show access-lists

! SNMP

show snmp | show snmp host

! Syslog

show logging

! QoS

show policy-map interface | show class-map

! SSH

show ip ssh | show ssh | show users

! File transfer

show file systems | dir flash:

Final takeaway: SNMP monitors, Syslog records events, QoS controls traffic treatment, SSH provides secure CLI access, and TFTP/FTP move files. All of them depend on correct IP connectivity and management-plane security.

Quick knowledge check

1. Which UDP port is normally used for SNMP polling?

Answer: UDP 161.

2. Which SNMP version provides authentication and privacy options?

Answer: SNMPv3.

3. What is a major security weakness of classic FTP?

Answer: Credentials and data are not encrypted by FTP itself.

4. What is the main difference between policing and shaping?

Answer: Policing enforces a rate mainly by drop/remark; shaping buffers/delays excess traffic.