Core Concepts
Understand Megaport's key building blocks
Learn about the fundamental resources you'll manage with the Megaport CLI.
Resources
- Ports — Physical connections to the Megaport fabric
- VXCs — Virtual Cross Connects linking two endpoints
- MCR — Megaport Cloud Router for layer 3 routing
- MVE — Megaport Virtual Edge for SD-WAN connectivity
Working with VXCs
- Partner Configurations — when to configure A-End vs B-End partner blocks for cloud and transit destinations
In this section
Resource Types
A visual guide to every resource the Megaport CLI manages — Ports, VXCs, MCRs, MVEs, IX, and more
Input Modes
Three ways to pass configuration to the Megaport CLI — interactive prompts, flags, and JSON. Choose the right mode for every situation.
Output Formats
Four output formats for every list and get command — table, JSON, CSV, and XML. Set defaults, pipe to jq, export to spreadsheets.
Config Profiles
Manage multiple Megaport environments and accounts with named credential profiles — create, switch, export, and set defaults.
Partner Configurations
Understand A-End vs B-End partner configs on a VXC — why only one side typically needs one, and how to answer the interactive prompts