设为首页 收藏本站
查看: 863|回复: 0

[经验分享] 华为5328/9303命令—2.STP

[复制链接]

尚未签到

发表于 2018-7-23 09:39:20 | 显示全部楼层 |阅读模式
  [5328_Server]
  [5328_Server]stp ?
  bpdu-protection       Specify Bpdu Protection function
  bridge-diameter       Specify bridge diameter
  converge              Specify STP converge mode
  disable               Disable spanning tree protocol
  enable                Enable spanning tree protocol
  instance              Spanning tree instance
  interface             Specify interface
  max-hops              Specify max hops
  mcheck                Specify mcheck
  mode                  Specify state machine mode
  pathcost-standard     Specify stp port path cost standard
  priority              Specify bridge priority
  region-configuration  Enter MSTP region view
  root                  Specify root switch
  timer                 Specify timer configuration
  timer-factor          Specify aged out time factor
  [5328_Server]stp converge ?
  fast    Fast mode
  normal  Normal mode
  [5328_Server]stp mode ?      
  mstp  Multiple spanning tree protocol mode
  stp   The Spanning tree protocol mode
  [5328_Server]stp root ?
  primary    Primary root switch
  secondary  Secondary root switch
  [5328_Server]stp interface ?
  GigabitEthernet  GigabitEthernet interface
  [5328_Server]stp interface GigabitEthernet 0/1/?
  <1-4>
  [5328_Server]stp interface GigabitEthernet 0/1/1 ?
  GigabitEthernet      GigabitEthernet interface
  compliance           Protocol type
  config-digest-snoop  Specify config digest snoop
  cost                 Specify port path cost
  disable              Disable spanning tree protocol on a port
  edged-port           Specify edge port
  enable               Enable spanning tree protocol on a port
  instance             Spanning tree instance
  loop-protection      Specify loop protection
  mcheck               Specify mcheck
  point-to-point       Specify point to point link
  root-protection      Specify root protection
  to                   Range of interfaces
  transmit-limit       Specify transmission limit count
  [5328_Server]
  [5328_Server]inter g 0/1/1
  [5328_Server-GigabitEthernet0/1/1]stp ?
  backup-port-reply-agreement  the agreement can be replyed from backup port
  bpdu                         bpdu
  compliance                   Protocol type
  config-digest-snoop          Specify config digest snoop
  cost                         Specify port path cost
  disable                      Disable spanning tree protocol on a port
  edged-port                   Specify edge port
  enable                       Enable spanning tree protocol on a port
  instance                     Spanning tree instance
  loop-protection              Specify loop protection
  mcheck                       Specify mcheck
  no-agreement-check           when root calculate the sync without checking
  agreement
  point-to-point               Specify point to point link
  port                         Specify port parameter
  root-protection              Specify root protection
  transmit-limit               Specify transmission limit count
  [5328_Server]
  [5328_Server]disp cu | begin stp
  stp mode stp      
  stp enable
  #
  cluster enable
  ntdp enable
  ntdp hop 16
  ndp enable
  #
  voice-vlan mac-address 0001-e300-0000 mask ffff-ff00-0000 description Simens phone
  voice-vlan mac-address 0003-6b00-0000 mask ffff-ff00-0000 description Cisco phone
  voice-vlan mac-address 0004-0d00-0000 mask ffff-ff00-0000 description Avaya phone
  voice-vlan mac-address 0060-b900-0000 mask ffff-ff00-0000 description Philips/NEC phone
  voice-vlan mac-address 00d0-1e00-0000 mask ffff-ff00-0000 description Pingtel phone
  voice-vlan mac-address 00e0-7500-0000 mask ffff-ff00-0000 description Polycom phone
  voice-vlan mac-address 00e0-bb00-0000 mask ffff-ff00-0000 description 3com phone
  #
  interface Vlanif1
  #
  interface MEth0/0/1
  #
  interface GigabitEthernet0/0/1
  port default vlan 1
  bpdu enable
  [5328_Server]disp stp brief
  MSTID      Port                  Role  STP State     Protection
  0        GigabitEthernet0/0/8  DESI  FORWARDING      NONE
  0        GigabitEthernet0/0/10 DESI  FORWARDING      NONE
  0        GigabitEthernet0/0/12 DESI  FORWARDING      NONE
  0        GigabitEthernet0/0/22 DESI  FORWARDING      NONE
  0        GigabitEthernet0/1/1  ROOT  FORWARDING      NONE
  [5328_Server]
  [5328_Server]disp stp
  -------[CIST Global Info][Mode STP]-------
  CIST Bridge         :32768.0025-9e5c-ec5c
  Bridge Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
  CIST Root/ERPC      :0    .0025-9e6e-1c08 / 20000
  CIST RegRoot/IRPC   :32768.0025-9e5c-ec5c / 0
  CIST RootPortId     :128.25
  BPDU-Protection     :disabled
  TC or TCN received  :1598
  STP Converge Mode   :Fast
  Time since last TC received :0 days 0h:1m:55s
  ----[Port1(GigabitEthernet0/0/1)][DOWN]----
  Port Protocol       :enabled
  Port Role           :CIST Disabled Port
  Port Priority       :128
  Port Cost(Dot1T )   :Config=auto / Active=20000
  Desg. Bridge/Port   :32768.0025-9e5c-ec5c / 128.1
  Port Edged          :Config=disabled / Active=disabled
  Point-to-point      :Config=auto / Active=false
  Transit Limit       :3 packets/hello-time
  Protection Type     :None
  Port Stp Mode       :Stp
  Port Protocol Type  :Config=auto / Active=legacy
  PortTimes           :Hello 2s MaxAge 20s FwDly 15s RemHop 0
  BPDU Sent           :0
  TCN: 0, Config: 0, RST: 0, MST: 0
  BPDU Received       :0
  TCN: 0, Config: 0, RST: 0, MST: 0
  ----[Port25(GigabitEthernet0/1/1)][FORWARDING]----
  Port Protocol       :enabled
  Port Role           :CIST Root Port
  Port Priority       :128
  Port Cost(Dot1T )   :Config=auto / Active=20000
  Desg. Bridge/Port   :0.0025-9e6e-1c08 / 128.7
  Port Edged          :Config=disabled / Active=disabled
  Point-to-point      :Config=auto / Active=true
  Transit Limit       :3 packets/hello-time
  Protection Type     :None
  Port Stp Mode       :Stp
  Port Protocol Type  :Config=auto / Active=legacy
  PortTimes           :Hello 2s MaxAge 20s FwDly 15s RemHop 0
  BPDU Sent           :9
  TCN: 2, Config: 0, RST: 0, MST: 7
  BPDU Received       :36205
  TCN: 0, Config: 36191, RST: 14, MST: 0
  [9303]
  [9303]
  [9303]
  [9303]disp stp ?
  brief                 Brief information
  instance              Spanning tree instance
  interface             Specify interface
  region-configuration  Region configuration
  slot                  Slot Number
  <cr>
  [9303]disp stp brief
  MSTID      Port                   Role  STP State     Protection
  0        GigabitEthernet1/0/0   DESI  FORWARDING      NONE
  0        GigabitEthernet1/0/2   DESI  FORWARDING      NONE
  0        GigabitEthernet1/0/4   DESI  FORWARDING      NONE
  0        GigabitEthernet1/0/6   DESI  FORWARDING      NONE
  [9303]disp stp instance 0 ?      
  brief      Brief information
  interface  Specify interface
  slot       Slot Number
  <cr>
  [9303]disp stp instance 0
  -------[CIST Global Info][Mode STP]-------
  CIST Bridge         :0    .0025-9e6e-1c08
  Bridge Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
  CIST Root/ERPC      :0    .0025-9e6e-1c08 / 0
  CIST RegRoot/IRPC   :0    .0025-9e6e-1c08 / 0
  CIST RootPortId     :0.0
  BPDU-Protection     :disabled
  CIST Root Type      :PRIMARY root
  TC or TCN received  :170
  TC count per hello  :170
  STP Converge Mode   :Fast
  Time since last TC :0 days 0h:12m:15s
  ----[Port1(GigabitEthernet1/0/0)][FORWARDING]----
  Port Protocol       :enabled
  Port Role           :CIST Designated Port
  Port Priority       :128
  Port Cost(Dot1T )   :Config=auto / Active=20000
  Desg. Bridge/Port   :0.0025-9e6e-1c08 / 128.1
  Port Edged          :Config=disabled / Active=disabled
  Point-to-point      :Config=auto / Active=true
  Transit Limit       :147 packets/hello-time
  Protection Type     :None
  Port Stp Mode       :Stp
  Port Protocol Type  :Config=auto / Active=legacy
  PortTimes           :Hello 2s MaxAge 20s FwDly 15s RemHop 20
  BPDU Sent           :35644
  TCN: 0, Config: 35468, RST: 176, MST: 0
  BPDU Received       :43
  TCN: 43, Config: 0, RST: 0, MST: 0
  ----[Port2(GigabitEthernet1/0/1)][DOWN]----
  Port Protocol       :enabled
  Port Role           :CIST Disabled Port
  Port Priority       :128
  [9303]disp cu | begin  stp
  stp mode stp
  stp instance 0 root primary
  stp enable
  #
  diffserv domain default
  #
  drop-profile default
  #
  vlan 1
  description default mng vlan
  #
  interface Vlanif1
  #
  interface Ethernet0/0/0
  #
  interface GigabitEthernet1/0/0
  description To 5328_1
  port link-type trunk
  port trunk allow-pass vlan 2 to 4094
  undo negotiation auto
  #
  interface GigabitEthernet1/0/1
  undo negotiation auto
  #
  interface GigabitEthernet1/0/2
  description To 5328_2
  port link-type trunk
  port trunk allow-pass vlan 2 to 4094
  undo negotiation auto
  #
  interface GigabitEthernet1/0/3
  undo negotiation auto
  #
  interface GigabitEthernet1/0/4
  port link-type trunk
  [9303]stp mode ?
  mstp  Multiple spanning tree protocol mode
  rstp  Rapid spanning tree protocol mode
  stp   The Spanning tree protocol mode
  [9303]stp root ?
  primary    Primary root switch
  secondary  Secondary root switch
  [9303]stp converge ?      
  fast    Fast mode
  normal  Normal mode
  [9303]stp bpdu-prot ?
  <cr>
  [9303]stp bridge ?
  INTEGER<2-7>  Bridge diameter
  [9303]stp max-hops ?
  INTEGER<1-40>  STP max hops
  [9303]stp prio ?
  INTEGER<0-61440>  Bridge priority, in steps of 4096
  [9303]stp tc-protec ?
  threshold  Set the threshold value
  <cr>
  [9303]interface g1/0/0
  [9303-GigabitEthernet1/0/0]
  [9303-GigabitEthernet1/0/0]stp ?
  bpdu                 bpdu
  compliance           Protocol type
  config-digest-snoop  Specify config digest snoop
  cost                 Specify port path cost
  disable              Disable spanning tree protocol on a port
  edged-port           Specify edge port
  enable               Enable spanning tree protocol on a port
  instance             Spanning tree instance
  loop-protection      Specify loop protection
  mcheck               Specify mcheck
  no-agreement-check   Ignore the root port when calculating the allSynced flag
  point-to-point       Specify point to point link
  port                 Specify port parameter
  root-protection      Specify root protection
  transmit-limit       Specify transmission limit count
  vpls-subinterface    The subinterfaces that bind VSI
  [9303-GigabitEthernet1/0/0]stp port ?
  priority  Specify port priority
  [9303-GigabitEthernet1/0/0]stp cost ?
  INTEGER<1-200000000>  Port path cost
  [9303-GigabitEthernet1/0/0]stp enable ?
  <cr>
  [9303-GigabitEthernet1/0/0]stp instance ?      

  INTEGER<0-48> >  [9303-GigabitEthernet1/0/0]stp root-prot ?
  <cr>
  [9303-GigabitEthernet1/0/0]stp edged-port ?
  disable  Disable edge port
  enable   Enable edge port
  [9303-GigabitEthernet1/0/0]
  [9303-GigabitEthernet1/0/0]stp bpdu ?
  vlan  virtul local network
  [9303-GigabitEthernet1/0/0]stp bpdu vlan ?

  INTEGER<1-4094>  vlan>  [9303-GigabitEthernet1/0/0]stp compliance ?
  auto    Protocol type is auto
  dot1s   Protocol type is 802.1s
  legacy  Protocol type is Legacy
  [9303-GigabitEthernet1/0/0]
  [9303-GigabitEthernet1/0/0]disp stp ?
  brief                 Brief information
  instance              Spanning tree instance
  interface             Specify interface
  region-configuration  Region configuration
  slot                  Slot Number
  <cr>
  [9303-GigabitEthernet1/0/0]

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-539977-1-1.html 上篇帖子: 华为S2300交换机基本配置 下篇帖子: 华为交换机命令行操作小结
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表