Configuring a Maintenance-Mode Profile
DME
Copy
POST http://<IP_Address>/api/mo/sys/mmode/profile-maintenance-mode.json
{ "mmodeProfile": { "attributes": { "profType": "maintenance-mode", } "children": [ { "mmodeProfileEntry": { "attributes": { "configCmd": "router bgp 100", "parentSequence": "0", "sequence": "1", } } }, { "mmodeProfileEntry": { "attributes": { "configCmd": "isolate", "parentSequence": "1", "sequence": "2", } } }, { "mmodeProfileEntry": { "attributes": { "configCmd": "router ospf test1", "parentSequence": "0", "sequence": "3", } } }, { "mmodeProfileEntry": { "attributes": { "configCmd": "isolate", "parentSequence": "3", "sequence": "4", } } } ] } }