set interface gigabit-ethernet voice-vlan tagged mode


The set interface gigabit-ethernet voice-vlan tagged mode command configures the tagged mode for the outgoing packet of a voice VLAN interface.


Command Syntax

set interface gigabit-ethernet <interface-name> voice-vlan tagged mode <tag | untag | auto>


Parameter

Parameter

Description

gigabit-ethernet <interface-name>

Specifies the physical port of the switch.

tagged mode <tag | untag | auto>

Configure the tagged mode for the outgoing packet of a voice VLAN interface. The value could be tag, untag or auto.

  •   tag: the outgoing packets of a voice VLAN interface be tagged with the voice VLAN ID regardless of the protocol type used between the switch and the IP phone.
  •   untag: the outgoing packets of a voice VLAN interface be untagged regardless of the protocol type used between the switch and the IP phone.
  •   auto: the system automatically determines whether the outgoing packet of a voice VLAN interface be tagged with the voice VLAN ID per the protocol type.

The value auto is the default and recommended value.


Usage Guidelines

       For tagged mode auto,

  •   If the packet matches the user defined OUI addresses or the OUI addresses learned from CDP and LLDP protocols, the outgoing packet from a voice VLAN interface will be untagged when the tagged mode is auto.
  •   If the packet matches the OUI addresses learned from LLDP-MED protocol, the outgoing packet of a voice VLAN interface will be tagged with the voice VLAN ID based on the result of the LLDP-MED protocol negotiation between the switch and the IP phone when the tagged mode is auto.
    • If the negotiation result of LLDP-MED protocol between the switch and the IP phone is SUCCESS, the outgoing packet of a voice VLAN interface will be tagged with the voice VLAN ID.
    • Else if the negotiation result of LLDP-MED protocol between the switch and the IP phone is FAILURE, the outgoing packet of a voice VLAN interface will be untagged.

Example

  •   Configure the outgoing packet of a voice VLAN interface ge-1/1/1 be tagged with the voice VLAN ID. 
admin@Xorplus# set interface gigabit-ethernet ge-1/1/1 voice-vlan tagged mode tag
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.