Configuration Restrictions And Guidelines; Configuration Procedure; Configuring Path Costs Of Ports; Specifying A Standard For The Device To Use When It Calculates The Default Path Cost - HP 3100 Series Configuration Manual

Table of Contents

Advertisement

Configuration restrictions and guidelines

If BPDU guard is disabled, a port set as an edge port will become a non-edge port again if it
receives a BPDU from another port. 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 quickly while ensuring
network security.
You cannot configure edge port settings and loop guard on a port at the same time.

Configuration procedure

To specify a port or a group of ports as edge port or ports:
Step
Enter system view.
1.
Enter interface view or port
2.
group view.
Configure the current ports
3.
as edge ports.

Configuring path costs of ports

Path cost is a parameter related to the rate of a port. On a spanning tree 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, achieving VLAN-based load balancing.
You can have the device automatically calculate the default path cost, or you can configure the path
cost for ports.
Specifying a standard for the device to use when it calculates
the default path cost
CAUTION:
If you change the standard that the device uses to calculate the default path costs, you restore the
path costs to the default.
You can specify a standard for the device to use in automatic calculation for the default path cost.
The device supports the following standards:
dot1d-1998—The device calculates the default path cost for ports based on IEEE 802.1d-1998.
dot1t—The device calculates the default path cost for ports based on IEEE 802.1t.
legacy—The device calculates the default path cost for ports based on a private standard.
Table 13
shows the mappings between the link speed and the path cost.
Command
system-view
Enter Layer 2 Ethernet interface
view or Layer 2 aggregate interface
view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
stp edged-port enable
72
Remarks
N/A
Use one of the commands.
All ports are non-edge
ports by default.

Advertisement

Table of Contents
loading

Table of Contents