![HP FlexNetwork 5130 HI series Скачать руководство пользователя страница 155](http://html.mh-extra.com/html/hp/flexnetwork-5130-hi-series/flexnetwork-5130-hi-series_command-reference-manual_165888155.webp)
147
Usage guidelines
After you enter MST region view, you can configure the MST region parameters, including the region
name, VLAN-to-instance mappings, and revision level.
Examples
# Enter MST region view.
<Sysname> system-view
[Sysname] stp region-configuration
[Sysname-mst-region]
stp role-restriction
Use
stp role-restriction
to enable port role restriction.
Use
undo stp role-restriction
to disable port role restriction.
Syntax
stp role-restriction
undo stp role-restriction
Default
Port role restriction is disabled.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
Usage guidelines
When port role restriction is enabled on a port, the port cannot become a root port.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect only on that
interface.
When the setting is configured in Layer 2 aggregate interface view, it takes effect only on the
aggregate interface.
When the setting is configured on a member port in an aggregation group, it takes effect only after
the port leaves the aggregation group.
Examples
# Enable port role restriction on interface GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp role-restriction
stp root primary
Use
stp root primary
to configure the device as the root bridge.
Use
undo stp root
to restore the default.
Syntax
stp
[
instance instance-list
|
vlan
vlan-id-list
]
root primary
undo stp
[
instance instance-list
|
vlan
vlan-id-list
]
root
Содержание FlexNetwork 5130 HI series
Страница 293: ...285 Sysname GigabitEthernet1 0 1 lldp agent nearest customer tlv enable dot1 tlv link aggregation ...
Страница 302: ...294 ...