Always use when user asks to create, generate, or design a network topology diagram for eNSP (Enterprise Network Simulation Platform), or mentions creating e...
Generate eNSP (Enterprise Network Simulation Platform) topology files as native .topo files that can be opened directly in eNSP.
Parse user's request to identify:
Generate UUIDs for each device using a valid UUID v4 format
Calculate layout coordinates for devices using auto-layout algorithm
Build the .topo XML following the format in references/topo-reference.md
Write the file to current directory using Write tool
Open the result - print the file path so user can open it in eNSP
Always output a .topo file. The user will open it in eNSP for simulation.
Example filenames:
simple-network.topoospf-topology.topocampus-network.topoModelDescriptionInterface ConfigAR201RouterEthernet x8 + Ethernet x1AR1220Router2GE + 8EthernetAR2220RouterGE x1 + GE x2 + Serial x2AR2240RouterGE x1 + GE x2AR3260RouterGE x1 + GE x2RouterGeneric RouterEthernet x2 + GE x4 + Serial x4NE40EEnterprise Router10x Ethernet (slot format)NE5000ECore Router10x Ethernet (slot format)NE9000Core Router10x Ethernet (slot format)R250DRouterGE x1
ModelDescriptionInterface ConfigS3700SwitchEthernet x22 + GE x2S5700Switch24GECE6800Data Center Switch20x GE (slot format)CE12800Data Center Switch10x GE (slot format)CXSwitch10x Ethernet (slot format)
ModelDescriptionInterface ConfigUSG5500FirewallGE x9USG6000VFirewallGE x1 (slot0) + GE x7 (slot1)
ModelDescriptionInterface ConfigAC6005Wireless AC8GEAC6605Wireless AC24GEAP2050Wireless AP5GEAP3030Wireless AP1GEAP4030Wireless AP2GEAP4050Wireless AP2GEAP5030Wireless AP2GEAP6050Wireless AP2GEAP7030Wireless AP2GEAP7050Wireless AP2GEAP8030Wireless AP3GEAP8130Wireless AP3GEAP9131Wireless AP2GEAD9430LTE Module28GESTAWireless StationWirelessCellphoneMobile DeviceWireless
ModelDescriptionInterface ConfigPCPC1GELaptopLaptop1GEServerServer1EthernetClientClient1EthernetMCSMulticast Server1EthernetCloudCloud/BNIEthernet interfacesFRSWFrame Relay SwitchSerial x16HUBEthernet HUBEthernet x16
TypeDescriptionCopperEthernet cableSerialSerial cableAutoAuto-detect
Use a simple grid-based auto-layout:
text
Grid spacing: 200px horizontal, 150px vertical
Device size: ~80x60px
Start position: (100, 100)
For each row:
- Place devices horizontally with 200px gap
- Move to next row when reaching canvas width (~1200px)
Adjust positions based on device types and connections to create logical groupings.
Common labels for network diagrams:
Loopback0:10.0.1.1/2410.0.12.0/24Area0, Area1, AS 64512Core Layer, Access LayerUse type="1" shapes with appropriate colors to group devices:
.topo extensionAfter writing the file, print the absolute path:
text
Topology saved to: C:\path\to\topology.topo
Please open this file in eNSP to view and simulate.
Consult references/topo-reference.md for complete XML structure including: