3com S7906E 参考指南
1-19
z
Configured in port view, the setting takes effect on the current port only; configured in port group
view, the setting takes effect on all ports in the port group.
z
Configured in Layer-2 aggregate port view, the setting takes effect only on the aggregate port.
Configured on the member port in an aggregation group, the setting can take effect only after the
port leaves the aggregation group. For detailed information about link aggregation, refer to Link
Aggregation Configuration in the Access Volume.
z
If you set instance-id to 0, you are setting the path cost of the port in the CIST. The path cost setting
of a port can affect the role selection of the port. Setting different path costs for the same port in
different MSTIs allows different VLAN traffic flows to be forwarded along different physical links,
thus to enable VLAN-based load balancing. When the path cost of a port is changed, MSTP will
re-compute the role of the port and initiate a state transition.
z
If you do not provide instance instance-id, your configuration will take effect in the CIST instance
only.
Examples
# Set the path cost of port GigabitEthernet 2/0/3 in MSTI 2 to 200.
<Sysname> system-view
[Sysname] interface GigabitEthernet 2/0/3
[Sysname-GigabitEthernet2/0/3] stp instance 2 cost 200
stp edged-port
Syntax
stp edged-port { enable | disable }
undo stp edged-port
View
Ethernet port view, port group view, Layer-2 aggregate port view
Default Level
2: System level
Parameters
enable: Configures the current port(s) to be an edge port or edge ports.
disable: Configures the current port(s) to be a non-edge port or non-edge ports.
Description
Use the stp edged-port enable command to configure the port(s) to be an edge port or edge ports.
Use the stp edged-port disable or undo stp edged-port enable command to configure the port(s) to
be a non-edge port or non-edge ports.
All Ethernet ports are non-edge ports by default.
Note that:
z
Configured in port view, the setting takes effect on the current port only; configured in port group
view, the setting takes effect on all ports in the port group.
z
Configured in Layer-2 aggregate port view, the setting takes effect only on the aggregate port.
Configured on the member port in an aggregation group, the setting can take effect only after the