📜  默认 VLAN 和本地 VLAN 之间的区别

📅  最后修改于: 2022-05-13 01:57:02.447000             🧑  作者: Mango

默认 VLAN 和本地 VLAN 之间的区别

默认 VLAN中,所有交换机端口在交换机初始启动后立即变为默认 VLAN 的成员。所有这些端口都参与默认 VLAN,这使它们都成为同一广播域的一部分。因此,连接到任何端口的任何设备都可以与其他交换机端口上的其他设备进行通信。对于 Cisco 和其他一些供应商,VLAN1 是默认 VLAN。

本地 VLAN是一种特殊的 VLAN,其流量在 802.1Q 中继上穿越,没有任何 VLAN 标记。本地 VLAN 在 802.1Q 中定义(它支持未标记的流量,而交换机间链路不支持未标记的流量。)中继端口标准支持来自多个 VLAN 的流量以及不来自 VLAN 的流量。本机 VLAN 是每个交换机配置的每个中继。 802.1Q 中继端口在本地 VLAN 上分配未标记的流量。也就是说,本地 VLAN 检测并识别来自中继链路每一端的流量。默认情况下,native VLAN 是 VLAN 1,但它可以更改为任何数字,例如 VLAN 10、VLAN 20、VLAN 99 等。native VLAN 在我们处理 VoIP 时也很有用。

默认 VLAN 和本地 VLAN 之间的区别

Criteria  

Default VLAN

Native VLAN

Modification of VLAN The default VLAN is always VLAN 1, and it can’t be changed.By default, Native VLAN is VLAN 1, but it can be changed to any VLAN.
Untagged traffic in VLANTraffic will be sent when both Default and Native VLAN are the same.Traffic can be sent irrespective of Default and Native VLAN being the same or different.
OperandDefault VLAN is specified through the VLAN operand command.Native VLAN is specified through the NATIVE operand command.
Disabling of VLANIt is not possible to disable Default VLAN.It is possible to disable VLAN.
Encapsulation typeIt supports .1Q as well as ISL.It only supports .1Q.
TaggingTagging is allowed in default VLAN.Tagging is allowed in Native VLAN if required but it is Untagged by default.
Default VLAN Value1 (Normal range) this VLAN can be used but it can not be deleted, it is cisco default, and 1002 to 1005 these VLANs are cisco default for a token ring and FDDI(Fiber Distributed Data Interface ) and they can not be deleted.Anyone VLAN per .1Q trunk port.
DTP(Dynamic Trunking Protocol) trafficDTP is not sent Default VLAN.While it is sent on Native VLAN.
Maximum Number of VLANs per switchOne default VLAN per switch.Native VLANs can be as many as there are .1Q trunks on the switch.