为第 2 层批发 VLAN 接口配置封装
第 2 层批发网络中的每个动态 VLAN 接口都必须使用封装。您可以使用语句在[edit dynamic-profiles profile-name interface “$junos-interface-ifd-name” unit “$junos-interface-unit”]
层次结构级别为每个 VLAN 接口encapsulation
动态配置封装,或者在[edit interfaces interface-name]
层次结构级别为物理接口配置封装,供每个动态创建的 VLAN 接口使用。但是,选择在[edit dynamic-profiles profile-name interface “$junos-interface-ifd-name” unit “$junos-interface-unit”]
层次结构级别配置(或不配置)封装的方式会影响在[edit interfaces interface-name]
层次结构级别配置封装的方式。
表 1 提供了第 2 层批发网络中动态配置文件和物理接口的有效封装组合。
动态配置文件封装 |
物理接口封装 |
使用说明 |
---|---|---|
|
|
|
|
|
|
|
|
|
无封装类型 |
|
|
要为第 2 层批发 VLAN 接口配置封装,请执行以下操作: