Pcornel
Browse topics
Options
Recent
Favorites
Networking · Technical reference

Network & Protocols

Direct answer

Network protocols are the rules for how devices address each other and forward data: Ethernet, VLANs and spanning tree at Layer 2; IPv4, IPv6, ARP and ICMP at Layer 3; OSPF and BGP for routing; TCP and UDP for transport.

When to use this

Start here to find the right topic for a protocol, or when a fault could be at several layers.

First 30 seconds

1. Which layer is the symptom at: no link, no learning, no address resolution, no route, no session?

2. Read that protocol's state with its show command.

3. Not as expected → open that protocol's topic.

4. As expected → move one layer up.

5. Confirm the fix with the same command.

Operational verification

link and Ethernet framing → VLAN and spanning tree forwarding → ARP/ND resolved → routing protocol adjacent → route installed → transport connection established

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Cisco IOS / IOS XE
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCisco IOS / IOS XE
Scope / prerequisiteStart here to find the right topic for a protocol, or when a fault could be at several layers.
What next?3 suggested next steps
Child topics (this level)15
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification workflow Verify boundary

Use the canonical Commands and Evidence linked to this Topic to verify state directly.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Command lookup Jump straight to Cisco syntax
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic Ethernet & VLANs

Ethernet frame and field formats, 802.1Q tags, VLAN trunks, DTP, the MAC address table and LLDP/CDP.

Subtopic Spanning Tree Protocol Reference

STP, RSTP and MST internals: elections, BPDU fields and flags, proposal/agreement, MST regions and the guard features.

Subtopic EtherChannel & LACP

EtherChannel and LACP internals: PDU fields, state flags, negotiation and load-balance hashing.

Subtopic Interfaces & Physical Layer

Interface counters, optics and DOM values, UDLD, err-disable causes and physical-layer evidence.

Subtopic Layer 2 Security Protocol Reference

Dynamic ARP Inspection, IP Source Guard and storm control in depth.

Subtopic IPv4, ARP & ICMP

ARP and ICMP behaviour and packet fields, including the ARP/ND comparison.

Subtopic IPv6 Protocol Reference

IPv6 header and extension headers, Neighbor Discovery, router advertisements, DAD, NUD, path MTU, MLD, DHCPv6 and RA Guard.

Subtopic OSPF Protocol Reference

OSPF packet, LSA and field formats, neighbor states, network types, DR/BDR, areas, external routes, timers and virtual links.

Subtopic BGP Protocol Reference

BGP messages and capabilities, UPDATE and attribute fields, NOTIFICATION codes, RIB pipeline, aggregation, multipath, graceful restart and prefix limits.

Subtopic Routing, VRF & Redundancy

Static and default routing, redistribution, VRF, BFD and HSRP/VRRP including packet evidence.

Subtopic IP Services & Monitoring

DHCPv4, NAT/PAT, NTP, SNMP, syslog, QoS and SPAN/RSPAN at protocol and packet level.

Subtopic DNS Protocol Reference

DNS header and record fields, SOA, recursive resolution, delegation and glue, negative caching, truncation, EDNS(0) and DNSSEC.

Subtopic Multicast Protocol Reference

IGMP and PIM multicast behaviour with packet evidence.

Subtopic Tunnels & Overlays

GRE and VXLAN encapsulation, headers, VNIs and VTEPs.

Subtopic TCP, UDP & Transport

TCP header, state machine, flow control, retransmission, congestion window, keepalive and teardown, UDP, TLS and QUIC packet evidence.

Key points

Each protocol has a state you can read: a MAC table, a spanning-tree role, an ARP entry, an OSPF neighbour state, a BGP session state, a TCP connection state. Find the first protocol whose state is not what it should be.

Key checks
  • show mac address-table — Layer 2 learning.
  • show spanning-tree vlan <id> — root and port roles.
  • show ip arp / show ipv6 neighbors — next-hop resolution.
  • show ip ospf neighbor — OSPF adjacencies.
  • show bgp ipv4 unicast summary — BGP sessions.
  • show ip route <dst> — the route actually used.
ReferenceWhy it matters1 section · depth on demand

Why it matters operationally

Use this Topic when the current symptom or lookup crosses this technical boundary.

ReferenceHow it works1 section · depth on demand

Quick reference

This section groups the core protocol families that every network depends on, from Ethernet at the bottom to transport protocols at the top. Each family has its own topic area; this overview shows how they fit together and where to look for each one.

Network & protocols overview groups the core protocol families: Ethernet/VLANs/STP/EtherChannel, IPv4/IPv6 with ARP/ND/ICMP, routing (OSPF, BGP, VRFs, FHRP), IP services, DNS, multicast, tunnels/overlays, and TCP/UDP transport.

For troubleshooting, map each symptom to the layer and protocol first; most issues sit at Layer 1–3 (links, VLANs, addressing, routing) before applications are involved.

ReferenceImportant terms & boundaries3 sections · depth on demand

Important limits

Separate configuration, control/state, forwarding/execution and end-to-end outcome.

In depth

