Minimum Access mode configuration
The minimum port configuration required for Access mode operation on MES switches:
switchport mode access switchport access vlan <VLAN_ID>
where <VLAN_ID> is the VLAN number that will be used on the port.
Configuring PoE
PoE (Power over Ethernet) is a technology that makes it possible to power equipment connected to an Ethernet port. Connected equipment must support PoE. It is possible to connect a VP-17P or VP-30P IP phone to a switch with PoE support (e.g., MES2308P) via Ethernet and not connect the phone to a 230 V network with a separate power supply.
By default, PoE is enabled on switch ports and generally does not require configuration.
In some cases, it is convenient to reboot the telephone by turning PoE off and then back on at the port.
power inline never
power inline auto
Configuring Voice VLAN
Most modern telephones can connect other client equipment to the Ethernet network through themselves. As a rule, this method is used to connect a personal computer at the workplace. In this case, the telephone and computer can (and it is recommended to do so) be located in different virtual local area networks (VLANs). To do this, Voice VLAN must be configured for the phone on the switch port.
Example of Voice VLAN configuration:
vlan database vlan <VOICE_VLAN_ID>,<DATA_VLAN_ID> exit ! interface vlan <VOICE_VLAN_ID> name VoIP exit ! no lldp med network-policy voice auto lldp med network-policy 1 voice vlan <VOICE_VLAN_ID> vlan-type tagged up 4 ! voice vlan id <VOICE_VLAN_ID> voice vlan state oui-enabled voice vlan oui-table add <MAC_ADDR> interface <INTERFACE> switchport mode access switchport access vlan <DATA_VLAN_ID> lldp med enable network-policy lldp med network-policy add 1 voice vlan enable exit !
where:
- <VOICE_VLAN_ID> is a number of the VLAN that will be used for phones;
- <DATA_VLAN_ID> is a number of the VLAN that will be used for a computer connected via a phone or directly to the port if there is no phone;
- <MAC_ADDR> is the first three bytes of the phone's MAC address. Used to determine whether the connected device should be included in the Voice VLAN. There can be several such lines;
- <INTERFACE> is the name of the interface being configured.