153To do... Use the command... RemarksAccess portFor how to assign an access port toa VLAN, see the chapter “VLANconfiguration.”Trunk portFor how to assign a trunk port to aVLAN, see the chapter “VLANconfiguration.”Assign the portin manual voiceVLANassignmentmode to thevoice VLANHybrid portFor how to assign a hybrid port toa VLAN, see the chapter “VLANconfiguration.”Use one of the three approaches.After you assign an access port tothe voice VLAN, the voice VLANbecomes the default VLAN of theport automatically.Trunk portFor how to assign a trunk port to aVLAN, see the chapter “VLANconfiguration.”Configure thevoice VLAN asthe defaultVLAN of theport Hybrid portFor how to assign a hybrid port toa VLAN, see the chapter “VLANconfiguration.”OptionalThis operation is required foruntagged inbound voice trafficand prohibited for tagged inboundvoice traffic.Enable voice VLAN on the port voice vlan vlan-id enable RequiredNOTE:• You can configure different voice VLANs on different ports at the same time. However, one port can beconfigured with only one voice VLAN, and this voice VLAN must be a static VLAN that already exists onthe device.• Voice VLAN cannot be enabled on a port with Link Aggregation Control Protocol (LACP) enabled.• To make voice VLAN take effect on a port that is enabled with voice VLAN and operates in manual voiceVLAN assignment mode, you need to assign the port to the voice VLAN manually.Displaying and maintaining voice VLANTo do... Use the command... RemarksDisplay the voice VLAN state display voice vlan state [ | { begin | exclude |include } regular-expression ] Available in any viewDisplay the OUI addressessupported by systemdisplay voice vlan oui [ | { begin | exclude |include } regular-expression ] Available in any viewVoice VLAN configuration examplesAutomatic voice VLAN mode configuration exampleNetwork requirementsAs shown in Figure 43,• The MAC address of IP phone A is 0011-1100-0001. The phone connects to a downstream devicenamed PC A whose MAC address is 0022-1100-0002 and to GigabitEthernet 1/0/1 on anupstream device named Device A.