Setting IsManaged attribute for an interface via command line(CLI)
book
Article ID: 322892
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
Unmanaging or managing the interface and checking status via dmctl i.e by Command line interface (CLI)
Resolution
To manage an interface:
- To get details of the <Interface instance>, navigate to <IP_BASE>/smarts/bin and run
./dmctl -s <DOMAIN> getI Interface
- From the same bin directory, run
./dmctl -s <DOMAIN> invoke Interface::<Interface instance> manage
To unmanage an interface:
- Get the details of the interface instance which need to be unmanaged as explained in Step 1 of above section (To manage an interface).
- Navigate to <IP_BASE>/smarts/bin and run
./dmctl -s <DOMAIN> invoke Interface::<Interface instance> unmanage
To check status of an interface:
./dmctl -s <DOMAIN> get Interface::<Interface instance>::IsManaged
Additional Information
- ManagedState is not a Boolean field. The value for the ManagedState is
MANAGED, UNMANAGED, EXPLICITLY_UNMANAGED, EXPLICITLY_MANAGED
- The IsManaged field is Boolean and not a text field. The value for IsManaged is Boolean
TRUE, FALSE
Feedback
thumb_up
Yes
thumb_down
No