Configuring Edge Ports; Configuration Restrictions And Guidelines; Configuration Procedure; Configuring Path Costs Of Ports - H3C S5560S-EI Series Configuration Manual

Layer 2-lan switching configuration guide
Hide thumbs Also See for S5560S-EI Series:
Table of Contents

Advertisement

Step
2.
Enter Layer 2 Ethernet
interface or Layer 2
aggregate interface view.
3.
Configure the BPDU
transmission rate of the
ports.

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 determine whether a port is directly connected
to a terminal, you must manually configure the port as an edge port. After that, the port can rapidly
transit from the blocking state to the forwarding state.

Configuration restrictions and guidelines

When you configure edge ports, follow these restrictions and guidelines:
If BPDU guard is disabled on a port configured as an edge port, the port becomes 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 quickly transit to the forwarding state when ensuring
network security.
On a port, the loop guard feature and the edge port setting are mutually exclusive.

Configuration procedure

To configure a port as an edge port:
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface or Layer 2
aggregate interface view.
3.
Configure the port as an
edge port.

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.
Command
interface interface-type
interface-number
stp transmit-limit limit
Command
system-view
interface interface-type
interface-number
stp edged-port
90
Remarks
N/A
The default setting is 10.
Remarks
N/A
N/A
By default, all ports are
non-edge ports.

Advertisement

Table of Contents
loading

Table of Contents