The invention discloses a PCIE exchange 
chip port 
configuration system and method supporting virtual exchange, and the 
system comprises: a port controller which is used for realizing the functions ofa medium 
access control layer, a 
data link layer and a transaction layer of a 
physical layer; a 
physical layer interface for realizing the functions of a physical medium 
adaptation layer and a physical coding sub-layer of a PCIE 
physical layer; a routing module which is used for receiving routing information from the port controller, carrying out routing lookup according to the routing informationand acquiring a 
processing mode and a transceiving port number of the data packet; an 
EEPROM interface controller for reading configuration information of an external 
EEPROM and sending the configuration information to the configuration module; a configuration module which is used for receiving configuration information, configuring the ports, configuring the ports as upstream ports or downstreamports, dividing a virtual switching area in the 
chip, and controlling each port to be enabled; and a 
crossbar switch for forwarding the data packet passing through the PCIE switching 
chip. The port configuration can be quickly completed, and the 
time limit requirement of PCIE switching chip initialization is met.