日
01
5月
2011
华为交换机快速复制端口配置的方法
文章出处:www.net1980.com 原创
在日常网络维护中,有时候需要把交换机多个端口的数据修改成一样的配置,假如采用逐个端口修改的方法,不但效率低,而且操作复杂、麻烦。其实华为交换机有一个命令可以将指定端口的配置拷贝到其他多个端口。可以拷贝的配置包括VLAN、LACP、QoS、STP、端口配置等。
1、VLAN配置包括:端口上允许通过的VLAN、端口缺省VLAN ID。
2、LACP配置包括:LACP打开/关闭状态。
3、QoS配置包括:流量限速、优先级标记、缺省的802.1p优先级、带宽保证、拥塞避免、流重定向、流量统计等。
4、STP配置包括:端口的STP使能/关闭、与端口相连的链路属性(如点对点或非点对点)、STP优先级、路径开销、报文发送速率限制、是否环路保护、是否根保护、是否为边缘端口。
5、端口配置包括:端口的链路类型、端口速率、双工模式。
以下为大家介绍一个配置实例:
一、配置需求
一台华为S3952交换机需要进行数据调整,要求把E1/0/7至E1/0/10、E1/0/15、E1/0/16等端口的数据调整成跟E1/0/6的数据一样。
二、配置方法
[Quidway] copy configuration source Ethernet 1/0/6 destination Ethernet 1/0/7 to Ethernet 1/0/10 Ethernet 1/0/15 to Ethernet 1/0/16
Copying VLAN configuration...
Copying Protocol based VLAN configuration...
Copying LACP configuration...
Copying QOS configuration...
Copying GARP configuration...
Copying STP configuration...
Copying speed/duplex configuration...
[Quidway]
三、注意事项
1、拷贝的源如果是汇聚组号时,则以汇聚组中的最小端口为源。
2、拷贝的目的如果是汇聚组号时,则该汇聚组内的所有端口的配置都改为与源一致。
此文章本站原创,转载请保留出处:http://www.net1980.com/2011/05/01/copy-configuration/
评论: 2
-
#1
[Quidway] copy configuration source Ethernet 1/0/6 destination Ethernet 1/0/7 to Ethernet 1/0/10 Ethernet 1/0/15 to Ethernet 1/0/16
Copying VLAN configuration...
Copying Protocol based VLAN configuration...
Copying LACP configuration...
Copying QOS configuration...
Copying GARP configuration...
Copying STP configuration...
Copying speed/duplex configuration...
[Quidway]
不能执行。。。。 -
#2
fireplacess, 你好,不能执行可能是版本问题,建议你逐个命令输入,看看是那一步出错,华为设备不同版本有时候区别会很大的,我是在真实设备环境下测试通过的,我的交换机型号是S3952,版本Version 3.10, Release 1602P08

