思科交换机命令大全 二

本文详细介绍了思科交换机的VTP( VLAN Trunking Protocol)和STP(Spanning Tree Protocol)配置,包括设置VTP管理域、模式、版本、启动VTP剪裁,配置以太信道,调整根路径成本,修改STP参数如hello-time、forward-time和max-age,以及启用或禁用Port Fast和UplinkFast特性。对于构建和管理交换机集群,还需为管理接口分配IP地址并启用集群功能。
摘要由CSDN通过智能技术生成

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

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值