Reference10:Interfaces/ETH/VLAN: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If a network uses several '''VLAN'''s (Virtual Local Area Network), a VLAN can be specified for every Ethernet interface. This ensures that the data packets are transmitted to the specified VLAN only.
If a network uses several '''VLAN'''s (Virtual Local Area Network), a VLAN can be specified for every Ethernet interface. This ensures that the data packets are transmitted to the specified VLAN only.
Usually the VLAN configuration (both VLAN ID and Priority) for innovaphone devices will be provided either by [[{{NAMESPACE}}:DHCP client#Known_Problems_with_VLAN_Configurations | a DHCP Server ]] or a network switch via LLDP. In both cases the values configured here are ignored.
Usually the VLAN configuration (both VLAN ID and Priority) will be received by the innovaphone device built-in [[Reference12r1:DHCP_client|DHCP client]] or from a network switch via LLDP. In both cases the values configured here are ignored.
 
 
{|
{|
|valign=top nowrap=true|'''ID'''
|valign=top nowrap=true|'''ID'''
|The ID of the VLAN. The value 0 is applied if the ID entry field is empty. The VLAN ID with the value 0 switches the QoS (Quality of Service) off according to 802.1q.
|The ID of the VLAN. The value 0 is applied if the ID entry field is empty. The VLAN ID with the value 0 switches the QoS (Quality of Service) off according to 802.1q.
|-
|-
|valign=top nowrap=true|'''Priority'''
|valign=top nowrap=true|'''Priority - RTP Data / Signaling'''
|If the switch at the port to the innovaphone gateway happens to be configured to a different ID, the same value must be entered here to allow the Ethernet packets to be prioritised. A priority value between 0 and 7 is entered here (configuration on the Ethernet switch).
|If the switch at the port to the innovaphone gateway happens to be configured to a different ID, the same value must be entered here to allow the Ethernet packets to be prioritised.<br>A priority value between 0 and 7 is entered here (configuration on the Ethernet switch).
|}
|}
=== Configuration on phone devices (not recommended) ===
On phone devices VLAN may be configured directly the corresponding input fields in the Device GUI menu.<br/> 
On the IP101 and IP102 phones the values are entered as 6 consecutive decimal digits with the following meaning:
*1..4 - VLAN-ID with leading zeroes
*5 - Priority - RTP Data (0..7)
*6 - Priority - Signaling (0..7)
E.g. for VLAN 2, RTP-Priority 5 and Sig-Priority 3, the entry would be: 000253


Since v10 by factory default the innovaphone devices accept VLAN configuration via LLDP provided by the switch. If an LLDP VLAN setting is received from the switch, it takes precedence over both local configurations on the device and [[{{NAMESPACE}}:DHCP_client#Known_Problems_with_VLAN_Configurations | VLAN information received in a DHCP lease]].
=== Configuration via LLDP ===
Since v10 by factory default the innovaphone devices accept VLAN configuration via LLDP provided by the switch. If an LLDP VLAN setting is received from the switch, it takes precedence over both local configurations on the device and [[Reference12r1:DHCP_client#Known_Problems_with_VLAN_Configurations | VLAN information received in a DHCP lease]].


== Troubleshooting ==
==== Troubleshooting ====


disable LLDP
disable LLDP
Line 24: Line 32:
   
   
Note: For ETH0 use LLDP0, for ETH1 use LLDP1.
Note: For ETH0 use LLDP0, for ETH1 use LLDP1.
= Related Articles =
* [[Reference13r2:Interfaces/ETH/LLDP]]

Latest revision as of 11:30, 15 June 2023

If a network uses several VLANs (Virtual Local Area Network), a VLAN can be specified for every Ethernet interface. This ensures that the data packets are transmitted to the specified VLAN only. Usually the VLAN configuration (both VLAN ID and Priority) will be received by the innovaphone device built-in DHCP client or from a network switch via LLDP. In both cases the values configured here are ignored.

ID The ID of the VLAN. The value 0 is applied if the ID entry field is empty. The VLAN ID with the value 0 switches the QoS (Quality of Service) off according to 802.1q.
Priority - RTP Data / Signaling If the switch at the port to the innovaphone gateway happens to be configured to a different ID, the same value must be entered here to allow the Ethernet packets to be prioritised.
A priority value between 0 and 7 is entered here (configuration on the Ethernet switch).

Configuration on phone devices (not recommended)

On phone devices VLAN may be configured directly the corresponding input fields in the Device GUI menu.
On the IP101 and IP102 phones the values are entered as 6 consecutive decimal digits with the following meaning:

  • 1..4 - VLAN-ID with leading zeroes
  • 5 - Priority - RTP Data (0..7)
  • 6 - Priority - Signaling (0..7)

E.g. for VLAN 2, RTP-Priority 5 and Sig-Priority 3, the entry would be: 000253

Configuration via LLDP

Since v10 by factory default the innovaphone devices accept VLAN configuration via LLDP provided by the switch. If an LLDP VLAN setting is received from the switch, it takes precedence over both local configurations on the device and VLAN information received in a DHCP lease.

Troubleshooting

disable LLDP

  • config add LLDP0 /disable

ignore LLDP packets, log received packets in trace

  • config add LLDP0 /ignore

log send/received packets in trace

  • config add LLDP0 /trace

Note: For ETH0 use LLDP0, for ETH1 use LLDP1.

Related Articles