-
公开(公告)号:US20240106740A1
公开(公告)日:2024-03-28
申请号:US18001943
申请日:2021-06-29
Applicant: New H3C Technologies Co., Ltd.
Inventor: Xiangqing CHANG , Zhaoyan LEI , Tao LIN , Juan QIN
CPC classification number: H04L45/34 , H04L63/08 , H04L63/123 , H04L69/22
Abstract: Disclosed is a method and an apparatus for packet forwarding, which relate to the network technology field and are applied to a network node. The method comprises: obtaining an SRV6 packet; if a function field in a target SID contains a security authentication instruction, obtaining a target argument based on an operation indicated by the security authentication instruction, and performing security authentication processing on the SRv6 packet based on the target argument; wherein, the target SID is an SID, corresponding to the network node, in a segment list carried by a header of the SRv6 packet, and the target argument is: an argument for the security authentication instruction recorded in the header; and forwarding the processed SRv6 packet to a next-hop device. By applying the solution for packet forwarding according to examples of the present disclosure, the security in forwarding the SRv6 packet along the SRv6 forwarding path can be improved.