128
C
HAPTER
20: MSTP C
ONFIGURATION
Configuration procedure (in system view)
Configuration procedure (in Ethernet port view)
On a switch with BPDU protection not enabled, an edge port becomes a non-edge
port again once it receives a BPDU from another port.
You are recommended to configure the Ethernet ports connected directly to terminals
as edge ports and enable the BPDU protection function as well. This not only enables
these ports to transit to forwarding state rapidly but also secures your network.
Configuration example
1
Configure GigabitEthernet1/0/1 port as an edge port.
■
Configure in system view.
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
stp interface GigabitEthernet1/0/1 edged-port enable
■
Configure in Ethernet port view.
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
interface GigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1]
stp edged-port enable
Point-to-point
Link-Related
Configuration
A point-to-point link directly connects two switches. If the roles of the two ports at
the two ends of a point-to-point link meet certain criteria, the two ports can transit to
the forwarding state rapidly by exchanging synchronization packets, eliminating the
forwarding delay.
You can specify whether or not the link connected to a port is a point-to-point link in
one of the following two ways.
Table 96
Configure a port as an edge port (in system view)
Operation
Command
Description
Enter system view
system-view
—
Configure the specified
ports as edge ports
stp interface
interface-list
edged-port enable
Required
By default, all the Ethernet ports of
a switch are non-edge ports.
Table 97
Configure a port as an edge port (in Ethernet port view)
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port
view
interface
interface-type
interface-number
—
Configure the port as
an edge port
stp edged-port enable
Required
By default, all the Ethernet ports of a
switch are non-edge ports.
Summary of Contents for 4200G 12-Port
Page 10: ...8 CONTENTS...
Page 14: ...4 ABOUT THIS GUIDE...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...