Configuration
[1]
# 開啟HTTPS
crypto key generate rsa general-keys modulus 2048
ip http secure-server
ip http authentication local
[2]
# 建立使用者
username admin privilege 15 secret cisco123
[3]
# 開啟RESTCONF
restconf
Check
# 檢查restconf狀態
show platform software yaw-management process
# 檢查HTTPS狀態
show ip http server status
# 顯示restconf統計資訊
show restconf statistics
# 是否能正確讀取YANG
show netconf-yang sessions