Patent attributes
A communication method and an apparatus are provided. The method includes: receiving, by a terminal device, a first command sent by a network device, wherein the first command carries a first identifier, and is used to activate a first bandwidth part (BWP) indicated by the first identifier, and the first BWP is a BWP on a first component carrier (CC); and ignoring the first command when the terminal device does not support the first BWP and a second BWP being in an active state at the same time, wherein the second BWP is a BWP in the active state on a second CC, and the second CC is different from the first CC. According to the application, the terminal device may determine, based on a capability of the terminal device, to ignore an improper command, to optimize a problem of switching an active BWP in a carrier aggregation scenario.