华为5328/9303命令—2.STP

[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>  Identifier of spanning tree instance

[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 id

[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]

你可能感兴趣的:(职场,华为,休闲)