思科交换机命令大全 二

匿名 (未验证) 提交于 2019-12-02 23:41:02
版权声明:苏苏吖 https://blog.csdn.net/weixin_44774638/article/details/91489661

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 moudle/port [cost cost][vlan-list]
17.调整端口ID switch(config-if)#spanning-tree[vlan vlan-list]port-priority port-priority switch(enable)set spantree portpri {mldule/port}priority
switch(enable)set spantree portvlanpri {module/port}priority [vlans]
18.修改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 switch(enable) set spantree hello interval[vlan]
switch(enable) set spantree fwddelay delay [vlan]
switch(enable) set spantree maxage agingtiame[vlan]
19.启用或禁用Port Fast 特征 switch(config-if)#spanning-tree portfast switch(enable)set spantree portfast {module/port}{enable|disable}
20.启用或禁用UplinkFast 特征 switch(config)#spanning-tree uplinkfast [max-update-rate pkts-per-second] switch(enable)set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]


  1. switch(config)# cluster enable cluster-name
文章来源: https://blog.csdn.net/weixin_44774638/article/details/91489661
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!