Stp Enable - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

undo stp edged-port
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default Level
2: System level
Parameters
enable: Configures the current port(s) as an edge port or edge ports.
disable: Configures the current port(s) as a non-edge port or non-edge ports.
Description
Use the stp edged-port enable command to configure the port(s) as an edge port or ports.
Use the stp edged-port disable command to configure the port(s) as a non-edge port or non-edge
ports.
Use the undo stp edged-port command to restore the default.
All ports are non-edge ports by default.
Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only.
Configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting can take effect only after the port
leaves the aggregation group.
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 the network topology changes, an edge port will not cause a
temporary loop. Therefore, configuring a port as an edge port can enable the port to transition to the
forwarding state rapidly. H3C recommends that you configure a port directly connecting to a user
terminal as an edge port to enable it to transition to the forwarding state rapidly.
Normally, configuration BPDUs from other devices will not be received by an edge port because it does
not connect to any other device. Before the BPDU guard function is enabled, if a port receives a
configuration BPDU, the port is working actually as a non-edge port even if you have configured it as
an edge port.
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.
Related commands: stp loop-protection and stp root-protection.
Examples
# Configure GigabitEthernet 2/0/1 as an edge port.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] stp edged-port enable

stp enable

Syntax
stp enable
undo stp enable
11-26

Advertisement

Table of Contents
loading

Table of Contents