ensp

Always use when user asks to create, generate, or design a network topology diagram for eNSP (Enterprise Network Simulation Platform), or mentions creating eNSP topologies, network simulations with Huawei devices (AR routers, S5700 switches, PC, Cloud, etc.).

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ensp" with this command: npx skills add forealmy/ensp

eNSP Topology Skill

Generate eNSP (Enterprise Network Simulation Platform) topology files as native .topo files that can be opened directly in eNSP.

How to create a topology

  1. Parse user's request to identify:

    • Network devices (routers, switches, PCs, Cloud, etc.)
    • Connections between devices
    • Optional: text labels, area boxes
  2. Generate UUIDs for each device using a valid UUID v4 format

  3. Calculate layout coordinates for devices using auto-layout algorithm

  4. Build the .topo XML following the format in references/topo-reference.md

  5. Write the file to current directory using Write tool

  6. Open the result - print the file path so user can open it in eNSP

Output format

Always output a .topo file. The user will open it in eNSP for simulation.

Example filenames:

  • simple-network.topo
  • ospf-topology.topo
  • campus-network.topo

Device types supported

Routers

ModelDescriptionInterface Config
AR201RouterEthernet x8 + Ethernet x1
AR1220Router2GE + 8Ethernet
AR2220RouterGE x1 + GE x2 + Serial x2
AR2240RouterGE x1 + GE x2
AR3260RouterGE x1 + GE x2
RouterGeneric RouterEthernet x2 + GE x4 + Serial x4
NE40EEnterprise Router10x Ethernet (slot format)
NE5000ECore Router10x Ethernet (slot format)
NE9000Core Router10x Ethernet (slot format)
R250DRouterGE x1

Switches

ModelDescriptionInterface Config
S3700SwitchEthernet x22 + GE x2
S5700Switch24GE
CE6800Data Center Switch20x GE (slot format)
CE12800Data Center Switch10x GE (slot format)
CXSwitch10x Ethernet (slot format)

Firewalls

ModelDescriptionInterface Config
USG5500FirewallGE x9
USG6000VFirewallGE x1 (slot0) + GE x7 (slot1)

Wireless

ModelDescriptionInterface Config
AC6005Wireless AC8GE
AC6605Wireless AC24GE
AP2050Wireless AP5GE
AP3030Wireless AP1GE
AP4030Wireless AP2GE
AP4050Wireless AP2GE
AP5030Wireless AP2GE
AP6050Wireless AP2GE
AP7030Wireless AP2GE
AP7050Wireless AP2GE
AP8030Wireless AP3GE
AP8130Wireless AP3GE
AP9131Wireless AP2GE
AD9430LTE Module28GE
STAWireless StationWireless
CellphoneMobile DeviceWireless

Endpoints

ModelDescriptionInterface Config
PCPC1GE
LaptopLaptop1GE
ServerServer1Ethernet
ClientClient1Ethernet
MCSMulticast Server1Ethernet
CloudCloud/BNIEthernet interfaces
FRSWFrame Relay SwitchSerial x16
HUBEthernet HUBEthernet x16

Connection types

TypeDescription
CopperEthernet cable
SerialSerial cable
AutoAuto-detect

Layout algorithm

Use a simple grid-based auto-layout:

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.

Adding text labels (txttips)

Common labels for network diagrams:

  • Loopback addresses: Loopback0:10.0.1.1/24
  • Network segments: 10.0.12.0/24
  • Area labels: Area0, Area1, AS 64512
  • Device roles: Core Layer, Access Layer

Adding area boxes (shapes)

Use type="1" shapes with appropriate colors to group devices:

  • Same area devices in one rectangle
  • Different colors for different areas/zones

File naming

  • Use lowercase with hyphens
  • Descriptive name based on topology purpose
  • End with .topo extension

Opening the result

After writing the file, print the absolute path:

Topology saved to: C:\path\to\topology.topo
Please open this file in eNSP to view and simulate.

XML format reference

Consult references/topo-reference.md for complete XML structure including:

  • Device XML format with slots and interfaces
  • Line XML format with interfacePair details
  • Shape XML format for area boxes
  • Txttip XML format for text annotations

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Port Process

通过端口查找和管理系统进程。支持查找占用端口的进程、杀掉占用端口的进程、查看端口使用情况等操作。适用于 macOS 和 Linux 系统。使用场景:(1) "谁占用了 8080 端口",(2) "杀掉占用 3000 端口的进程",(3) "查看当前端口使用情况"。

Registry SourceRecently Updated
2630Profile unavailable
General

Science Sim Author

Generate self-contained interactive science simulations as a single index.html from a SimSpec YAML or JSON. Use when the user asks for physics, chemistry, bi...

Registry SourceRecently Updated
4330Profile unavailable
General

Huaweicloud

华为云架构设计与资源开通。当用户需要设计云架构、推荐华为云服务配置、估算成本、或生成 Terraform 模板时使用此 skill。触发场景:(1) 描述业务需求寻求架构建议,(2) 需要华为云资源配置清单,(3) 需要成本预估,(4) 需要生成 Terraform 模板。

Registry SourceRecently Updated
4932Profile unavailable
General

Otra City

Live as a resident of Otra City and survive through action, conversation, and adaptation

Registry SourceRecently Updated
5120Profile unavailable