ZXR10 2900 Series User Manual
Command
Function
zte(cfg)#
set stp instance
<
0-15
>
port
<
portname
>
loop-guard
{
enable
|
disable
}
This enables/disables
instance port loop
protection.
zte(cfg)#
set stp instance
<
0-15
>
trunk
<
trunkname
>
cost
<
1-200000000
>
This sets instance trunk
cost.
zte(cfg)#
set stp instance
<
0-15
>
trunk
<
trunkname
>
root-guard
{
enable
|
disable
}
This enables/disables
instance trunk root
protection.
zte(cfg)#
set stp instance
<
0-15
>
trunk
<
trunkname
>
loop-guard
{
enable
|
disab
le
}
This enables/disables
instance trunk loop
protection.
zte(cfg)#
set stp port
<
portlist
>{
enable
|
disable
}
This enables/disables
port stp function.
zte(cfg)#
set stp trunk
<
trunklist
>{
enab
le
|
disable
}
This enables/disables
trunk stp function.
zte(cfg)#
set stp port
<
portlist
>
bpdu-guard
{
enable
|
disable
}
This enables/disables
port bpdu protection.
zte(cfg)#
set stp port
<
portlist
>
pcheck
This sets port stp type
check.
zte(cfg)#
set stp bpdu-interval
<
10-65535
>
This sets BPDU
protection port
linkdown interval, the
default is 100, the unit
is s.
zte(cfg)#
set stp port
<
portlist
>
linktype
{
point-point
|
shared
}
This sets instance port
Linktype.
zte(cfg)#
set stp trunk
<
trunklist
>
linktype
{
point-point
|
shared
}
This sets instance trunk
Linktype.
zte(cfg)#
set stp port
<
portlist
>
packettype
{
IEEE
|
CISCO
|
HUAWEI
|
HAMMER
|
extend
}
This sets instance port
packet type.
zte(cfg)#
set stp trunk
<
trunkid
>
packettype
{
IEEE
|
CISCO
|
HUAWEI
|
HAMMER
|
extend
}
This sets instance trunk
packet type.
zte(cfg)#
set stp hellotime
<
1-10
>
This sets STP
notification interval,
the default is 2, unit is
s.
zte(cfg)#
set stp forwarddelay
<
4-30
>
This sets STP
forwarding delay time,
the default is 15, unit is
s.
zte(cfg)#
set stp agemax
<
6-40
>
This sets STP aging
time, the default is 20,
unit is s.
98
Confidential and Proprietary Information of ZTE CORPORATION