核心提示:如何批量管理华为交换机,端口,例如,添加多个端口的VLAN的同时,首先,创建在S5700开关端口组(端口1组),然后设置端口,改组成员{一}港—。

如何在华为交换机上执行批处理端口,例如在同一时间向VLAN添加多个端口

首先,创建在S5700开关端口组(端口1组),然后设置端口的改组成员

{端口组1

{ a-port-group-1 }组成员上0 / 0 / 3 / 0 / 0上10

将组的链接类型设置为Access

a-port-group-1 } {端口链路类型访问

{A-GigabitEthernet0/0/3}port link-type access

{ a-gigabitethernet0 / 0 / 4 }端口链路类型的访问

{ a-gigabitethernet0 / 0 / 5 }端口链路类型的访问

{ a-gigabitethernet0 / 0 / 6 }端口链路类型的访问

{ a-gigabitethernet0 / 0 / 7 }端口链路类型的访问

{ a-gigabitethernet0 / 0 / 8 }端口链路类型的访问

{ a-gigabitethernet0 / 0 / 9 }端口链路类型的访问

{ a-gigabitethernet0 / 0 / 10 }端口链路类型的访问

添加的改组为VLAN2的所有成员

{ a-port-group-1 }端口默认2

{ a-gigabitethernet0 / 0 / 3 }端口默认2

{ a-gigabitethernet0 / 0 / 4 }端口默认2

{ a-gigabitethernet0 / 0 / 5 }端口默认2

{ a-gigabitethernet0 / 0 / 6 }端口默认2

{ a-gigabitethernet0 / 0 / 7 }端口默认2

{ a-gigabitethernet0 / 0 / 8 }端口默认2

{ a-gigabitethernet0 / 0 / 9 }端口默认2

{ a-gigabitethernet0 / 0 / 10 }端口默认2

{ a-port-group-1 }

确认它是否成功

{显示VLAN 2

--------------------------------------------------------------------------------

U:起来;D:下来;TG:标记;UT:标记;

VLAN映射;

#:protocoltransparent VLAN;*:管理VLAN;

--------------------------------------------------------------------------------



视频端口

--------------------------------------------------------------------------------

2常见的UT:GE0 / 0 / 3(D)0 / 4 GE0 / / 0(D)GE0(D) / 5 / 0 / 6 GE0(D)

0 / / GE0 7(D)0 / 8 GE0 / / 0(D)GE0(D) / 9 / 0 / 10 GE0(D)



VID状态属性mac-lrn统计描述

--------------------------------------------------------------------------------

2启用默认启用禁用VLAN 0002

{一}

你可以看到已经有通话3-10端口,所以你可以很容易地同时添加多个端口的VLAN。你学会了吗

本文来自Steven Home博客