All_About_Netconf
Transport-level keepalive
- NETCONF over SSH (most common) Uses SSH keepalive
- NETCONF over TLS Uses TLS keepalive / TCP keepalive
- NETCONF over TCP Relies on TCP keepalive
- Application-level “soft keepalive” (common practice)**Although not mandated, many clients periodically send lightweight RPCs:
Hello-Message Exchange 'Capabilities'
- base:1.0
- base:1.1
- candidate -Enables candidate → commit workflow, Safer than editing running directly
- writable-running -Allows editing running directly
- confirmed-commit - Auto-rollback if device becomes unreachable
- rollback-on-error - Roll back changes if any error occurs in
<edit-config> - lock -Prevents concurrent config edits
- xpath - Filtering & Query Critical for large YANG models
- notification - Enables event subscriptions
- validate - Validate config before commit
1️.Standard NETCONF Datastores (RFC 6241)
These are the core datastores defined by NETCONF.
🔹 running
Active configuration
Always present
🔹 candidate
Staged configuration
Optional
🔹 startup
Boot-time configuration
Optional
2️.Operational Datastore (<operational> / <state>)
🔹 Operational / State datastore
Read-only
Holds runtime state, not configuration
Examples:
Interface counters
Routing table
BGP neighbors
CPU / memory
Accessed via:
<get/>
Often called:
state
operational
running-state (vendor term)
Not editable
3️.Ephemeral Datastore (RFC 8072)
🔹 ephemeral
Temporary configuration
Lost on:
Reboot
Session end
Used for:
Dynamic policies
Temporary ACLs
SDN controller pushes
Capability:
urn:ietf:params:netconf:capability:ephemeral:1.0
Rare but important in modern controllers
4.Intended Datastore (RFC 8342)
🔹 intended
Describes desired configuration
Used in model-driven telemetry
Helps detect config drift
Read-only
Mostly conceptual but increasingly supported
5️.Dynamic Datastores (Advanced / Vendor-Specific)
🔹 dynamic
Generated from multiple sources
Used internally by device
Read-only
📌 Vendor-defined (not standard)
6️.Vendor-Specific Datastores (Common in real devices)
Examples:
factory-default
golden-config
rollback-1, rollback-2
baseline
Not standardized
Exposed via vendor YANG models
Comments
Post a Comment