A method for implementing node port virtualization on a fibre channel, wherein a node port virtualization switch is connected to a fibre channel switched fabric by using at least two N ports of the node port virtualization switch, and the method comprises: receiving, by the node port virtualization switch, a first registered state change notification by using an N port of the at least two N ports, wherein the first registered state change notification carries a first N port identifier, the first N port identifier is a Fibre Channel identifier of an N port of a remote node; the method being characterized in that it comprises: allocating, by the node port virtualization switch to the at least two N ports connected to the fibre channel switched fabric, at least two second N port identifiers corresponding to the first N port identifier, wherein the at least two second N port identifiers corresponding to the same first N port identifier are different, and there is a bijection relationship between the at least two second N port identifiers corresponding to the same first N port identifier and the at least two N ports connected to the fibre channel switched fabric, wherein each of the at least two second N port identifiers is a virtual N port ID that is of the N port of the remote node; and sending, by the node port virtualization switch, a second registered state change notification by using an F port of the node port virtualization switch, wherein the second registered state change notification carries one of the at least two second N port identifiers. receiving, by the node port virtualization switch, a first registered state change notification by using an N port of the at least two N ports, wherein the first registered state change notification carries a first N port identifier, the first N port identifier is a Fibre Channel identifier of an N port of a remote node; the method being characterized in that it comprises: allocating, by the node port virtualization switch to the at least two N ports connected to the fibre channel switched fabric, at least two second N port identifiers corresponding to the first N port identifier, wherein the at least two second N port identifiers corresponding to the same first N port identifier are different, and there is a bijection relationship between the at least two second N port identifiers corresponding to the same first N port identifier and the at least two N ports connected to the fibre channel switched fabric, wherein each of the at least two second N port identifiers is a virtual N port ID that is of the N port of the remote node; and allocating, by the node port virtualization switch to the at least two N ports connected to the fibre channel switched fabric, at least two second N port identifiers corresponding to the first N port identifier, wherein the at least two second N port identifiers corresponding to the same first N port identifier are different, and there is a bijection relationship between the at least two second N port identifiers corresponding to the same first N port identifier and the at least two N ports connected to the fibre channel switched fabric, wherein each of the at least two second N port identifiers is a virtual N port ID that is of the N port of the remote node; and sending, by the node port virtualization switch, a second registered state change notification by using an F port of the node port virtualization switch, wherein the second registered state change notification carries one of the at least two second N port identifiers.