📚 API Documentation & Navigation
📋 Module Metadata
Namespace: http://cisco.com/ns/yang/Cisco-IOS-XE-switch-rpc
Prefix: switch_rpc
Related Modules:
Cisco-IOS-XE-switch-cp-svl-oper
Cisco-IOS-XE-switch-dp-mac-learning-oper
Cisco-IOS-XE-switch-dp-punt-inject-oper
Cisco-IOS-XE-switch-dp-resources-oper
Cisco-IOS-XE-switch-ptp-dp-oper
💡 Example Usage
# POST RPC operation
curl -X POST \
-H "Content-Type: application/yang-data+json" \
-u admin:password \
--insecure \
https://device-ip/restconf/operations/Cisco-IOS-XE-switch-rpc:rpc-name \
-d '{"input": {}}'
📚 External Documentation
module: Cisco-IOS-XE-switch-rpc
augment /ios-xe-rpc:reload/ios-xe-rpc:input:
+---w slot? uint8
augment /ios-xe-rpc:factory-reset/ios-xe-rpc:input:
+---w switch
+---w (switch-number-options)?
| +--:(switch-number-case)
| | +---w switch-number-drop-node-name? uint8
| +--:(switch-all-case)
| +---w all-drop-node-name
| +---w all? empty
+---w (clear-choice)?
+--:(clear-all)
| +---w clear-all-drop-node-name
| +---w all? empty
+--:(clear-all-3-pass)
| +---w all
| +---w secure
| +---w alt-name-3-pass? empty
+--:(clear-boot-vars)
| +---w boot-vars? empty
+--:(clear-config)
+---w config? empty
rpcs:
+---x switch
+---w input
| +---w switch-number-drop-node-name? uint8
| +---w (pri-renum-stack)?
| | +--:(priority-case)
| | | +---w priority? uint8
| | +--:(renumver-case)
| | | +---w renumber? uint8
| | x--:(stack-case)
| | | +---w statck
| | | x---w port? uint8
| | +--:(stack-port-case)
| | | +---w stack
| | | +---w port
| | | +---w port-number-drop-node-name? uint8
| | | +---w enable? empty
| | | +---w disable? empty
| | +--:(role-case)
| | +---w role
| | +---w active? empty
| | +---w standby? empty
| +---w clear
| +---w stack-mode? empty
+--ro output
+--ro result? string