发明申请
- 专利标题: FORWARDING PACKET
-
申请号: US16329133申请日: 2017-08-30
-
公开(公告)号: US20190199631A1公开(公告)日: 2019-06-27
- 发明人: Minghui WANG , Xiyuan MA
- 申请人: NEW H3C TECHNOLOGIES CO., LTD.
- 优先权: CN201610782252.3 20160830
- 国际申请: PCT/CN2017/099643 WO 20170830
- 主分类号: H04L12/741
- IPC分类号: H04L12/741 ; H04L12/46
摘要:
A method for forwarding a packet and a switch are provided. The switch receives a packet via a port; when the packet is a layer-2 packet, determines a VSI based on an ID of a MDC to which the port belongs and an ID of a VLAN of the packet, searches for a layer-2 entry stored in a chip where the port is located and matching with the VSI and a destination MAC address of the packet, and forwards the packet based on the layer-2 entry; when the packet is a layer-3 packet, determines a second VRF based on the ID of the MDC and an ID of a first VRF to which the packet belongs, searches for a layer-3 entry stored in the chip and matching with the second VRF and a destination IP address of the packet, and forwards the packet based on the layer-3 entry.
公开/授权文献
- US10911356B2 Forwarding packet 公开/授权日:2021-02-02
信息查询