125NOTE:Configure the QoS priority settings for voice traffic on an interface before enabling voice VLAN on theinterface. If the configuration order is reversed, your priority trust setting will fail.Configuring a port to operate in automatic voice VLANassignment modeFollow these steps to set a port to operate in automatic voice VLAN assignment mode:To do... Use the command... RemarksEnter system view system-view —Set the voice VLAN aging time voice vlan aging minutesOptional1440 minutes by default.The voice VLAN aging timeconfiguration is only applicable onports in automatic voice VLANassignment mode.Enable the voice VLAN securitymode voice vlan security enable OptionalEnabled by default.Add a recognizable OUI address voice vlan mac-address oui maskoui-mask [ description text ]OptionalBy default, each voice VLAN hasdefault OUI addresses configured.For the default OUI addresses ofdifferent vendors, see Table 14.Enter Layer 2 Ethernet interfaceviewinterface interface-typeinterface-number —Configure the link type of theEthernet interface.• port link-type trunk• port link-type hybrid Use one of the commands.Configure the port to operate inautomatic voice VLAN assignmentmodevoice vlan mode autoOptionalAutomatic voice VLAN assignmentmode is enabled by default.The voice VLAN assignment modeson different ports are independentof one another.Enable voice VLAN on the port voice vlan vlan-id enable RequiredDisabled by defaultNOTE:A protocol-based VLAN on a hybrid port can process only untagged inbound packets, whereas the voiceVLAN in automatic mode on a hybrid port can process only tagged voice traffic. Do not configure a VLANas both a protocol-based VLAN and a voice VLAN. For more information, see the chapter "VLANconfiguration."