Patent ID: 9356802
Filing Date: 2016-05-31
CPC Classification: H04L

Claim Text:
1. A method for selecting a network device, comprising: receiving, by a second network device, a network device selection message sent by a first network device, wherein the network device selection message contains a virtual local area network (VLAN) mapping capability identifier of the first network device; and selecting, by the second network device, according to the VLAN mapping capability identifier and local VLAN mapping capability, the network device for executing VLAN mapping; wherein the network device selection message further contains a device identifier of the first network device; and accordingly, the second network device selects, according to the VLAN mapping capability identifier, the device identifier, the local VLAN mapping capability, and a local device identifier, the network device for executing the VLAN mapping; wherein the selecting, by the second network device, according to the VLAN mapping capability identifier, the device identifier, the local VLAN mapping capability, and the local device identifier, the network device for executing the VLAN mapping comprises: when the second network device determines, according to the VLAN mapping capability identifier and the local VLAN mapping capability, that both the second network device and the first network device have the VLAN mapping capability, selecting, according to sizes or a sequence of the device identifier and the local device identifier, the network device for executing the VLAN mapping.