![FoxGate S6124 Скачать руководство пользователя страница 145](http://html1.mh-extra.com/html/foxgate/s6124/s6124_command-manual_2325479145.webp)
145
Command: spanning-tree [mst
<instance-id>
] rootguard
no spanning-tree [mst
<instance-id>
] rootguard
Function:
Enable the rootguard function for specified instance, the rootguard function
forbid the port to be MSTP root port. ―
no spanning-tree mst <
instance-id
> rootguard
‖
disable the rootguard function.
Parameter:
<instance-id>
:
MSTP instance ID.
Command mode:
Port Mode.
Default:
Disable rootguard function.
Usage Guide:
The command is used in Port Mode, if the port is configured to be a
rootguand port, it is forbidden to be a MSTP root port. If superior BPDU packet is received
from a rootguard port, MSTP did not recalculate spanning-tree, and just set the status of
the port to be root_inconsistent (blocked).If no superior BPDU packet is received from a
blocked rootguard port, the port status will restore to be forwarding. The rootguard
function can maintain a relative stable spanning-tree topology when a new switch is added
to the network.
Example:
Enable rootguard function for port 1/2 in instance 0.
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)#spanning-tree mst 0 rootguard
Switch(Config-If-Ethernet1/2)#
12.1.19 spanning-tree portfast
Command: spanning-tree portfast [bpdufilter | bpduguard]
no spanning-tree portfast
Function:
Set the current port as boundary port, and BPDU filter
、
BPDU guard as
specified mode or default mode ; t
he command ―
no spanning-tree portfast
‖ sets the
current port as non-boundary port.
Parameter: bpdufilter:
configure the border port mode as BPDU filter;
bpduguard:
configure the border port mode as BPDU guard.
Command mode:
Port Mode
Default:
All the ports are non-boundary ports by default when enabling MSTP.
Usage Guide:
When a port is set to be a boundary port, the port converts its status from
discarding to forwarding without bearing forward delay. Once the boundary port receives
the BPDU, the port becomes a non-boundary port.
Example:
Configure the border port mode as BPDU filter.
Switch(config)#interface ethernet 1/2
Switch(Config-If-Ethernet1/2)#spanning-tree portfast bpdufilter
Switch(Config-If-Ethernet1/2)#
Содержание S6124
Страница 311: ...311 Machine...
Страница 314: ...314...
Страница 318: ...318 am interface am ip pool 50 10 10 1 30 am mac ip pool 00 02 04 06 08 09 20 10 10 5 am ip pool 50 20 10 1 20...