! ============================================================================ ! 00-netconf.cfg -- IOS-XR NETCONF/SSH enablement (prerequisite) ! ============================================================================ ! The stack's automation (rib-poller, RR diff pipeline, any ! ncclient-based configurator) connects to routers on TCP/830 using the ! IOS-XR NETCONF device dialect. If NETCONF is not enabled, none of that ! works and the BMP ingest path is the only thing that can succeed. ! ! Apply once per router before any of the other fragments. Substitute ! and its password with values that match your stack's ! .env (IOSXR_NETCONF_USER / IOSXR_NETCONF_PASS). ! ============================================================================ ! --- SSH server (NETCONF-over-SSH transport) -------------------------------- ssh server v2 ssh server netconf vrf default ! ! --- NETCONF-YANG agent ----------------------------------------------------- netconf-yang agent ssh ! ! --- Local user for NETCONF (skip if you use AAA/TACACS+) ------------------- username group root-lr group cisco-support secret ! ! --- Verify ----------------------------------------------------------------- ! show netconf-yang statistics ! show ssh ! show run formal ssh ! ! From the stack host, quick sanity check: ! ssh -p 830 @ -s netconf ! (should return an capability exchange, not a shell prompt)