
1-24
To do...
Use the command...
Remarks
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.
z
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.
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.
Содержание S5120-EI Series
Страница 139: ...ii...
Страница 268: ...3 3 SwitchB system view SwitchB interface vlan interface 1 SwitchB Vlan interface1 ip address dhcp alloc...
Страница 328: ...i Table of Contents 1 Dual Stack Configuration 1 1 Dual Stack Overview 1 1 Configuring Dual Stack 1 1...
Страница 578: ...1 21 C...
Страница 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Страница 926: ...2 8...
Страница 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Страница 985: ...1 1...
Страница 1018: ...1 6...