`802.1Q隧道客户VLAN映射`和`802.1Q隧道提供者VLAN映射`是什么意思?

网络工程 sdn IEEE-802.1x ovs
2022-02-07 05:41:10

802.1Q tunnel customer VLAN mapping的含义是什么802.1Q tunnel provider VLAN mapping

Shows 802.1Q (QinQ) tunnel information.
802.1Q tunneling allows layer 2 VPN connectivity between sites by encapsulating 802.1Q trunk traffic inside another 802.1Q trunk.
Command Syntax
Command Modes Syntax Description
show dot1q-tunnel [interface {<interfaceName>| {port-channel <portChannel>}}]
show dot1q-tunnel {customer | provider} vlan mapping [interface {<interfaceName>| {port-channel <portChannel>}}]
show dot1q-tunnel encapsulation [interface {<interfaceName>| {port- channel <portChannel>}}]
Command Default Examples
#show dot1q-tunnel interface xe1
#show dot1q-tunnel interface port-channel 3800 #show dot1q-tunnel customer vlan mapping
118
Privileged Mode
interface
interfaceName
port-channel
portChannel
#
Show 802.1Q tunnel configuration on the specified interface.
Interface to show information for.
Show 802.1Q tunnel configuration on the specified port channel.
Port channel to show 802.1Q tunnel configuration information for.
encapsulation
vlan mapping
customer
provider
interfaceName
This command has no default settings.
ONP – Layer 2 Commands
Displays 802.1Q tunnel stacked VLAN configuration.
Displays 802.1Q tunnel VLAN mapping information.
Displays 802.1Q tunnel customer VLAN mapping information.
Displays 802.1Q tunnel provider VLAN mapping information.
Name of an interface port. For example, xe1.

我不明白这四行:

Displays 802.1Q tunnel stacked VLAN configuration.
Displays 802.1Q tunnel VLAN mapping information.
Displays 802.1Q tunnel customer VLAN mapping information.
Displays 802.1Q tunnel provider VLAN mapping information.
1个回答

使用 QinQ (802.1ad) 双标记,您可以使用内部(客户)VLAN ID 和外部(供应商)VLAN ID。

关键是提供商可以为每个客户端提供完整的 802.1Q 标记服务,并且仍然将外部标记用于他们自己的 VLAN 基础设施。

双标签可用于普通帧或 (VPN) 隧道内。