配置 VLAN 捆绑逻辑接口以支持第 2 层 VPN 路由实例
要配置 VLAN 捆绑逻辑接口,请通过在提供商边缘 (PE) 路由器上添加 vlan-id-list
语句或 vlan-tags
语句来指定 VLAN ID 列表:
interfaces { ethernet-interface-name { vlan-tagging; # Support single- or dual-tag logical interfaces flexible-vlan-tagging; # Support mixed tagging encapsulation (extended-vlan-ccc | flexible-ethernet-services); unit logical-unit-number { vlan-id-list [vlan-id vlan-id–vlan-id]; # For single-tag vlan-tags outer <tpid.>vlan-id inner-list [vlan-id vlan-id–vlan-id]; # For dual-tag } . . . } }
可以在以下层次结构级别包含语句:
[edit]
[edit logical-systems logical-system-name]