The short answer
RFC 4012 is a 2005 specification with a rule that sounds like a riddle. On the multiprotocol attributes it introduced — mp-import, mp-export, mp-default — an omitted afi clause does not mean “no address family was specified.” It means any: IPv4 unicast, IPv4 multicast, IPv6 unicast and IPv6 multicast, all four at once. The blank is not empty. The blank is a scope.
- RFC 4012 left the legacy
import,exportanddefaultattributes exactly where they were — in IPv4 unicast — and addedmp-*attributes for family-aware policy. - On those new attributes, a missing AFI clause resolves to
anyacross the four base families. It is a defined default, not an invitation to guess.
Why a blank clause carries a rule
Picture the reviewer. A policy object lands on the desk with an mp-import line and no afi clause. The instinct is to read the gap as vagueness — the author forgot, or the tool dropped it, or the family simply does not apply. RFC 4012 chose the opposite reading, and chose it deliberately: the omitted clause resolves to any, a named union covering IPv4 unicast, IPv4 multicast, IPv6 unicast and IPv6 multicast.
That is a small piece of grammar with a large consequence. A missing word carries a rule. Two parsers reading the same text arrive at the same scope without a conversation, a phone call, or a vendor-specific footnote.
The default belongs to the new mp-* attributes only. The older import, export and default keep their established IPv4-unicast meaning. RFC 4012 thereby dodges two ambiguities at once: old records are not silently reinterpreted, and a new multiprotocol expression with no AFI is not left semantically hollow. The first question for a reviewer is not “what policy text follows?” but “what scope did the grammar assign before I read the rest?”
The old vocabulary had a family boundary
RFC 2622, published in 1999, defined the Routing Policy Specification Language for IPv4 unicast. Its import, export and default attributes gave operators a way to describe how an autonomous system would exchange routes — and, implicitly, which routes counted. The vocabulary was tidy because the world it described was tidy: one family, one traffic type.
Six years later, RFC 4012 extended that model to IPv6 and multicast. The design constraint was compatibility. An old parser could not be trusted to infer a new family from an old attribute name, so the authors did not overload the old names. They kept the legacy attributes’ IPv4-unicast meaning and added mp-import, mp-export and mp-default. An afi clause could then name ipv4.unicast, ipv4.multicast, ipv6.unicast or ipv6.multicast. When an mp-* attribute omitted that optional clause, the specification handed it the broad any scope. RFC 4012, Sections 2.1–2.5
Note what this is and is not. It is a rule for reading a policy expression. It is not evidence that a router supports, applies or prefers all four families. The document scopes the sentence; the network decides what to do with it.
Named unions made the grammar composable
The clever part is that RPSLng does not enumerate four families and stop. It composes them. ipv4 and ipv6 each cover that version’s unicast and multicast. any.unicast and any.multicast span one traffic type across both versions. any is the union of all four base combinations. The grammar stays compact because the unions are named — not because their reach is left implicit.
That matters more than it sounds. Address families are not interchangeable labels. A network can have different peers, filters, next hops, reachability and operating decisions for IPv4 and IPv6. A statement scoped to any is broader than one naming ipv6.unicast, and the difference belongs in the record rather than in someone’s memory of a hallway conversation.
Same acronym, different layer
RFC 4012 also adds the route6 class, though its object key and change authorization sit apart from the optional-AFI rule; RFC 2725 handles that authorization question. Boundary context, not a second thesis. RFC 4012, Section 3 RFC 2725
BGP uses AFI and SAFI labels too, but RFC 4760 attaches them to network-layer reachability and next-hop fields inside UPDATE messages. RFC 4012’s optional AFI scopes the RPSL policy expression. Shared vocabulary does not make the two statements interchangeable; route selection and per-neighbor advertisement belong to RFC 4271’s runtime process. RFC 4271 RFC 4760
Later BGP policy work supplies the chronological contrast. RFC 8212, published in 2017, requires explicit EBGP import and export policy. It governs BGP behaviour; it does not change how RFC 4012 parses an omitted AFI in RPSL. RFC 8212
What the specification did, and what it did not
The lazy historical summary is that RPSL learned IPv6. The precise one is that RFC 4012 made a policy’s address-family scope expressible, and made the unions across versions and traffic types nameable. That is a statement about language design. It says nothing about how quickly networks began treating both versions alike.
Lu Heng’s Note 65 and Note 64 supply a useful lens here: a shared specification earns its keep when independent parsers can derive the same scope from the same text. That is not a claim about the RFC 4012 authors or their motives. The any default simply supplies a deterministic common reading. Local operators still decide whether that broad scope matches their intent, and what their systems should actually run. Note 65 Note 64
The most consequential part of this extension may be the value of a clause left unwritten. In an mp-* expression, no AFI does not narrow the statement and does not suspend judgment; it invokes the named union any. RFC 4012 did more than add IPv6 vocabulary. It made scope composable and made omission deterministic — while leaving the older IPv4-unicast contract exactly where it stood.
These standards establish no adoption rate, no database-completeness measure, no named operator configuration, no route leak and no IPv6 deployment outcome. The supported conclusion is narrower and sturdier: RFC 4012 made the scope of RPSL policy expressions more precise, and made silence mean something specific.
Primary sources
- RFC 4012 — Routing Policy Specification Language next generation (RPSLng)
- Official RFC 4012 record — status and publication metadata
- RFC 2622 — Routing Policy Specification Language (RPSL)
- RFC 2725 — Routing Policy System Security
- RFC 4271 — A Border Gateway Protocol 4 (BGP-4)
- RFC 4760 — Multiprotocol Extensions for BGP-4
- RFC 8212 — Default EBGP Route Propagation Behavior without Policies
- Lu Heng, Note 65 — Running-Code Primacy: The Patch Needed to Preserve the Internet’s Original Design
- Lu Heng, Note 64 — Minimum Initial Specification, Localized Future Decision, and Voluntary Adoption for Internet Coordination Systems
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






