Configure The Path Cost Of A Port - Huawei Quidway S3000 Series Operation Manual

Table of Contents

Advertisement

Operation Manual - STP
Quidway S3000 Series Ethernet Switches
enabled on the switch, the configured edge port will turn into non-edge port again when
it receives BPDU from other port. In the case that BPDU protection is enabled, the port
will be disabled. The configuration of this parameter takes effect on all the STIs. In other
words, if a port is configured as an EdgedPort or Non- EdgedPort, it is configured the
same on all the STIs.
It is better to configure the BPDU protection on the edged port, so as to prevent the
switch from being attacked.
Before BPDU protection is enabled on the switch, the port runs as a non-edge port
when it receives BPDU, even if the user has set it as an edge port.
By default, all the Ethernet ports of the switch have been configured as non-edge ports.
Note:
It is better to configure the port directly connected with terminal as the edged port, and enable the BPDU
function on the port. That is to realize fast state-transition and prevent the switch from being attacked.

2.2.10 Configure the Path Cost of a Port

Path Cost is related to the speed of the link connected to the port. On the MSTP switch,
a port can be configured with different path costs for different STIs. Thus the traffic from
different VLANs can run over different physical links, thereby implementing the
VLAN-based load-balancing.
You can configure the path cost of a port in the following ways.
I. Configure in system view
Perform the following configuration in system view.
Table2-14 Configure the Path Cost of a port
Configure the Path Cost of a port.
Restore the default path cost of a port.
II. Configure in Ethernet port view
Perform the following configuration in Ethernet port view.
Operation
Command
stp interface interface-list [ instance instance-id ] cost cost
undo stp interface interface-list [ instance instance-id ]
cost
2-20
Chapter 1 RSTP Configuration

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents