Hello@ster,
Use the management-interface command to enable the VLANif interface as a management interface.
Such as:
interface Vlanif10
ip address 192.101.1.1 255.255.255.0
management-interface
Note: If all VLANif interfaces are not configured as management ports, all VLANif interfaces are allowed to manage the device. Once a Vlanif interface is configured as a management port, other Vlanif interfaces can no longer manage the device.
If you have any problems, please post them in our Community. We are happy to solve them for you!