首页文章正文

华为交换机批量配置端口vlan,交换机vlan配置教程

华为交换机配置镜像端口 2023-05-26 23:50 705 墨鱼
华为交换机配置镜像端口

华为交换机批量配置端口vlan,交换机vlan配置教程

华为交换机批量配置端口vlan,交换机vlan配置教程

1.S5700交换机默认设置端口G0/0/1为vlan1,并设置网关为192.168.1.1;2.添加G0/0/2tovlan20,并设置网关为192.168.20.1;3.通过创建端口组将G0/0/3到G0/0到VLAN的接口通过端口组批量添加;用于接入接口,可以直接在VLAN视图中批量添加接口到VLAN。 访问接口类型。 通过portgroupssys批量添加接口到VLAN

将端口划分为tovlan20[Huawei-port-group]stpedged-portenable//设置为边缘端口,不参与instp[Huawei]stpbpdu-protection//如果不小心将华为交换机连接到此接口CreateVLANsinbatches;portgroup配置命令批量创建VLAN配置如下(vlanbatch):Huawei>system-view#Switchsystemview[华为]vlanbatch102030#Create3vlansinbatches;vlan1

华为交换机修改portvlan命令1,portinterfaceEthernet0/0/1,属于accessmode,port属于tovlan2可以直接改成vlan3:2,portinterfaceGigabitEthernet0/0/2,属于trunktype,pvidis2.1.CreatevlanCreateasingasinglevlanCreatevlansinbatches2.ChangethelinktypeofportsSincetheports华为交换机出厂默认为hybrid类型或auto类型,不能立即加入avlan,需要修改端口的link-type才能加入vlan

华为

●^● 将端口添加到端口组! !

˙△˙ port-group1creategroup1

组成员GigabitEthernet0/0/1toGigabitEthernet0/0/10Add1to10togroup1

 ̄□ ̄|| portlink-typeaccessinterfacetypeisaccessmode

(*?↓˙*) po首先在S5700交换机上创建一个端口组(port-group1),然后设置哪些端口是membero这里shuffle。已经有3-10个portsinvlan2,这样可以方便的同时添加多个端口到avlan中00shareback

后台-插件-广告管理-内容页尾部广告(手机)

标签: 交换机vlan配置教程

发表评论

评论列表

黑豹加速器 Copyright @ 2011-2022 All Rights Reserved. 版权所有 备案号:京ICP1234567-2号