Skip to content

Network Documentation and Diagramming

Creating accurate network documentation from live devices - essential for troubleshooting, planning changes, and knowledge transfer.

Device Information:

  • Hostname
  • IP address
  • Interface names
  • Device type (Router/Switch/Firewall)
  • IOS version
  • Management access (SSH/Console)

Connection Information:

  • Local interface
  • Remote device
  • Remote interface
  • Link speed (10M/100M/1G/10G)
  • Connection type (Trunk/Access)
  • Allowed VLANs (if trunk)

Network Segmentation:

  • VLAN IDs and names
  • IP subnets per VLAN
  • Gateway addresses

Step 1: Get neighbor information

SW_Core# show lldp neighbors
Device ID Local Intf Hold-time Capability Port ID
SW3 Gig0/1 120 B Gig0/1
SW2 Gig1/1 120 B Gig0/1
SW1 Gig2/1 120 B Gig0/1
Main_L3 Gig3/1 120 R Gig1/0/2

Step 2: Get IP addresses

SW_Core# show lldp neighbors detail | include IP
IP: 10.30.0.6
IP: 10.30.0.5
IP: 10.30.0.4
IP: 10.30.0.1

Step 3: Verify trunk/access mode

SW_Core# show interfaces Gig0/1 switchport | include Mode
Administrative Mode: trunk
Operational Mode: trunk

Step 4: Check link speed

SW_Core# show interfaces Gig0/1 | include BW
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,

Or simpler:

SW_Core# show interfaces status | include Gig0/1
Gig0/1 Trunk to SW3 connected trunk a-full a-1000 1000BaseSX

Example documentation table:

Local DeviceIP AddressInterfaceRemote DeviceRemote InterfaceSpeedTypeVLANs
SW_Core10.30.0.2Gig0/1SW3Gig0/11 GbpsTrunk20,21,22,23,30
SW_Core10.30.0.2Gig1/1SW2Gig0/11 GbpsTrunk20,21,22,23,30
SW_Core10.30.0.2Gig2/1SW1Gig0/11 GbpsTrunk20,21,22,23,30
SW_Core10.30.0.2Gig3/1Main_L3Gig1/0/21 GbpsTrunkAll
Main_L310.30.0.1Gig1/0/1EdgeGig0/0/01 GbpsRoutedN/A
Main_L310.30.0.1Gig1/0/2SW_CoreGig3/11 GbpsTrunkAll
Edge172.16.0.2Gig0/0/0Main_L3Gig1/0/11 GbpsRoutedN/A
Edge172.16.0.2Gig0/0/1SW_Back_01Fa0/2100 MbpsTrunk20
FIREWALL172.16.20.2Gig0/0/1SW_Back_01Fa0/1100 MbpsTrunk20
SW_Back_01172.16.20.5Fa0/1FIREWALLGig0/0/1100 MbpsTrunk20
SW_Back_01172.16.20.5Fa0/2EdgeGig0/0/1100 MbpsTrunk20

Core Layer:

  • Central switching/routing
  • High-speed interconnections
  • Typically multilayer switches or routers
  • Example: SW_Core, Main_L3

Distribution Layer:

  • Aggregates access layer devices
  • Routing between VLANs
  • Policy enforcement
  • Example: SW1, SW2, SW3

Access Layer:

  • End-user device connections
  • VLAN assignment
  • Port security
  • Example: Access switches with PC connections

Identify layers in your documentation:

Core Layer:
- SW_Core (10.30.0.2) - Core switch
- Main_L3 (10.30.0.1) - Layer 3 routing
Distribution Layer:
- SW1 (10.30.0.4) - Access aggregation
- SW2 (10.30.0.5) - Access aggregation
- SW3 (10.30.0.6) - Access aggregation
- SW_Back_01 (172.16.20.5) - Backend distribution
Access Layer:
- Switch ports connected to end devices
- VLANs: 20 (Productie), 21 (KlantenService), 22 (HRM), 23 (Marketing), 30 (IT_Beheer)

Visio/Diagram Elements:

  1. Device Icons:

    • Router (circle with arrows)
    • Layer 3 Switch (square with diagonal line)
    • Layer 2 Switch (square)
    • Firewall (brick wall icon)
    • Server (tower icon)
  2. Connection Labels:

    • Interface names on both ends
    • Speed (1G, 100M, 10G)
    • Link type (Trunk/Access)
  3. Device Labels:

    • Hostname
    • IP address (management)
    • Key role (Core, Distribution, Access)

Example diagram structure (text representation):

Internet
|
[Edge Router]
172.16.0.2
|
Gig1/0/1 (1G, Routed)
|
[Main_L3]
10.30.0.1
L3 Switch
|
Gig1/0/2 (1G, Trunk: All VLANs)
|
[SW_Core]
10.30.0.2
Core Switch
|
+-------------+-------------+
| | |
Gig0/1 Gig1/1 Gig2/1
(1G,Trunk) (1G,Trunk) (1G,Trunk)
VLANs:20-23,30 VLANs:20-23,30 VLANs:20-23,30
| | |
[SW3] [SW2] [SW1]
10.30.0.6 10.30.0.5 10.30.0.4
Distribution Distribution Distribution
| | |
Access Access Access
Ports Ports Ports

VLAN Table:

VLAN IDNameSubnetGatewayDHCP ServerPurpose
20Productie10.20.0.0/1610.20.0.110.30.0.175Production systems
21KlantenService10.21.0.0/1610.21.0.110.30.0.175Customer service
22HRM10.22.0.0/1610.22.0.110.30.0.175HR department
23Marketing10.23.0.0/1610.23.0.110.30.0.175Marketing department
30IT_Beheer10.30.0.0/1610.30.0.110.30.0.175IT management
99Ongebruikt---Unused ports

Switch Port Table (example for SW1):

Port RangeVLANNameConnected Devices
Fa0/1-520ProductieProduction workstations
Fa0/6-1021KlantenServiceCustomer service PCs
Fa0/11-1522HRMHR department PCs
Fa0/16-2023MarketingMarketing department PCs
Fa0/21-2399OngebruiktUnused (disabled)
Fa0/2430IT_BeheerManagement access
Gig0/1TrunkUplinkConnection to SW_Core

Server Inventory:

Server NameIP AddressVLANPurposeProtocols
NTP/Syslog10.30.0.10030Time sync & loggingNTP, Syslog
DHCP10.30.0.17530IP address assignmentDHCP
HTTP10.10.0.100-Intranet web serverHTTP/HTTPS
FTP10.30.0.5030File transferFTP
DNS10.30.0.20030Name resolutionDNS
Controller--Wireless controllerCAPWAP

Comming Soon!!