|
KSZ8842-16 Datasheet, PDF (38/126 Pages) Micrel Semiconductor – 2-Port Ethernet Switch with Non-PCI Interface | |||
|
◁ |
Micrel Confidential
KSZ8842-16/32 MQL/MVL
Advanced Switch Functions
Spanning Tree Support
To support spanning tree, the host port is the designated port for the processor.
The other ports can be configured in one of the five spanning tree states via âtransmit enableâ, âreceive enableâ and
âlearning disableâ register settings in registers P1CR2 and P2CR2 for ports 1 and 2, respectively. Table 9 shows the port
setting and software actions taken for each of the five spanning tree states.
Disable State
The port should
not forward or
receive any
packets. Learning
is disabled.
Blocking State
Only packets to
the processor are
forwarded.
Listening State
Only packets to
and from the
processor are
forwarded.
Learning is
disabled.
Learning State
Only packets to
and from the
processor are
forwarded.
Learning is
enabled.
Forwarding
State
Packets are
forwarded and
received normally.
Learning is
enabled.
Port Setting
âtransmit
enable = 0,
receive
enable = 0,
learning
disable =1â
Port Setting
âtransmit
enable = 0,
receive
enable = 0,
learning
disable =1â
Port Setting
âtransmit
enable = 0,
receive
enable = 0,
learning
disable =1â
Port Setting
âtransmit
enable = 0,
receive
enable = 0,
learning
disable = 0â
Port Setting
âtransmit
enable = 1,
receive enable
= 1, learning
disable = 0â
Software Action
The processor should not send any packets to the port. The switch may still
send specific packets to the processor (packets that match some entries in
the âstatic MAC tableâ with âoverriding bitâ set) and the processor should
discard those packets. Address learning is disabled on the port in this
state.
Software Action
The processor should not send any packets to the port(s) in this state. The
processor should program the âStatic MAC tableâ with the entries that it
needs to receive (for example, BPDU packets). The âoverridingâ bit should
also be set so that the switch will forward those specific packets to the
processor. Address learning is disabled on the port in this state.
Software Action
The processor should program the âStatic MAC tableâ with the entries that it
needs to receive (for example, BPDU packets). The âoverridingâ bit should
be set so that the switch will forward those specific packets to the
processor. The processor may send packets to the port(s) in this state.
Address learning is disabled on the port in this state.
Software Action
The processor should program the âStatic MAC tableâ with the entries that it
needs to receive (for example, BPDU packets). The âoverridingâ bit should
be set so that the switch will forward those specific packets to the
processor. The processor may send packets to the port(s) in this state.
Address learning is enabled on the port in this state.
Software Action
The processor programs the âStatic MAC tableâ with the entries that it
needs to receive (for example, BPDU packets). The âoverridingâ bit is set so
that the switch forwards those specific packets to the processor. The
processor can send packets to the port(s) in this state. Address learning is
enabled on the port in this state.
Table 9: Spanning Tree States
November 2005
38
Rev. 1.4
|
▷ |