R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
73
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
w
hich the port sends BPDUs and prevent spanning tree protocols from usin
g
excessive network resources
w
hen the network becomes instable. HP 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.
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 interface view or
Layer 2 aggregate
interface view
interface interface-type interface-number
—.
Configure the current
ports as edge ports
stp edged-port enable
Required
All ports are non-edge ports by default.
NOTE:
• With BPDU
g
uard disabled, when a port set as an ed
g
e 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
g
uard for it.
This enables the port to transition to the forwarding state fast while ensuring network security.
• You cannot configure edge port settings and loop guard 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 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.
The device can automatically calculate the default path cost; alternatively, you can also configure the
path cost for ports.
1. Specifying a standard for the device to use 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:
• 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.
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 —