Student Reviews
( 5 Of 5 )
1 review
Video of Enable and Verify RESTCONF with the CLI and Postman. in Cisco CCNA course by Keith Barker - The OG of IT channel, video No. 98 free certified online
Join Keith as he demonstrates enabling and verifying RESTCONF from the CLI and Postman.
Previous 8 Minute Video https://youtu.be/Fl0cD44-Vao
CURL or even better Postman.
Router config:
conf t
username admin priv 15 secret Cisco!23
ip http secure-server
ip http authentication local
restconf
int gig 1
ip add 192.168.1.56 255.255.255.0
no shut
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
ip route 0.0.0.0 0.0.0.0 192.168.1.1
router eigrp 1
net 0.0.0.0
end
debug ip http ssl error
remember authentication/authorization
-user "admin:Cisco!23"
remember header:
Content-Type:application/yang-data+json
See the video for the details.
GET:
https://192.168.1.56/restconf/
https://192.168.1.56/restconf/data/netconf-state/capabilities
https://{{host}}/restconf/data/netconf-state/capabilities
https://192.168.1.56/restconf/data/Cisco-IOS-XE-native:native/
https://192.168.1.56/restconf/data/Cisco-IOS-XE-native:native/router/
https://192.168.1.56/restconf/data/Cisco-IOS-XE-native:native/router/router-ospf
https://192.168.1.56/restconf/data/Cisco-IOS-XE-native:native/interface/
https://192.168.1.56/restconf/data/Cisco-IOS-XE-native:native/interface/
https://192.168.1.56/restconf/data/ietf-interfaces:interfaces
https://192.168.1.56/restconf/data/Cisco-IOS-XE-interfaces-oper:interfaces
https://192.168.1.56/restconf/data/Cisco-IOS-XE-interfaces-oper:interfaces/interfaceGigabitEthernet1
https://192.168.1.56/restconf/data/Cisco-IOS-XE-interfaces-oper:interfaces/interfaceLoopback0
POST:
https://192.168.1.56/restconf/data/ietf-interfaces:interfaces
Body:
{
"ietf-interfaces:interface": {
"name": "Loopback99",
"type": "iana-if-type:softwareLoopback",
"enabled": true,
"ietf-ip:ipv4": {
"address": [
{
"ip": "99.99.99.99",
"netmask": "255.255.255.255"
}
]
}
}
}
Enjoy, Like, and Subscribe.
Free YouTube Playlists from Keith:
Master Playlist for Cisco CCNA 200-301 https://ogit.online/sloth
Cisco CCNA 200-301 Security https://ogit.online/200-301_Security
Cisco CCNA 200-301 IPv4 Subnetting https://ogit.online/subnet
Join our Discord server (free) https://ogit.online/Join_OGIT_on_Discord
Keith Barker Amazon Affiliate Store https://www.amazon.com/shop/keithbarker
And…
Keith’s Content at CBT Nuggets https://ogit.online/Keith-CBT
#KeithBarker #CCNA #200-301