您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 冶金工业 > 基于接口的vlanmapping配置
组网需求在如图1所示的网络中,VLAN6内的用户需要通过网络中的VLAN10与VLAN5内的用户通信。配置VLANMapping功能的接口类型必须为Trunk或Hybrid,Hybrid类型接口必须以Tagged的方式加入映射后的VLAN。配置文件:SwitchA的配置文件#sysnameSwitchA#vlanbatch6#interfaceEthernet0/0/1qinqvlan-translationenableportlink-typetrunkporttrunkallow-passvlan6portvlan-mappingvlan10map-vlan6#interfaceEthernet0/0/2portlink-typetrunkporttrunkallow-passvlan6#interfaceEthernet0/0/3portlink-typetrunkporttrunkallow-passvlan6#returnlSwitchB的配置文件#sysnameSwitchB#vlanbatch5#interfaceEthernet0/0/1qinqvlan-translationenableportlink-typetrunkporttrunkallow-passvlan5portvlan-mappingvlan10map-vlan5#interfaceEthernet0/0/2portlink-typetrunkporttrunkallow-passvlan5#interfaceEthernet0/0/3portlink-typetrunkporttrunkallow-passvlan5#returnlSwitchC的配置文件#sysnameSwitchC#vlanbatch10#interfaceEthernet0/0/1portlink-typetrunkporttrunkallow-passvlan10#returnlSwitchD的配置文件#sysnameSwitchD#vlanbatch10#interfaceEthernet0/0/1portlink-typetrunkporttrunkallow-passvlan10#Return文案来自弱电家园网,转载请保留出处!
本文标题:基于接口的vlanmapping配置
链接地址:https://www.777doc.com/doc-2575178 .html