1-24
Make this configuration on the root bridge and on the leaf nodes separately.
Follow these steps to specify a port or a group of ports as edge port or ports:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet interface
view, or Layer 2 aggregate
interface view
interface interface-type
interface-number
Enter
interface
view or port
group view
Enter port group view
port-group manual
port-group-name
Required
Use either command.
Configure the current ports as edge ports
stp
edged-port enable
Required
All ports are non-edge
ports by default.
z
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.
z
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.
Configuring Path Costs of Ports
Path cost is a parameter related to the rate of a port. On an MSTP-enabled device, a port can have
different path costs in different MSTIs. Setting appropriate path costs allows VLAN traffic flows to be
forwarded along different physical links, thus achieving VLAN-based load balancing.
The device can automatically calculate the default path cost; alternatively, you can also configure the
path cost for ports.
Make the following configurations on the leaf nodes only.
Specifying a standard that the device uses when calculating the default path cost
You can specify a standard for the device to use in automatic calculation for the default path cost. The
device supports the following standards:
z
dot1d-1998
: The device calculates the default path cost for ports based on IEEE 802.1d-1998.
z
dot1t
: The device calculates the default path cost for ports based on IEEE 802.1t.
z
legacy
: The device calculates the default path cost for ports based on a private standard.
Follow these steps to specify a standard for the device to use when calculating the default path cost:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Specify a standard for the
device to use when calculating
the default path costs of its
ports
stp pathcost-standard
{
dot1d-1998
|
dot1t
|
legacy
}
Optional
By default, the device
calculates the default path cost
for ports based on a private
standard.
Summary of Contents for S7902E
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Page 598: ...ii ...
Page 1757: ...4 9 ...
Page 1770: ...6 4 ...
Page 2017: ...2 11 Figure 2 3 SFTP client interface ...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...