To address the dynamic changes in network environments and effectively tackle the open-world traffic classification challenge, we introduce a novel approach. Conventional traffic classification methods are constrained by their reliance on closed traffic sets and offline training scenarios, limiting their ability to recognize a fixed number of traffic classes and identify unknown traffic types. Our solution involves a traffic classification method founded on a combination of semi-supervised class-incremental learning and open-set recognition. To mitigate the issue of catastrophic forgetting in class-incremental learning, we leverage a substantial amount of external unlabeled traffic data. Specifically, we employ a class anchor clustering loss classifier with a discriminator to select external unlabeled traffic data as replay samples. This approach effectively mitigates the problem of catastrophic forgetting in class-incremental learning. Furthermore, the class anchor clustering loss is employed for incremental model training, enabling the model to identify unknown traffic data. We validate the performance of the model on encrypted traffic classical datasets, and the experimental results show that our method significantly outperforms traffic classification models based on other incremental learning methods. In particular, OWETC has a 3.28% performance improvement in average accuracy over multiple incremental sessions compared to the best baseline. Additionally, our enhanced open-set sampler displays a notable 17% reduction in false alarm rates with only a minor 1% accuracy degradation, surpassing the capabilities of existing open-set recognition methods.