配置支持 VLAN 感知捆绑服务的第 2 层接口。
set interfaces interface flexible-vlan-tagging
set interfaces interface encapsulation flexible-ethernet-services
set interfaces interface unit unit 1 encapsulation vlan-bridge set interfaces interface unit unit 1 vlan-id vlan-id 1
set interfaces interface unit unit 2 encapsulation vlan-bridge set interfaces interface unit unit 2 vlan-id vlan-id 2
set routing-instances instance-name instance-type mac-vrf
set routing-instances instance-name protocols evpn encapsulation vxlan
set routing-instances instance-name service-type vlan-aware
set routing-instances instance-name route-distinguisher x:x
set routing-instances instance-name vrf-target target:x:x
set routing-instances instance-name vlans vlan-1 vlan-id vlan-id-1 set routing-instances instance-name vlans vlan-1 interface interface.vlan-id-1 set routing-instances instance-name vlans vlan-2 vlan-id vlan-id-2 set routing-instances instance-name vlans vlan-2 interface interface.vlan-id-2
您必须在基于 Junos OS 的设备上进行配置 set protocols evpn esi-resolution-per-bridge-domain ,以便与运行 Junos OS 演化版的 ACX 设备互作(前提是两者都配置了 VLAN 感知捆绑服务)。此语句是 ACX 设备上的默认行为。
set protocols evpn esi-resolution-per-bridge-domain
基于 Junos OS 的设备支持模型 label-allocation per-instance 或模型 label-allocation per-bridge-domain 。ACX 设备仅支持 label-allocation per-bridge-domain。有关每个模型的更多详细信息,请参阅 标签分配 。 label-allocation-per-bridge-domain 是 ACX 设备上的默认行为,不需要显式配置。
label-allocation per-instance
label-allocation per-bridge-domain
label-allocation-per-bridge-domain