BGP diagram: eBGP, iBGP and what to document
BGP exchanges routes between autonomous systems (AS). A good diagram shows each AS, the sessions between routers and the prefixes being announced.
What it should show
- AS number of each organization and provider.
- eBGP sessions (between different AS) and iBGP sessions (within the same AS).
- IP of each neighbor and the interface or loopback used for the session.
- Prefixes announced and received, and policies (local preference, MED, communities).
How to draw it
One zone per AS, the edge routers inside each and one link per eBGP session. Inside your own AS, mark the iBGP mesh or route reflectors. Note the AS number and public IP range in the zone.
Verification commands
| What to verify | Cisco IOS | Huawei VRP |
|---|---|---|
| BGP neighbors | show ip bgp summary | display bgp peer |
| Learned routes | show ip bgp | display bgp routing-table |
Editor elements you need
- Router
- Cloud / Internet
- Firewall
- Zone / Group
Tip: in the editor, File ▸ Import list lets you build the diagram from Excel or CSV, and Edit ▸ Load example diagram opens a sample topology.
Frequently asked questions
What is the difference between eBGP and iBGP?
eBGP connects different AS; iBGP distributes learned routes within the same AS.
Does this editor configure BGP?
No: it is a diagram editor. It documents the topology and parameters.