Configuring the OOB management port to be a member of a management VLAN

This task configures the out-of-band (OOB) management port to be member of a user-specified (nondefault) VLAN.
  1. Enter global configuration mode.
    device# configure terminal
    device(config)# 
  2. In global configuration mode, create a VLAN and enter VLAN configuration mode.
    device(config)# vlan 20
    device(config-vlan-20)# 
  3. In VLAN configuration mode, enter the management-vlan command to specify this VLAN as the OOB management VLAN and automatically assign it as an untagged interface.
    device(config-vlan-20)# management-vlan
    Out of band management interface untagged with VLAN 100
    Management VLAN Configured. Clearing IPv4 ARP, IPv6 Neighbor