11.配置VTP管理域 switch# vlan database
switch(vlan)# vtp domain domain-name switch(enable) set vtp [domain domain-name]
12.配置VTP 模式 switch# vlan database
switch(vlan)# vtp domain domain-name
switch(vlan)# vtp {sever|cilent|transparent}
switch(vlan)# vtp password password switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password]
13.配置VTP版本 switch# vlan database
switch(vlan)# vtp v2-mode switch(enable) set vtp v2 enable
14.启动VTP剪裁 switch# vlan database
switch(vlan)# vtp pruning switch(enable) set vtp pruning enable
15.配置以太信道 switch(config-if)# port group group-number [distribution {source|destination}] switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}
16.调整根路径成本 switch(config-if)#spanning-tree [vlan vlan-list] cost cost switch(enable)set spantree portcost moudle/port cost
switch(enable)set spantree portvlancost
思科交换机命令大全 二
最新推荐文章于 2024-05-02 01:17:32 发布
![](https://img-home.csdnimg.cn/images/20240611030827.png)