NETCONF transport on Cisco IOS XE
Short answer
A NETCONF on Cisco IOS XE runs over SSH on TCP port 830
Question
Key Takeaways
NETCONF on Cisco IOS XE uses SSH as its transport on TCP port 830, per RFC 6241. SSH over TCP 830 is the correct choice because NETCONF requires a secure, connection-oriented session for its RPC exchange, while HTTPS 443 belongs to RESTCONF, gRPC 57400 carries telemetry, and Telnet 23 fails the security requirement.
Expert Analysis
Only if NETCONF were being carried over a web or telemetry channel would a different option apply, but the protocol binding itself fixes the answer: NETCONF is a management protocol layered on a secure session, not an HTTP-style request/response exchange.
HTTPS over TCP 443 belongs to RESTCONF, not to NETCONF
HTTPS on TCP 443 would be the right answer only if the device exposed YANG configuration through an HTTP-based API, which is exactly what RESTCONF does on Cisco IOS XE. RESTCONF maps YANG data over HTTP methods such as GET, POST, PUT and DELETE, so it inherits the ordinary TLS port. NETCONF takes a different path: it establishes a session-oriented connection, exchanges <rpc>/<rpc-reply> envelopes, and supports candidate and confirmed commits that depend on a persistent connection state. A short-lived HTTPS request cannot carry that session model, so B describes a sibling protocol rather than NETCONF's transport.
TCP 830 with an SSH session satisfies the requirement for a secure, connection-oriented channel
The deciding fact in this scenario is that NETCONF on Cisco IOS XE is bound to SSH and only SSH, and the IANA-assigned port for that binding is 830. SSH supplies the confidentiality, integrity and host authentication that a configuration protocol needs before any YANG payload moves, and it provides the reliable byte stream over which NETCONF runs its own framing. Because the transport is connection-oriented, the client can keep the session open across multiple remote procedure calls, which is what enables lock, commit and rollback operations on the running or candidate datastore. That combination of an authenticated transport and a long-lived session is why A holds and why no TCP 443 or gRPC alternative qualifies.
gRPC telemetry and Telnet each fail a different requirement of the NETCONF exchange
- C would be correct only if the goal were streaming telemetry rather than configuration management: gRPC on TCP 57400 carries dial-out or dial-in telemetry subscriptions on IOS XE, and it never carries NETCONF RPCs.
- D would be correct only if the requirement were an unauthenticated legacy session; Telnet on TCP 23 fails because NETCONF mandates a secure transport, and Telnet offers neither encryption nor reliable authentication.
- B fails because it belongs to RESTCONF, as covered above.
- A alone provides both the secure handshake and the port assigned to NETCONF, so the remaining cost of the other options is that each breaks either the protocol's security requirement or its RPC transport.
The binding is applied when the SSH client opens the session to port 830
The mechanism begins before any YANG model is touched: a NETCONF client such as ncclient opens a TCP connection to the device on port 830, negotiates SSH, authenticates, and only then requests the NETCONF capability exchange. The transport decision therefore takes effect at connection establishment, not inside the payload, which is why the choice of port cannot be altered by the YANG module in use. Cisco IOS XE listens for NETCONF over SSH on 830 by default, so the practical command sequence is enable NETCONF over SSH on the device, point the client at 830, and let SSH carry the RPC stream.
Official Reference
These links open the official vendor documentation in a new tab.
Exam Strategy
When a question names a protocol and asks for its transport and port, first identify which protocol family the service belongs to: session-based configuration protocols (NETCONF) ride SSH, HTTP-based ones (RESTCONF) ride HTTPS, and streaming telemetry rides gRPC. Eliminate options whose port belongs to a sibling protocol before worrying about the port number itself; then confirm the surviving option satisfies the protocol's security requirement.
Related Analysis
Practice All 300-435 Questions
Access 150 questions with complete answers and detailed explanations.
View Full 300-435 Practice Test →