| Prefix | Peer | Weight | LP | AS_PATH | MED | Type | IGP | Status |
|---|---|---|---|---|---|---|---|---|
| 10.0.0.0/8 | Peer A | 0 | 150 | 100 200 | 50 | eBGP | 10 | candidate |
| 10.0.0.0/8 | Peer B | 0 | 150 | 200 | 100 | eBGP | 20 | candidate |
| 10.0.0.0/8 | Peer C | 0 | 100 | 100 200 300 | 10 | iBGP | 5 | candidate |
| Prefix | Peer | AS_PATH | NH | LP | MED | In FIB |
|---|---|---|---|---|---|---|
| 198.51.0.0/16 | ISP-A1 | 100 | .1 | 100 | 10 | — |
| 198.51.0.0/16 | ISP-A2 | 100 | .2 | 100 | 10 | — |
| 198.51.0.0/16 | ISP-B1 | 200 | .3 | 100 | 10 | — |
| 198.51.0.0/16 | ISP-B2 | 200 | .4 | 100 | 10 | — |
| Parameter | Value |
|---|---|
| Penalty per flap | 1000 |
| Suppress limit | 2000 |
| Reuse limit | 750 |
| Half-life | 15 min |
| Max suppress | 60 min |
| Route state | Active |
| Prefix | From | Action | Modified | Result |
|---|---|---|---|---|
| Click a step to simulate the policy → | ||||
| Community | Name | Action |
|---|---|---|
| 65535:65281 | NO_EXPORT | Do not advertise outside the AS |
| 65535:65282 | NO_ADVERTISE | Do not advertise to anyone |
| 65535:65283 | LOCAL_AS | Only within the sub-AS |
| 65535:0 | GRACEFUL_SHUTDOWN | Drain traffic (RFC 8326) |
| Type | Use |
|---|---|
| RT: 100:1 | Route Target — VRF import/export in MPLS L3VPN |
| RD: 100:10 | Route Distinguisher — makes prefixes unique |
| SoO: 100:5 | Site of Origin — loop prevention in the VPN |
| OSPF domain: … | OSPF domain/area ID in BGP-OSPF redistribution |
| Example | Meaning |
|---|---|
| 64500:1:100 | AS64500 — region 1, customer 100 |
| 64500:2:0 | Do not advertise to region 2 |
| 64500:3:50 | Prepend 3 times toward AS 50 |
| Method | Command (Cisco) | Suppress specific? | AS_PATH | ATOMIC_AGGREGATE |
|---|---|---|---|---|
| Summary-only | aggregate-address … summary-only | Yes (suppress) | Empty | Yes |
| Aggregate + specific | aggregate-address … (no flags) | No | Empty | Yes |
| AS-SET | aggregate-address … as-set | No | AS_SET {all} | No |
| Interface | Router | LP (local) | MED (sent to ISP) | ISP preference | Winner |
|---|---|---|---|---|---|
| link-A | R1 | 100 | — | lower = preferred | — |
| link-B | R2 | 100 | — | lower = preferred |
| Parameter | Value |
|---|---|
| Attribute | MED / MULTI_EXIT_DISC |
| Type | Optional non-transitive |
| Logic | lower = better |
| Sent to | eBGP neighbors only |
| Limitation | compared within a single AS |
| Command | set metric <value> |
| Parameter | Value |
|---|---|
| Attribute | LOCAL_PREF |
| Type | Well-known discretionary |
| Logic | higher = better |
| Sent to | iBGP neighbors only |
| Limitation | does not leave the AS |
| Command | set local-preference <v> |
| # | Element | Role | Protocol | What is carried |
|---|---|---|---|---|
| Select an option above → | ||||
| Parameter | Option A | Option B | Option C |
|---|---|---|---|
| Method | Back-to-Back VRF | eBGP VPN labels | Multihop eBGP |
| VRF on the ASBR | Yes (per VPN) | No | No |
| What runs between the ASBRs | Plain IP (per-VRF eBGP) | VPN-IPv4 + MPLS label | Transport LSP only |
| ASBR knows VPN routes | Yes | Yes (label binding) | No (RRs only) |
| Scalability | Low | Medium | High |
| Complexity | Simple | Medium | High |
| VPN isolation at the border | Full (VRF) | Partial | No (shared transport) |
| Label stack | 1 label (or no MPLS) | 2 labels (transport + VPN) | 3 labels (AS1 transport + AS2 transport + VPN) |
| Use case | Small number of VPNs, different providers | Partner providers | Single provider, multiple ASes |