Abstract:
The present disclosure provides a method and an apparatus for intercepting a multicast protocol packet and a switch. The method for intercepting a multicast protocol packet includes: acquiring multicast work information of a router; acquiring a multicast protocol parameter of the switch according to the multicast work information of the router, where the multicast protocol parameter includes an interval of sending general query packets, a robustness variable, and a query response interval; acquiring port aging time of the switch according to the multicast protocol parameter of the switch; and aging a port if no multicast protocol packet is received on the port within the port aging time. The present disclosure further provides a corresponding apparatus and a switch including the apparatus.
Abstract:
The present disclosure provides a method and an apparatus for intercepting a multicast protocol packet and a switch. The method for intercepting a multicast protocol packet includes: acquiring multicast work information of a router; acquiring a multicast protocol parameter of the switch according to the multicast work information of the router, where the multicast protocol parameter includes an interval of sending general query packets, a robustness variable, and a query response interval; acquiring port aging time of the switch according to the multicast protocol parameter of the switch; and aging a port if no multicast protocol packet is received on the port within the port aging time. The present disclosure further provides a corresponding apparatus and a switch including the apparatus.
Abstract:
The present invention provides a multicast method and a multicast device. The method includes: receiving a multicast request from a user, where the multicast request includes multicast channel information and a user VLAN tag; selecting a first target multicast VLAN from pre-configured multiple multicast VLANs; after replacing the user VLAN tag in the multicast request with the first target multicast VLAN tag, forwarding the multicast request to a multicast router; receiving multicast traffic sent by the multicast router through the first target multicast VLAN, and forwarding the multicast traffic to the user. In the present invention, a target multicast VLAN is selected according to multicast channel information, so that multicast requests for the same multicast channel can be added to the same multicast VLAN. In this way, only one copy of multicast traffic of the same channel exists on a local area network, thereby saving network bandwidth resources.
Abstract:
The present invention provides a service access method, device, and system, and relates to the field of television services, to guarantee multicast security of a network device. The method includes: obtaining an authorized multicast address list according to program channel list information provided by a server; receiving an Internet Group Management Protocol IGMP packet request sent by a user terminal device, where the IGMP packet request carries a multicast address; verifying the multicast address in the IGMP packet request according to the multicast address list; and sending a media data stream corresponding to the verified multicast address to the user terminal device. The solutions of the present invention are suitable for realizing the security of multicast of network device.