44 / 93 page

IP178C/IP178C LF/IP178CH/IP178CH LF
Datasheet
44/93
June 21, 2007
Copyright © 2004, IC Plus Corp.
IP178Cx-DS-R12
2.10
Spanning tree
IP178C/IP178CH supports spanning tree function with the following features:
1. Detect BPDU frames by examining multicast address (01-80-c2-00-00-00).
2. Forward BPDU packets to CPU through MII and add special tag for source port information.
Forward BPDU packets from CPU according to the special tag in a frame.
Please refer to section “Tag VLAN / Tag and un-tag function”.
Port states
To support spanning tree protocol, each port of IP178C/IP178CH provides five port states shown in the
following table. Port 0~7 of IP178C/IP178CH can be configured in one of the five spanning tree states
individually by programming MII register 31.13 to enable (disable) forwarding and learning function. Port
8 (MII) is dedicated for CPU.
State
Fwd BPDU
packet to CPU
Fwd BPDU packet
from CPU
Address
learning
Fwd all packet
normally
(Forward enable,
Learning enable)
Disable
X (note 2)
X (note 2)
X
X
(0,0)
Blocking
O
X (note 3)
X
X
(0,0)
Listening
O
O
X
X
(0,0)
Learning
O
O
O
X
(0,1)
Forwarding
O
O
O
O
(1,1)
Note1: O: enabled, X: disabled
Note2: CPU should not send packets to IP178C/IP178CH and should discard packets from
IP178C/IP178CH.
Note3: CPU should not send packets to IP178C/IP178CH.