SSH Transport
client → SSH 830 → netconf subsystem
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as capability mismatch, namespace drift, wrong datastore, lock contention, partial edit semantics and assuming <ok/> shows final device behavior, choosing the cases most relevant to NETCONF over SSH subsystem negotiation, host-key trust, authentication, session/framing and separating transport failure from NETCONF RPC errors.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
ssh -p 830 <u>@<dev> -s netconf— SSH subsystem- Port 830 allowed in ACLs — reachability
- Host key verification — security
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
NETCONF runs over SSH as an SSH subsystem on TCP port 830. SSH provides authentication and encryption; NETCONF then exchanges XML messages framed according to the protocol version (end-of-message markers in 1.0, chunked framing in 1.1).
netconf-yang ! IOS XE: enable NETCONF
netconf-yang ssh port 830
ip access-list standard NETCONF-ALLOWED
permit 10.0.0.0 0.0.0.255
ssh -p 830 admin@10.0.0.1 -s netconf # shows the <hello> with capabilities
The first exchange is a <hello> where both sides list capabilities — supported NETCONF versions, datastores and YANG modules. Use the same AAA and management ACLs as for SSH, with a dedicated automation account limited to the privileges it needs.
Example
ssh -p 830 admin@r1 -s netconf
# IOS XE: netconf-yang ; show netconf-yang status
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in NETCONF > SSH Transport. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc6241 · confidence 94%