Repository navigation
configuration
Pre-Alpha. This section describes behavior that may change.
This is the configuration section. Read Overview first if you have not edited a Ze config before. Everything else here can be reached out of order.
A keyword Ze no longer accepts is refused at parse, and the error names its replacement: a peer's process <name> { } is now attach process <name> { }, and certificate-fingerprint is now ca <pki-ca-name>. The full list is in Configuration reference.
Ze accepts one syntax and converts no old one. ze config migrate [format set|hierarchical] <file> only rewrites a current config between the set form (the default) and the hierarchical form, hashing plaintext passwords on the way. A config in an older Ze syntax is refused as a parse error, never rewritten. ExaBGP configs go through ze exabgp migrate instead (ExaBGP migration).
A value the schema does not accept is refused the same way wherever it is written: a config file, ze start, a reload, the editor, the web, REST, gRPC and gNMI. The refusal names the setting's full path and the value, lists what the leaf accepts, proposes the closest value when one is close, and ends with the exact line that fixes it. A range gives its bounds and a pattern its format in words, never a regular expression:
line 18: bgp peer peer1 session capability route-refresh: "requre" is not an accepted value (did you mean require?)
route-refresh accepts only these values:
enable Advertise the capability; no enforcement
disable Do not advertise the capability; no enforcement
require Advertise the capability; refuse the session when the peer does not offer it
refuse Do not advertise the capability; refuse the session when the peer offers it
fix: route-refresh require;
A reload that refuses a config reports reload error: reload: config validation failed: ... with the same text, and the daemon keeps the config it runs. The editor's form of the refusal, with a set to type, is in Editor Workflow.
In the editor, commit always takes a subcommand: commit now, commit now force, commit confirmed <N> (optionally force), commit accept, commit abort, or commit verify. A bare commit is refused with that list, so a typo never applies a configuration. See Editor Workflow.
Route policy has one shape: filters are defined in the top-level policy { } block and attached per direction with filter { import { filters [ ... ]; final accept; } } at bgp, group or peer level. An EBGP peer with no policy in a direction rejects announcements in that direction (RFC 8212). See Route Policy.
- Overview. How config works in Ze: YANG-modeled, atomic commits, draft sessions per user, hot reload.
- YANG Model. Where the schemas live, how paths map, and what the validators enforce.
- Editor Workflow. Edit, diff, commit, rollback, and commit confirmed.
- Archive and Rollback. Revisions, archive destinations, manual and scheduled archives.
- System. Host identity, users, SSH, listeners, logging, DNS.
- Interfaces. Netlink-driven interface management, addressing, DHCP, bridges, mirroring.
-
FIB. The
bgp-rib->sysrib->fib-kernelpipeline and best-path selection. - RPKI. RTR cache servers, VRP validation, fail-open timeouts.
- Fleet. Multi-instance management over TLS.
- Telemetry. Prometheus metrics endpoint.
- Authorization. Profile-based command authorization.
- BGP. Peers, families, capabilities, and the rest of the BGP subtree.
Unreviewed draft. This wiki was authored in bulk and has not been reviewed. File corrections on the issue tracker.
- Install
- Docker
- netlab
- Appliance
- Quick Start
- Use Ze with an AI agent
- ExaBGP Migration
- CLI Tour
- Web UI Tour
- Overview
- YANG Model
- Editor Workflow
- Archive and Rollback
- Backup and Restore
- System
- Interfaces
- VRRP
- BFD
- FIB
- OSPF
- IS-IS
- MPLS / LDP / RSVP-TE
- RSVP-TE
- SRv6
- Static Routes
- Policy Routing
- Firewall
- Traffic Control
- Class of Service
- L2TP/PPP
- PPPoE
- VPP Data Plane
- RPKI
- IPsec VPN
- Path MTU
- TACACS+ AAA
- RADIUS AAA
- AS112 DNS
- DNS
- Authorization
- Fleet
- BGP
- Starting and Stopping
- Show Commands
- Monitoring
- Telemetry
- Flow Export
- DDoS Mitigation
- Anomaly Detection
- Health Checks
- Audit Trail
- Production Diagnostics
- Logging
- Operational Reports
- Healthcheck
- Self-Update
- Zero-Touch Provisioning
- MRT Analysis
- Upgrade and Restart
- Storage
- Policy
- Core
- Resilience
- Validation
- Link State
- Capabilities
- Address Families
- Protocol
- Subsystems
- Infrastructure
- Route Server at an IXP
- Transit Edge with RPKI
- Public Looking Glass
- ExaBGP Migration Walkthrough
- FlowSpec Injection
- Chaos-Tested Peering
- AS Path Topology