set interface gigabit-ethernet voice-vlan mode
The set interface gigabit-ethernet voice-vlan mode command configures the mode in which an interface is added to a voice VLAN.
Command Syntax
set interface gigabit-ethernet <interface-name> voice-vlan mode <auto | manual>
Parameter
Parameter | Description |
gigabit-ethernet <interface-name> | Specifies the physical port of the switch. |
mode <auto | manual> | Specifies the mode in which an interface is added to a voice VLAN.The value is auto or manual.
The default value is auto. |
Usage Guidelines
Auto and manual mode determine the mode of the port when added to the voice VLAN.
- Auto Mode
In automatic mode, the system uses the protocol packets sent by the IP phone. If the source MAC address of the packets matches the OUI address, the system will automatically add the ingress port of the voice packet to the voice VLAN, and then install the ACL rules of voice VLAN and implement the priority of the packet. If the source MAC address of the packets matches no OUI address, the system will learn the source MAC address of the LLDP, LLDP-MED or CDP packet as the learned OUI and add the port to the voice VLAN.Â
You can set the voice VLAN aging time on the device. During the aging time, if no voice packet is received from the ingress port, the system deletes the port from the voice VLAN. The process of adding/deleting a port to the voice VLAN is implemented automatically by the system.
- Manual Mode
In manual mode, the port is added to voice VLAN manually. This type of port is not affected by the aging time of the voice VLAN. When the aging time expires, it is not deleted from the voice VLAN.
In manual mode, the ports is added to voice VLAN by manual configuration. If the source MAC address of the packets matches the OUI address, the system will install the ACL rules of voice VLAN and implement the priority of the packet. The process of adding/deleting a port to the voice VLAN is implemented manually by the administrator.
Example
- Â Configure interface ge-1/1/1 be added to the voice VLAN in auto mode.
admin@Xorplus# set interface gigabit-ethernet ge-1/1/1 voice-vlan mode auto admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.