Configure basic support for NETCONF
An example that shows the one-time steps you must complete to allow NETCONF clients to access Vyatta NOS.
- Initialize NETCONF.
user@system# set service netconf
Or, to use NETCONF over a VRF:
user@system# set routing routing-instance <instance> service netconf
- Define the port for NETCONF over SSH.Note: This command will over-ride the default SSH port, if it is not already configured. To avoid this problem, also make sure that
set service ssh port 22is explicit in the configuration.
In this case, we've defined port 830.
user@system# set service ssh port 830
- Commit the change.
You should now be able to reach NETCONF on the interfaces you expect.
- Optional: Check that Vyatta NOS is listening on the port you configured.
user@system# show system connections | grep 830
tcp 0 0 0.0.0.0:830 0.0.0.0:* LISTEN tcp6 0 0 :::830 :::* LISTEN