Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

SSH Transport

Direct answer

NETCONF normally runs over SSH on TCP port 830 as an SSH subsystem, reusing SSH authentication and encryption, such as ssh -s admin@router -p 830 netconf.

When to use this

Use this when NETCONF sessions run over SSH on port 830 and fail to connect.

First 30 seconds

1. NETCONF runs over SSH subsystem 'netconf' on port 830.

2. AAA authenticates users.

3. Restrict port 830 to management networks.

4. Verify host keys.

5. Session limits on devices.

Operational verification

client → SSH 830 → netconf subsystem

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
NETCONF / YANG datastore automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNETCONF / YANG datastore automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when NETCONF sessions run over SSH on port 830 and fail to connect.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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.

Step 2 Common mistakes Narrow the fault
  • Port 830 blocked or netconf-yang not enabled.
  • AAA authorisation for NETCONF missing (privilege 15 needed on IOS XE).
Evidence references

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.

observation · 1
Key points
  • NETCONF runs as an SSH subsystem on port 830.
  • It uses SSH authentication.
  • Firewalls must allow port 830.
Key checks
  • ssh -p 830 <u>@<dev> -s netconf — SSH subsystem
  • Port 830 allowed in ACLs — reachability
  • Host key verification — security
ReferenceWhy it matters1 section · depth on demand

What it is

NETCONF runs as an SSH subsystem on TCP 830. The client opens SSH, requests the netconf subsystem and both sides exchange <hello> with capabilities.

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.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNETCONF / YANG datastore automation current

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%
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

For NETCONF over SSH subsystem negotiation, host-key trust, authentication, session/framing and separating transport failure from NETCONF RPC errors, prefer typed fields and stable IDs over human presentation text.

Confirmation

Confirm action

Continue?