Using the Network & Protocols reference

This section groups the protocol reference topics: field-by-field descriptions, state machines and packet evidence for the protocols most networks rely on. They follow one idea from RFC 1122's robustness principle. Implementations must tolerate unexpected values and assume any list of header values may be incomplete, while sending only what the standard allows. Many interoperability problems come down to one side being too strict or too creative.

Protocol reference groups

GroupProtocolsTypical questions
TransportTCP, UDP, TLS, QUICWhy did the connection reset, stall or slow down?
IPv4 and IPv6Headers, ARP, ICMP, ND, DHCP, DHCPv6Why does a host have no address or no gateway?
RoutingOSPF, BGP, EIGRPWhy is a neighbour down, or a route missing?
ServicesDNS, NTP, SNMP, syslogWhy does resolution, time or monitoring fail?
MulticastIGMP, MLD, PIM, MSDPWhy doesn't the stream reach the receiver?
Layer 2 securityDHCP snooping, DAI, RA GuardWhy was a legitimate packet dropped?

How to read a protocol topic

SectionUse
Mental modelWhat the protocol is for and what it keeps track of
FieldsWhat each header field means and which values are normal
VerificationCommands and captures that show the protocol's state
Failure boundariesWhich observation points to which fault

Layering is imperfect (RFC 1122)

Problems often cross layers. A TCP stall can be an MTU issue at the IP layer. A DHCP failure can be a VLAN problem at Layer 2. A DNS timeout can be a firewall dropping UDP fragments. When a topic's checks all pass, move one layer up or down.

host$ sudo tcpdump -ni eth0 -w /tmp/issue.pcap host 10.30.0.15
host$ tshark -r /tmp/issue.pcap -q -z io,phs
host$ tshark -r /tmp/issue.pcap -q -z expert

A protocol hierarchy (io,phs) and the expert summary are a quick way to see which protocols a capture contains, and which of them have anomalies, before opening the relevant reference topic.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Protocol stack quick map

LayerExamplesFirst check
L1/L2Ethernet, Wi-Fi, LACP, STPshow interfaces, errors, MAC table
L3IPv4/IPv6, OSPF, BGPshow ip route <addr>
L4TCP, UDPPort reachability, state
L7DNS, HTTP, TLSName resolution, application response

Work bottom-up when a link or path is new; top-down when one application fails and others work.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCisco IOS / IOS XE Current documentation reviewed 2026-09-14

Authoritative/upstream documentation reviewed for bounded claims in Network & Protocols. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.cisco.com/c/en/us/support/ios-nx-os-software/ios-xe-17/series.html · confidence 94%
Embedded quick reference

Operational notes

Former standalone Cheat Sheet content now lives directly inside the Topic where it belongs.

IPv6 Packet Fields — A4

Base header, ND/RA, extension and PMTUD fields.

Base: Version · Traffic Class · Flow Label · Payload Length · Next Header · Hop Limit · Source · Destination

ND: RS 133 · RA 134 · NS 135 · NA 136 · Redirect 137

PMTUD: ICMPv6 Type 2 Packet Too Big

Check: route → neighbor → RA policy → PMTU → transport

---

Generated/unverified · verify RFC/platform semantics.

DNS Packet Fields — A4

Header, question, RR, EDNS/DNSSEC field lookup.

Header: ID · QR · Opcode · AA · TC · RD · RA · AD · CD · RCODE

Question: QNAME · QTYPE · QCLASS

RR: NAME · TYPE · CLASS · TTL · RDLENGTH · RDATA

Evidence: cache → referral → authoritative answer → validation

---

Generated/unverified.

TCP Packet Fields — A4

Header, flags, options and forensic signals.

Header: ports · Seq · Ack · Data Offset · flags · Window · Checksum

Flags: FIN SYN RST PSH ACK URG ECE CWR

Options: MSS · WS · SACK · Timestamp

Evidence: setup → ACK/RTT → retransmission/SACK → flow control → teardown

---

Generated/unverified.

TLS / QUIC Field Quick Sheet

Modern encrypted-transport packet boundaries.

TLS: record type → ClientHello → ServerHello → extensions → encrypted handshake/application

QUIC: header form → DCID/SCID → packet type → protected packet number → frames

Do not equate encrypted transport establishment with application success.

---

Generated/unverified.

Multicast Control Fields

IGMP, PIM and RPF evidence quick reference.

IGMP: Query / Report / Leave / v3 report

PIM: Hello / Register / Join-Prune

Verification: receiver membership → router state → RP/SPT/RPF → mroute → data-plane capture

---

Generated/unverified.

Physical Layer Evidence Pack

CRC/DOM/UDLD/fiber quick evidence.

1. Capture counter baseline.

2. Reproduce.

3. Measure delta.

4. Read local Tx/Rx + alarms.

5. Read remote Tx/Rx.

6. Compare path loss and optic thresholds.

7. Correlate UDLD/link flaps before swapping hardware.

---

Generated/unverified. Optic thresholds are part-number specific.

Confirmation

Confirm action

Continue?