![H3C S12500R Series Скачать руководство пользователя страница 5](http://html1.mh-extra.com/html/h3c/s12500r-series/s12500r-series_configuration-examples_575185005.webp)
3
Analysis
For the ports at the access side of Device A and Device C to rapidly transit to the forwarding state,
use the
stp edged-port
command to configure these ports as edge ports.
This example uses HundredGigE 1/0/3 to illustrate the configuration on the ports at the access side
on Device A and Device C.
Software versions used
This configuration example was created and verified on Release 3606.
Restrictions and guidelines
On a port, the loop guard feature is mutually exclusive with the root guard feature or the edge port
setting.
Do not configure the loop guard feature on ports at the access side. Otherwise, the ports stay in
Discarding
state in all MSTIs because they cannot receive BPDUs.
By default, interfaces on the device are disabled (in
ADM
or
Administratively Down
state). To have
an interface operate, you must use the
undo shutdown
command to enable that interface.
Procedures
Configuring Device B
# Specify IP addresses for interfaces. (Details not shown.)
# Configure root guard on HundredGigE 1/0/1 and HundredGigE 1/0/2.
<DeviceB> system-view
[DeviceB] interface range hundredgige 1/0/1 to hundredgige 1/0/2
[DeviceB-if-range] port link-mode bridge
[DeviceB-if-range] stp root-protection
[DeviceB-if-range] quit
# Configure TC-BPDU guard.
[DeviceB] stp tc-protection
[DeviceB] stp tc-protection threshold 10
# Configure broadcast and multicast suppression on HundredGigE 1/0/1 and HundredGigE 1/0/2.
[DeviceB] interface range hundredgige 1/0/1 to hundredgige 1/0/2
[DeviceB-if-range] broadcast-suppression pps 6400
[DeviceB-if-range] multicast-suppression pps 6400
[DeviceB-if-range] quit
Configuring Device A
# Specify IP addresses for interfaces. (Details not shown.)
# Configure each interface to operate in Later 2 mode.
<DeviceA> system-view