
19-103
19.1.14 spanning-tree link-type p2p
Command:
spanning-tree link-type p2p {auto | force-true | force-false}
no spanning-tree link-type
Function:
Se
t the link type of the current port; the command “
no spanning-tree link-type
” restores link type to
auto-negotiation.
Parameter:
auto
sets auto-negotiation,
force-true
forces the link as point-to-point type,
force-false
forces the link as non
point-to-point type.
Command mode:
Port Mode
Default:
The link type is auto by default; The MSTP detects the link type automatically.
Usage Guide:
When the port is full-duplex, MSTP sets the port link type as point-to-point; When the port is half-duplex, MSTP sets
the port link type as shared.
Example:
Force the port 1/7-8 as point-to-point type.
Switch(config)#interface ethernet 1/7-8
Switch(Config-Port-Range)#spanning-tree link-type p2p force-true
19.1.15 spanning-tree maxage
Command:
spanning-tree maxage
<time>
no spanning-tree maxage
Function:
Set the max aging time for BPDU; the command “
no spanning-tree maxage
” restores the default setting.