Configuration example, Configuring the current port as an edge port, Configure a port as an edge port in system view – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 194: Configuring the current port as an edge port -25

Advertising
background image

22-25

To do…

Use the command…

Remarks

Enter Ethernet port view

interface

interface-type

interface-number

Configure the maximum
transmitting speed

stp transmit-limit

packetnum

Required
The maximum transmitting speed
of all Ethernet ports on a device
defaults to 10.

As the maximum transmitting speed parameter determines the number of the configuration BPDUs
transmitted in each hello time, set it to a proper value to prevent MSTP from occupying too many
network resources. The default value is recommended.

Configuration example

# Set the maximum transmitting speed of GigabitEthernet 1/0/1 to 15.

1) Configure the maximum transmitting speed in system view

<device> system-view

[device] stp interface GigabitEthernet1/0/1 transmit-limit 15

2) Configure the maximum transmitting speed in Ethernet port view

<device> system-view

[device] interface GigabitEthernet1/0/1

[device-GigabitEthernet1/0/1] stp transmit-limit 15

Configuring the Current Port as an Edge Port

Edge ports are ports that neither directly connects to other devices nor indirectly connects to other
devices through network segments. After a port is configured as an edge port, the rapid transition
mechanism is applicable to the port. That is, when the port changes from the blocking state to the
forwarding state, it does not have to wait for a delay.

You can configure a port as an edge port in one of the following two ways.

Configure a port as an edge port in system view

Follow these steps to configure a port as an edge port in system view:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the specified ports as
edge ports

stp interface

interface-list

edged-port enable

Required
By default, all the Ethernet ports of
a device are non-edge ports.

Configure a port as an edge port in Ethernet port view

Follow these steps to configure a port as an edge port in Ethernet port view:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Ethernet port view

interface

interface-type

interface-number

Advertising