华为5328/9303命令—2.STP
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-configurationEnter MSTP region view
root Specify root switch
timer Specify timer configuration
timer-factor Specify aged out time factor
stp converge ?
fast Fast mode
normalNormal mode
stp mode ?
mstpMultiple spanning tree protocol mode
stp The Spanning tree protocol mode
stp root ?
primary Primary root switch
secondarySecondary root switch
stp interface ?
GigabitEthernetGigabitEthernet interface
stp interface GigabitEthernet 0/1/?
<1-4>
stp interface GigabitEthernet 0/1/1 ?
GigabitEthernet GigabitEthernet interface
compliance Protocol type
config-digest-snoopSpecify 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
inter g 0/1/1
stp ?
backup-port-reply-agreementthe 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
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
disp stp brief
MSTID Port RoleSTP State Protection
0 GigabitEthernet0/0/8DESIFORWARDING NONE
0 GigabitEthernet0/0/10 DESIFORWARDING NONE
0 GigabitEthernet0/0/12 DESIFORWARDING NONE
0 GigabitEthernet0/0/22 DESIFORWARDING NONE
0 GigabitEthernet0/1/1ROOTFORWARDING NONE
disp 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
--------
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
--------
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
disp stp ?
brief Brief information
instance Spanning tree instance
interface Specify interface
region-configurationRegion configuration
slot Slot Number
<cr>
disp stp brief
MSTID Port RoleSTP State Protection
0 GigabitEthernet1/0/0 DESIFORWARDING NONE
0 GigabitEthernet1/0/2 DESIFORWARDING NONE
0 GigabitEthernet1/0/4 DESIFORWARDING NONE
0 GigabitEthernet1/0/6 DESIFORWARDING NONE
disp stp instance 0 ?
brief Brief information
interfaceSpecify interface
slot Slot Number
<cr>
disp stp instance 0
--------------
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
--------
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
--------
Port Protocol :enabled
Port Role :CIST Disabled Port
Port Priority :128
disp cu | beginstp
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
stp mode ?
mstpMultiple spanning tree protocol mode
rstpRapid spanning tree protocol mode
stp The Spanning tree protocol mode
stp root ?
primary Primary root switch
secondarySecondary root switch
stp converge ?
fast Fast mode
normalNormal mode
stp bpdu-prot ?
<cr>
stp bridge ?
INTEGER<2-7>Bridge diameter
stp max-hops ?
INTEGER<1-40>STP max hops
stp prio ?
INTEGER<0-61440>Bridge priority, in steps of 4096
stp tc-protec ?
thresholdSet the threshold value
<cr>
interface g1/0/0
stp ?
bpdu bpdu
compliance Protocol type
config-digest-snoopSpecify 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
stp port ?
prioritySpecify port priority
stp cost ?
INTEGER<1-200000000>Port path cost
stp enable ?
<cr>
stp instance ?
INTEGER<0-48> > stp root-prot ?
<cr>
stp edged-port ?
disableDisable edge port
enable Enable edge port
stp bpdu ?
vlanvirtul local network
stp bpdu vlan ?
INTEGER<1-4094>vlan> stp compliance ?
auto Protocol type is auto
dot1s Protocol type is 802.1s
legacyProtocol type is Legacy
disp stp ?
brief Brief information
instance Spanning tree instance
interface Specify interface
region-configurationRegion configuration
slot Slot Number
<cr>
页:
[1]