examples/enterprise-network.md
GitHubEnterprise Network Diagram
Shows a multi-tier enterprise network with DMZ, internal zones, and security layers.
Key Elements
| Component |
Stencil |
| Edge Router |
mxgraph.cisco.routers.router |
| PIX Firewall |
mxgraph.cisco.security.pix_firewall |
| ASA 5500 |
mxgraph.cisco.misc.asa_5500 |
| L3 Switch |
mxgraph.cisco.switches.layer_3_switch |
| Workgroup Switch |
mxgraph.cisco.switches.workgroup_switch |
| Standard Host |
mxgraph.cisco.servers.standard_host |
| Storage Server |
mxgraph.cisco.servers.storage_server |
| Access Point |
mxgraph.cisco.misc.access_point |
| Hub |
mxgraph.cisco.hubs_and_gateways.100baset_hub |
Network Tiers
| Tier |
Role |
Key Devices |
| Core |
High-speed backbone |
L3 switches |
| Distribution |
Policy, security |
PIX firewall, ASA, WAN routers |
| Access |
End-user connectivity |
Workgroup switches, APs, hubs |
Example
Enterprise three-tier network with DMZ, server farm, and campus access:
@startuml
cloud "Internet" as inet
mxgraph.cisco.routers.router "Edge Router" as edge_rtr
mxgraph.cisco.security.pix_firewall "PIX Firewall" as pix_fw
rectangle "DMZ" {
mxgraph.cisco.misc.asa_5500 "ASA 5500" as asa
mxgraph.cisco.servers.standard_host "Web Server 1" as web1
mxgraph.cisco.servers.standard_host "Web Server 2" as web2
}
rectangle "Server Farm" {
mxgraph.cisco.switches.layer_3_switch "L3 Switch" as l3sw
mxgraph.cisco.servers.standard_host "App Server" as app_srv
mxgraph.cisco.servers.storage_server "Storage" as storage
}
rectangle "WAN" {
mxgraph.cisco.routers.router "WAN Router" as wan_rtr
cloud "Branch" as branch
}
rectangle "Campus A" {
mxgraph.cisco.switches.workgroup_switch "Switch A" as sw_a
mxgraph.cisco.misc.access_point "AP" as ap_a
mxgraph.cisco.hubs_and_gateways.100baset_hub "Hub" as hub_a
}
rectangle "Campus B" {
mxgraph.cisco.switches.workgroup_switch "Switch B" as sw_b
mxgraph.cisco.misc.access_point "AP" as ap_b
mxgraph.cisco.hubs_and_gateways.100baset_hub "Hub" as hub_b
}
inet -- edge_rtr
edge_rtr -- pix_fw
pix_fw -- asa
pix_fw -- l3sw
pix_fw -- wan_rtr
asa -- web1
asa -- web2
l3sw -- app_srv
l3sw -- storage
wan_rtr -- branch
l3sw -- sw_a
l3sw -- sw_b
sw_a -- ap_a
sw_a -- hub_a
sw_b -- ap_b
sw_b -- hub_b
@enduml
Pattern Notes
- Three-tier hierarchy — Internet → Edge Router → PIX Firewall → Distribution zones (DMZ, Server Farm, WAN) → Access zones (Campus A, Campus B)
- Zone containers use
rectangle "Zone Name" { ... } to group devices into functional areas — DMZ, Server Farm, WAN, and campus access zones
- DMZ zone places ASA 5500 as the internal firewall protecting web servers
- Server Farm zone contains L3 switch as the distribution hub connecting to app servers and storage
- WAN zone uses router → cloud pattern to represent branch office connectivity
- Campus access zones each contain a workgroup switch with access point and hub downstream — representing wired + wireless user segments
- All edges are bidirectional — using
-- (no arrows) for physical network links
- Cisco stencil family — all devices use
mxgraph.cisco.* icons
| Icon |
Stencil |
Use When |
| VPN Gateway |
mxgraph.cisco.hubs_and_gateways.vpn_gateway |
Remote access VPN |
| Laptop |
mxgraph.cisco.computers_and_peripherals.laptop |
Mobile user endpoints |
| Printer |
mxgraph.cisco.computers_and_peripherals.printer |
Network printers |
| File Server |
mxgraph.cisco.servers.fileserver |
Shared file storage |
| Satellite |
mxgraph.cisco.wireless.satellite |
WAN backup link |
| Branch Office |
mxgraph.cisco.buildings.branch_office |
Remote site icon |