• In the previous lesson, you configured a router with over SSH (port 830) using XML and the ncclient Python library.
    (RFC 8040) accesses the same data models over HTTPS (port 443), using JSON or XML.

    NETCONF using SSH on TCP 830 compared to RESTCONF using HTTPS on TCP 443

    Figure 1 – vs

    Because uses standard HTTPS, you do not need a specialized protocol library like ncclient.
    You can send requests with any HTTP client, including Python requests, curl, or Postman.

    Key Differences

    is stateless: there is no persistent session, no hello exchange, and no capabilities negotiation.
    Each HTTP request is self-contained and includes authentication and formatting headers.

    Unlike , has no candidate datastore, no lock, and no commit operation.
    Every write request modifies the running configuration immediately.

    Feature

    Transport

    SSH (TCP 830)

    HTTPS (TCP 443)

    Data encoding

    XML

    JSON or XML

    Data models

    (same models)

    Session

    Stateful (hello, session-id)

    Stateless (no session)

    Candidate datastore

    Yes (lock, commit)

    No (running only)

    Python library

    ncclient

    requests (or any HTTP client)

    Table 1 – vs

    Answer the question below

    What transport protocol does RESTCONF use instead of SSH?