全面講解華為交換機(jī)配置口令調(diào)整端口命令
全面講解華為交換機(jī)配置口令調(diào)整端口命令,華為交換機(jī)配置口令關(guān)于調(diào)整端口ID、修改STP時鐘,顧名思義關(guān)于華為交換機(jī)配置口令的應(yīng)用,也會介紹用show vtp statistics顯示管理域的VTP參數(shù)。
在基于IOS的華為交換機(jī)配置口令上調(diào)整端口ID:
switch(config-if)# spanning-tree[vlan vlan-list]port-priority port-priority
在基于CLI的交換機(jī)上調(diào)整端口ID:
switch(enable) set spantree portpri {mldule/port}priority
switch(enable) set spantree portvlanpri {module/port}priority [vlans]
在基于IOS的華為交換機(jī)配置口令上修改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的交換機(jī)上修改STP時鐘:
switch(enable) set spantree hello interval[vlan]
switch(enable) set spantree fwddelay delay [vlan]
switch(enable) set spantree maxage agingtiame[vlan]
在基于IOS的華為交換機(jī)配置口令端口上啟用或禁用Port Fast 特征:
switch(config-if)#spanning-tree portfast
在基于CLI的交換機(jī)端口上啟用或禁用Port Fast 特征:
switch(enable) set spantree portfast {module/port}{enable|disable}
在基于IOS的華為交換機(jī)配置口令端口上啟用或禁用UplinkFast 特征:
switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]
在基于CLI的交換機(jī)端口上啟用或禁用UplinkFast 特征:
switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]
為了將交換機(jī)配置成一個集群的命令交換機(jī),首先要給管理接口分配一個IP地址,然后使用下列命令:
switch(config)# cluster enable cluster-name
為了從一條中繼鏈路上刪除VLAN,可使用下列華為交換機(jī)配置口令命令:
switch(enable) clear trunk module/port vlan-range
用show vtp domain 顯示管理域的VTP參數(shù).
用show vtp statistics顯示管理域的VTP參數(shù).
在Catalyst華為交換機(jī)配置口令上定義TrBRF的命令如下:
switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]
在Catalyst華為交換機(jī)配置口令上定義TrCRF的命令如下:
switch (enable) set vlan vlan-num [name name] type trcrf
{ring hex-ring-num|decring decimal-ring-num} parent vlan-num
在創(chuàng)建好TrBRF VLAN之后,就可以給它分配交換機(jī)端口.對于以太網(wǎng)交換,可以采用如下命令給VLAN分配端口:
switch(enable) set vlan vlan-num mod-num/port-num
命令show spantree顯示一個華為交換機(jī)配置口令端口的STP狀態(tài).
配置一個ELAN的LES和BUS,可以使用下列命令:
ATM (config)# interface atm number.subint multioint
ATM(config-subif)# lane serber-bus ethernet elan-name