How the Controller Discovers Topology

In a Software-Defined Network (SDN), the Controller builds this topology map automatically using LLDP (Link Layer Discovery Protocol).

  1. The Controller crafts LLDP packets and sends them to all connected switches (Packet-Out).
  2. Switches forward these packets out of their active ports.
  3. When a neighboring switch receives the LLDP packet, it sends it back to the Controller (Packet-In).
  4. By matching the sender and receiver port IDs inside these packets, the Controller dynamically maps out all links and builds the complete topology graph.

Configuration Editor

Enter your configurations, JSON datasets, or flow rules below. The controller will process these rules during simulation.

TCAM Rule Placement Optimizer

Map your SDN rules to specific switch nodes. Optimize rule distribution to prevent Ternary Content-Addressable Memory (TCAM) exhaustion on edge switches.

Rule Category Target Node(s) Est. TCAM Usage Placement Status
Stateful Firewall Edge / Leaf Switches
85% (Critical)
Needs Re-routing
DDoS ACL Core / Spine Switches
30%
Optimal
QoS Shaping Aggregation Switches
55%
Optimal