EX-series switches support Voice over IP (VoIP). EX-series switches accommodate implementation scenarios that include an IP phone and a user’s PC connected to a single switch port. The Voice VLAN feature is used on the EX series switches for this purpose. The Voice VLAN enables a single access port to accept untagged data traffic as well as tagged voice traffic and associate each type of traffic with distinct and separate VLANs. Voice traffic can now be treated differently, generally with higher priority than common data traffic. VoIP also uses LLDP (Link Layer Discovery Protocol) and LLDP-MED ( Link Layer Discovery Protocol Media Endpoint Discovery) protocol information to forward VoIP parameters from the RADIUS server to the phone, for example VLAN and COS settings.
Below is a configuration example for connecting a VoIP phone and a PC to the EX series Ethernet switches.
Known Considerations:
user@switch# set interface ge-0/0/10 unit 0 family ethernet-switching vlan members vlan_data
user@switch# set ethernet—switching—options voip interface ge-0/0/10 vlan vlan_voice
user@switch# set ethernet—switching—options voip interface ge-0/0/10 forwarding-class assured-forwarding
user@switch# set vlans vlan_data vlan-id 100 user@switch# set vlans vlan_voice vlan-id 200
user@switch> show vlans Name Tag Interfaces <TRIMMED> vlan_data 100 ge-0/0/10*, ge-0/0/12, ge-0/0/13 vlan_voice 200 ge-0/0/10*, ge-0/0/15, ge-0/0/17
user@switch# set protocols lldp-med interface ge-0/0/10.0
user@switch# set protocols lldp-med fast-start 6
user@switch# commit
sh lldp
user@switch> show lldp LLDP : Enabled Advertisement interval : 30 seconds Transmit delay : 2 seconds Hold timer : 2 seconds Config Trap Interval : 60 seconds Connection Hold timer : 300 seconds LLDP MED : Enabled MED fast start count : 6 Packets Interface LLDP LLDP-MED all Enabled - ge-0/0/10.0 - Enabled
If the IP phone is capable of doing Power over Ethernet (POE) this can be configured on the EX-series Ethernet switch. When configuring and connecting a POE capable IP phone or device to the EX-series Ethernet switch bear in mind the type of EX-series switch available to you. EX-series Ethernet switches are available with options of full (all ports) or partial (8 ports) Power over Ethernet (PoE) capability. In the partial (8 ports) POE model, the first 8 ports, ports 0 through 7 are available for POE.
If the phone uses an external power adapter the following configuration step is NOT required.
user@switch# set poe interface ge-0/0/10
2020-08-10: Minor, non-technical edits.