Cisco switch spanning-tree priority 0

型号及版本

Cisco 9300-24T switch
GlobalCore-C9300#show inventory 
NAME: "c93xx Stack", DESCR: "c93xx Stack"
PID: C9300-24T         , VID: V02  , SN: FCW2220L0B8


GlobalCore-C9300#sh version 
Cisco IOS XE Software, Version 16.06.03

修改前默认priority

GlobalCore-C9300#sh spanning-tree vlan 17

VLAN0017
  Spanning tree enabled protocol rstp
  Root ID    Priority    32785
             Address     848a.8dc3.2080
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32785  (priority 32768 sys-id-ext 17)
             Address     848a.8dc3.2080
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Po1                 Desg FWD 4         128.2281 P2p 
Po2                 Desg FWD 4         128.2282 P2p 
Po3                 Desg FWD 4         128.2283 P2p 
Po4                 Desg FWD 4         128.2284 P2p 

修改为0

GlobalCore-C9300(config)#spanning-tree vlan 17 priority ?
  <0-61440>  bridge priority in increments of 4096

GlobalCore-C9300(config)#spanning-tree vlan 17 priority 0

修改后确认

GlobalCore-C9300#sh spanning-tree vlan 17

VLAN0017
  Spanning tree enabled protocol rstp
  Root ID    Priority    17
             Address     848a.8dc3.2080
             This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    17     (priority 0 sys-id-ext 17)
             Address     848a.8dc3.2080
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time  300 sec

Interface           Role Sts Cost      Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Po1                 Desg FWD 4         128.2281 P2p 
Po2                 Desg FWD 4         128.2282 P2p 
Po3                 Desg FWD 4         128.2283 P2p 
Po4                 Desg FWD 4         128.2284 P2p 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值