During configuration of an M1000E you may want to use vlan trunking. To set this up via the CMC console simply execute these commands.
racadm config -g cfgLanNetworking -o cfgNicVLanEnable 1
racadm config -g cfgLanNetworking -o cfgNicVLanID 2007