Setting Up Cisco Routers for NETCONF
Step 1: Setting Up SSH
- On cisco IOS XE CRS1000v router do the following configuration.
config t
hostname RST
ip domain name rstforum.net
- Enable encryption module.
crypto key generate rsa general-keys modulus 1024
- Enable SSH login
Line vty 0 4
Login local
transport input ssh
- Create local database of username and password
username cisco privilege 15 secret cisco
- Configure ssh parameters
ip ssh version 2
Step 2: Setting Up NETCONF
- On cisco IOS XE CRS1000v router do the following configuration.
config t
netconf-yang
no netconf-yang feature candidate-datastore
Alright, you should be all set and ready to start the lab!