VLAN 标记堆叠
要将 VLAN 标记堆叠在进入或退出接口的所有标记帧上,在push
vlan-id
输入 VLAN 映射或输出 VLAN 映射中添加 、 和tag-protocol-id
语句:
input-vlan-map { push; vlan-id number; tag-protocol-id tpid; } output-vlan-map { push; tag-protocol-id tpid; }
您可以在以下层次结构级别包括这些语句:
[edit interfaces interface-name unit logical-unit-number]
[edit interfaces interface-name unit logical-unit-number]
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
[edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
输入和输出 VLAN 映射中包含的所有 TPID 都必须属于您在层级指定的 [edit interfaces interface-name gigether-options ethernet-switch-profile tag-protocol-id [ tpids ]]
TPID 中。有关更多信息,请参阅 配置内部和外部 TPID 以及 VLAN ID。