Configuring the maximum port rate, Configuring edge ports – H3C Technologies H3C SecPath F1000-E User Manual

Page 116

Advertising
background image

91

Configuring the maximum port rate

The maximum rate of a port refers to the maximum number of BPDUs the port can send within each hello

time. The maximum rate of a port is related to the physical status of the port and the network structure.
To configure the maximum rate of a port or a group of ports:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view or Layer
2 aggregate interface view.

interface interface-type
interface-number

N/A

3.

Configure the maximum rate of the
ports.

stp transmit-limit limit

10 by default.

NOTE:

The higher the maximum port rate is, the more BPDUs will be sent within each hello time, and the more
system resources will be used. By setting an appropriate maximum port rate, you can limit the rate at
which the port sends BPDUs and prevent spanning tree protocols from using excessive network resources

when the network becomes instable. H3C recommends you to use the default setting.

Configuring edge ports

If a port directly connects to a user terminal rather than another device or a shared LAN segment, this
port is regarded as an edge port. When network topology change occurs, an edge port will not cause

a temporary loop. Because a device does not know whether a port is directly connected to a terminal,

you must manually configure the port to be an edge port. After that, this port can transition rapidly from

the blocked state to the forwarding state without delay.
To specify a port or a group of ports as edge port or ports:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Ethernet interface view or Layer 2
aggregate interface view.

interface interface-type
interface-number

N/A

3.

Configure the current ports as edge
ports.

stp edged-port enable

All ports are non-edge ports

by default.

NOTE:

With BPDU guard disabled, when a port set as an edge port receives a BPDU from another port, it will
become a non-edge port again. To restore the edge port, re-enable it.

If a port directly connects to a user terminal, configure it as an edge port and enable BPDU guard for it.
This enables the port to transition to the forwarding state fast while ensuring network security.

Among loop guard, root guard and edge port settings, only one function (whichever is configured the
earliest) can take effect on a port at the same time.

Advertising