37 / 93 page

IP178C/IP178C LF/IP178CH/IP178CH LF
Datasheet
37/93
June 21, 2007
Copyright © 2004, IC Plus Corp.
IP178Cx-DS-R12
2.7
Tag VLAN in router application
In a router application, MII port is defined as a tagged port and the other ports are defined as un-tagged
ports. IP178C/IP178CH inserts VLAN tag into packets according to its source port when it forwards the
packets to MII port. The pre-defined VLAN tag value is defined in register 30.3~11. CPU can identify the
source port of a packet from MII by examining the VLAN tag.
CPU inserts VLAN tag into packets when it sends packets to MII port. IP178C/IP178CH forwards a
packet from MII to the appropriate port according to the MAC address and VLAN tag. IP178C/IP178CH
removes the VLAN tag when it forwards the packet.