
ES-2724 User’s Guide
278
Chapter 41 Configuration Mode Commands
An example using
spanning-tree
command is shown next.
• Enable STP on the switch.
• Set the bridge priority of the switch to 0.
• Set the Hello Time to 4, Maximum Age to 20 and Forward Delay to 15 on the switch.
• Enable STP on port 5 with a path cost of 150.
• Set the priority for port 5 to 20.
maximum-age <6-40>
=
Specifies the maximum time (in seconds) a switch can wait
without receiving a BPDU before attempting to reconfigure. All
switch ports (except for designated ports) should receive
BPDUs at regular intervals. Any port that ages out STP
information (provided in the last BPDU) becomes the
designated port for the attached LAN. If it is a root port, a new
root port is selected from among the switch ports attached to the
network.
forward-delay <4-
30>
=
Specifies the maximum time (in seconds) a switch will wait
before changing states. This delay is required because every
switch must receive information about topology changes before
it starts to forward frames. In addition, each port needs time to
listen for conflicting information that would make it return to a
blocking state; otherwise, temporary data loops might result.
<port-list> path-
cost <1-65535>
=
Enables STP on the specified ports.
Specifies the cost of transmitting a frame on to a LAN through
that port. It is assigned according to the speed of the bridge.
<port-list>
priority <0-255>
=
Specifies the priority for each port.
Priority decides which port should be disabled when more than
one port forms a loop in a switch. Ports with a higher priority
numeric value are disabled first.
<port-list>
treeIndex <1-2>
=
Specifies which STP configuration these ports will participate
in. (
mrstp
command only).
sysname(config)# spanning-tree priority 0
sysname(config)# spanning-tree hello-time 4 maximum-age 20 forward-delay
15
sysname(config)# spanning-tree 5 path-cost 150
sysname(config)# spanning-tree 5 priority 20
Содержание ZyXEL Dimension ES-2724
Страница 1: ...ES 2724 Intelligent Layer 3 Switch User s Guide Version 3 70 9 2006...
Страница 2: ......
Страница 7: ...ES 2724 User s Guide Safety Warnings 5 This product is recyclable Dispose of it properly...
Страница 22: ...ES 2724 User s Guide 20 Table of Contents...
Страница 30: ...ES 2724 User s Guide 28 List of Tables...
Страница 36: ...ES 2724 User s Guide 34 Chapter 1 Getting to Know Your Switch...
Страница 40: ...ES 2724 User s Guide 38 Chapter 2 Hardware Installation and Connection...
Страница 48: ...ES 2724 User s Guide 46 Chapter 3 Hardware Overview...
Страница 58: ...ES 2724 User s Guide 56 Chapter 4 The Web Configurator...
Страница 64: ...ES 2724 User s Guide 62 Chapter 5 Initial Setup Example...
Страница 70: ...ES 2724 User s Guide 68 Chapter 6 System Status and Port Statistics...
Страница 82: ...ES 2724 User s Guide 80 Chapter 7 Basic Setting...
Страница 95: ...ES 2724 User s Guide Chapter 8 VLAN 93 Figure 39 Port Based VLAN Setup All Connected...
Страница 96: ...ES 2724 User s Guide 94 Chapter 8 VLAN Figure 40 Port Based VLAN Setup Port Isolation...
Страница 98: ...ES 2724 User s Guide 96 Chapter 8 VLAN...
Страница 107: ...ES 2724 User s Guide Chapter 11 Spanning Tree Protocol 105 Figure 45 RSTP Configuration...
Страница 114: ...ES 2724 User s Guide 112 Chapter 11 Spanning Tree Protocol...
Страница 126: ...ES 2724 User s Guide 124 Chapter 15 Link Aggregation...
Страница 132: ...ES 2724 User s Guide 130 Chapter 16 Port Authentication...
Страница 136: ...ES 2724 User s Guide 134 Chapter 17 Port Security...
Страница 142: ...ES 2724 User s Guide 140 Chapter 18 Classifier Figure 61 Classifier Example...
Страница 148: ...ES 2724 User s Guide 146 Chapter 19 Policy Rule Figure 64 Policy Example...
Страница 151: ...ES 2724 User s Guide Chapter 20 Queuing Method 149 Figure 65 Queuing Method...
Страница 158: ...ES 2724 User s Guide 156 Chapter 21 VLAN Stacking...
Страница 189: ...ES 2724 User s Guide Chapter 28 DHCP 187 Figure 93 DHCP Relay Configuration Example...
Страница 190: ...ES 2724 User s Guide 188 Chapter 28 DHCP...
Страница 210: ...ES 2724 User s Guide 208 Chapter 30 Access Control...
Страница 212: ...ES 2724 User s Guide 210 Chapter 31 Diagnostic...
Страница 216: ...ES 2724 User s Guide 214 Chapter 32 Syslog...
Страница 224: ...ES 2724 User s Guide 222 Chapter 33 Cluster Management...
Страница 232: ...ES 2724 User s Guide 230 Chapter 37 Routing Table...
Страница 268: ...ES 2724 User s Guide 266 Chapter 39 Introducing Commands...
Страница 276: ...ES 2724 User s Guide 274 Chapter 40 User and Enable Mode Commands...
Страница 290: ...ES 2724 User s Guide 288 Chapter 41 Configuration Mode Commands...
Страница 306: ...ES 2724 User s Guide 304 Chapter 43 IEEE 802 1Q Tagged VLAN Commands...
Страница 310: ...ES 2724 User s Guide 308 Chapter 45 Routing Domain Command Examples...
Страница 320: ...ES 2724 User s Guide 318 Chapter 46 Troubleshooting...
Страница 326: ...ES 2724 User s Guide 324 Appendix A Product Specifications...