全面讲解华为交换机配置口令调整端口命令

网络 路由交换
本文将讲述在基于IOS的华为交换机配置口令上调整端口ID,在基于IOS的华为交换机配置口令端口上启用或禁用Port Fast 特征,命令show spantree显示一个华为交换机配置口令端口的STP状态.

全面讲解华为交换机配置口令调整端口命令,华为交换机配置口令关于调整端口ID、修改STP时钟,顾名思义关于华为交换机配置口令的应用,也会介绍用show vtp statistics显示管理域的VTP参数。

在基于IOS的华为交换机配置口令上调整端口ID:
switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority
在基于CLI的交换机上调整端口ID:
switch(enable) set spantree portpri {mldule/port}priority
switch(enable) set spantree portvlanpri {module/port}priority [vlans]

在基于IOS的华为交换机配置口令上修改STP时钟:
switch(config)# spanning-tree [vlan vlan-list] hello-time seconds
switch(config)# spanning-tree [vlan vlan-list] forward-time seconds
switch(config)# spanning-tree [vlan vlan-list] max-age seconds
在基于CLI的交换机上修改STP时钟:
switch(enable) set spantree hello interval[vlan]
switch(enable) set spantree fwddelay delay [vlan]
switch(enable) set spantree maxage agingtiame[vlan]

在基于IOS的华为交换机配置口令端口上启用或禁用Port Fast 特征:
switch(config-if)#spanning-tree portfast
在基于CLI的交换机端口上启用或禁用Port Fast 特征:
switch(enable) set spantree portfast {module/port}{enable|disable}

在基于IOS的华为交换机配置口令端口上启用或禁用UplinkFast 特征:
switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]
在基于CLI的交换机端口上启用或禁用UplinkFast 特征:
switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]

为了将交换机配置成一个集群的命令交换机,首先要给管理接口分配一个IP地址,然后使用下列命令:
switch(config)# cluster enable cluster-name

为了从一条中继链路上删除VLAN,可使用下列华为交换机配置口令命令:
switch(enable) clear trunk module/port vlan-range

用show vtp domain 显示管理域的VTP参数.

用show vtp statistics显示管理域的VTP参数.

在Catalyst华为交换机配置口令上定义TrBRF的命令如下:
switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]

在Catalyst华为交换机配置口令上定义TrCRF的命令如下:
switch (enable) set vlan vlan-num [name name] type trcrf
{ring hex-ring-num|decring decimal-ring-num} parent vlan-num

在创建好TrBRF VLAN之后,就可以给它分配交换机端口.对于以太网交换,可以采用如下命令给VLAN分配端口:
switch(enable) set vlan vlan-num mod-num/port-num

命令show spantree显示一个华为交换机配置口令端口的STP状态.

配置一个ELAN的LES和BUS,可以使用下列命令:
ATM (config)# interface atm number.subint multioint
ATM(config-subif)# lane serber-bus ethernet elan-name

责任编辑:佟健 来源: pcdog
相关推荐

2010-01-27 09:36:41

华为交换机配置

2010-01-07 14:48:28

交换机端口镜像配置

2010-01-11 16:59:41

华为交换机配置

2010-01-08 15:25:31

华为交换机配置手册

2010-01-04 10:03:38

华为交换机配置口令

2010-01-04 10:03:40

华为交换机配置口令

2010-03-11 15:44:07

以太网交换机配置

2011-09-13 11:14:12

端口镜像配置交换机华为交换机

2010-01-04 09:24:30

华为交换机配置口令

2010-01-06 15:31:30

千兆核心交换机

2010-01-04 13:25:59

交换机端口监听配置

2011-03-09 14:00:21

trunkVLAN

2011-09-16 11:24:10

交换机端口镜像配置端口镜像

2010-01-08 16:36:10

华为交换机端口监听

2010-01-06 16:38:27

华为交换机vlan配置

2009-07-20 09:59:35

华为交换机端口限速华为认证

2010-01-04 10:32:35

华为交换机配置口令

2010-01-08 16:01:16

华为交换机端口

2010-01-08 15:39:53

华为交换机配置基础

2010-01-12 13:44:12

华为交换机H3C端口
点赞
收藏

51CTO技术栈公众号