Optionally, as shown in
The residential gateway 103 is configured to send first virtual interface information. The first virtual interface information is used to represent a current service type of the residential gateway.
The network device 101 is further configured to receive the first virtual interface information, and verify validity of a current service of the residential gateway 103 based on the first virtual interface information and the second virtual interface information.
Optionally, virtual interface information (including the first virtual interface information or the second virtual interface information) in the embodiment of this application may be, for example, a virtual local area network identifier (VLAN) identifier (ID), or may be, for example, at least one of a virtual path identifier (VPI) and a virtual channel identifier (VCI). This is not specifically limited in the embodiment of this application.
Optionally, the residential gateway 103 and the network device 101 in the embodiment of this application may directly communicate with each other, or may communicate with each other through forwarding by using another device (for example, the wireline access network device 102 in