Join Keith as he demonstrates enabling and verifying RESTCONF from the CLI and Postman.
Previous 8 Minute Video 👉 [ Ссылка ]
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:
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
POST:
[ Ссылка ]
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 [ Ссылка ]
🔐 Cisco CCNA 200-301 Security [ Ссылка ]
💻 Cisco CCNA 200-301 IPv4 Subnetting [ Ссылка ]
💬 Join our Discord server (free) [ Ссылка ]
🏪 Keith Barker Amazon Affiliate Store [ Ссылка ]
And…
🏫 Keith’s Content at CBT Nuggets [ Ссылка ]
#KeithBarker #CCNA #200-301
Enable and Verify RESTCONF with the CLI and Postman.
Теги
keith barker ccna 200-301Keith Barker live videokeith barker dhcprestconf tutorialrestconf ciscorestconf examplerestconf postmancisco ccnajson vs xmljson tutorialnetwork automationccna studynetwork programmabilitycisco trainingnetwork programmability and automationcisco automationnetwork programmability cisconetwork programmability basics devnetnetwork automation cisconetwork automation ccna