devops-network-infrastructure
Use when the user asks about BGP, anycast, ECMP, leaf-spine fabrics, EVPN/VXLAN, MPLS, SD-WAN, VRRP, MTU and jumbo frames, QoS, IPv6 dual-stack, or transit vs…
от j4flmao★ 47 звёзд на GitHub
Установить devops-network-infrastructure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
DevOps Network Infrastructure
Purpose
Design networks that survive single-link, single-device, single-carrier, single-POP failures while delivering wire-rate throughput. Cover BGP for multi-homing and anycast, leaf-spine for east-west scale, EVPN/VXLAN for L2 stretch, MPLS / SD-WAN for branch, and VRRP/HSRP for L2 redundancy.
Agent Protocol
Trigger
Exact user phrases: "BGP", "anycast", "ECMP", "leaf-spine", "EVPN", "VXLAN", "MPLS", "SD-WAN", "VRRP", "HSRP", "CARP", "multi-homing", "transit", "peering", "IX", "internet exchange", "AS number", "prefix filter", "MED", "LOCAL_PREF", "DDoS scrubbing", "blackhole route", "jumbo frames", "MTU", "network fabric", "spine", "leaf", "Clos", "QoS".
Input Context
- Current topology + scale (rack count, links)
- Carrier mix (transit, peering, IX)
- Own AS number? PI / PA address space?
- Workloads (east-west heavy: storage / k8s; north-south heavy: web; both)
- Geographic POPs / regions / sites
- Compliance / latency requirements
Output Artifact
Network design with topology diagram, addressing, BGP policy, MTU plan, redundancy proof.
Response Format
Topology: {leaf-spine | hub-spoke | full-mesh}
Underlay: {BGP unnumbered | OSPF | ISIS}
Overlay: {EVPN/VXLAN | none}
North-south: {2+ transit, ≥1 IX, BGP multi-home}
Failure domains: {rack / row / pod}
MTU: {core 9216, edge 1500}
No preamble. No postamble. No explanations.
Completion Criteria
- Redundant uplinks (≥ 2 carriers; ≥ 2 fiber entries to building)
- BGP policy: prefix filter, AS path filter, RPKI ROA validation
- Anycast for stateless services where applicable
- Leaf-spine sized for non-blocking fabric (oversubscription documented)
- L2 redundancy via MLAG/VPC + VRRP/HSRP
- Consistent MTU policy across underlay
- IPv6 dual-stack
- Monitoring: BGP neighbor state, interface errors, throughput
Architecture Decision Trees
Fabric Topology Selection
| Topology | East-West BW | Scalability | Cost | Best For |
|---|---|---|---|---|
| Leaf-spine (Clos) | Excellent | 1000s of nodes | Medium-High | Modern DC, storage, K8s |
| Hub-spoke | Poor | <100 nodes | Low | Branch offices, small DC |
| Full-mesh | Excellent | <8 nodes | Low (small) | Small clusters only |
| 3-stage Clos | Excellent | ~500 racks | Medium | Most DC deployments |
| 5-stage Clos | Excellent | 1000+ racks | High | Hyperscale |
Underlay Routing Protocol Comparison
| Protocol | Convergence | Complexity | ECMP | Best For |
|---|---|---|---|---|
| BGP unnumbered | Sub-second (BFD) | Low | Yes (up to 128-way) | Modern DC, FRR/SONiC |
| OSPF | Seconds | Low | Yes (up to 32-way) | Small-medium, classic |
| ISIS | Sub-second | Medium | Yes (up to 128-way) | ISP, hyperscale |
| Static | None | Lowest | No | Edge, simple branches |
BGP Route Policy Decision Tree
Ingress preference:
Is peer at IX?
├── Yes → LOCAL_PREF 200 (cheaper peering)
└── No → Is peer transit?
├── Yes → LOCAL_PREF 100 (paid transit)
└── No → LOCAL_PREF 50 (backup)
Egress preference:
Is prefix ours?
├── Yes → MED 100, prepend AS once
└── No → Do we need AS prepend?
├── Yes → prepend 2-3 times for less-preferred path
└── No → standard MED
Overlay Protocol Comparison
| Protocol | L2 Stretch | L3 Isolation | Control-Plane | Best For |
|---|---|---|---|---|
| EVPN/VXLAN | Yes | 16M VNIs | BGP MP-BGP | Multi-tenant DC |
| VLAN | Yes | 4094 VLANs | STP/RSTP | Simple L2 networks |
| MPLS L3VPN | No | Yes | LDP/RSVP-TE | ISP, WAN |
| VXLAN (static) | Yes | 16M VNIs | Static | Simple overlay |
| Geneve | Yes | 16M+ VNIs | EVPN | Modern, extensible |
Network Vendor Comparison
| Vendor | Switching | Routing | Automation | Best For |
|---|---|---|---|---|
| Arista | EOS VXLAN/EVPN | BGP, ISIS | CloudVision, eAPI | DC leaf-spine |
| Cisco Nexus | NX-OS VXLAN/EVPN | BGP, OSPF | NX-API, Ansible | Enterprise DC |
| Juniper | Junos EVPN | BGP, ISIS | PyEZ, Ansible | ISP, large DC |
| FRR (Linux) | Linux bridge | BGP, OSPF | Ansible, Cumulus | White-box, DIY |
| SONiC | Switch abstraction | BGP | Redis DB, K8s | Hyperscale, OCP |
| Aruba CX | VSX, EVPN | BGP, OSPF | AOS-CX Ansible | Campus + DC |
Quick Start
Leaf-spine topology → BGP unnumbered underlay → EVPN/VXLAN overlay (if needed) → BGP multi-homing for north-south → Anycast for DNS/API → VRRP for L2 redundancy → MTU 9216 core → Monitoring with Prometheus + SNMP.
Core Workflow
Step 1: Pick Fabric Topology
Leaf-spine (Clos)
All leaves connect to all spines. East-west predictable. Most modern DCs.
Scale: add more spines/leaves; non-blocking with right oversub ratio.
Hub-spoke
One core, many edges. Good for small / branch; bad for east-west.
Full-mesh
All-to-all links. Only for small clusters; doesn't scale beyond ~8 nodes.
3-stage Clos (leaf-spine) small/medium DC
5-stage Clos (super-spine added) hyperscale (1000s of racks)
Spine-1 Spine-2 Spine-3 Spine-4
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/bgp-anycast.md
- references/leaf-spine.md
- references/network-infrastructure-advanced.md
- references/network-infrastructure-fundamentals.md
- references/network-monitoring.md
- references/vrrp-hsrp.md
FAQ
Что делает скилл devops-network-infrastructure?
Use when the user asks about BGP, anycast, ECMP, leaf-spine fabrics, EVPN/VXLAN, MPLS, SD-WAN, VRRP, MTU and jumbo frames, QoS, IPv6 dual-stack, or transit vs peering at an IX. Produces data center and WAN network designs with verified failover. Not for cloud VPC design (use aws or devops-gcp) or service mesh (use devops-service-mesh).
Как установить скилл devops-network-infrastructure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл devops-network-infrastructure запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…