Method and apparatus for realizing multi-tenant device context MDC based on ports of switching device
A technology for switching equipment and equipment environment, applied in the field of network communication, can solve the problems of dividing MDC, limited application scope, etc., and achieve the effect of avoiding MDC configuration conflicts
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] see figure 2 , figure 2 It is a schematic diagram of implementation of Embodiment 1 provided by the present invention. exist figure 2 Among them, ports Port1_1, Port2_2, Port3_3, and Port4_4 of the switching device are in the same chip Chip1_1. Port1_1 and Port4_4 belong to MDC1_1, and Port2_2 and Port3_3 belong to MDC1_2.
[0034] exist figure 2 Among them, Port1_1, Port2_2, Port3_3, and Port4_4 all belong to VLAN1_1.
[0035] Take host 1 accessing host 4 on the second layer as an example, then,
[0036] Such as figure 2 As shown, the switching device receives layer 2 (data link layer) packet 1_1 through Port1_1. The source MAC address of the message 1_1 is the MAC address MAC1_1 of the host 1, and the destination MAC address is the MAC address MAC4_4 of the host 4.
[0037] The switching device maps MDC1_1 to which Port1_1 belongs and VLAN1_1 to which Port1_1 belongs to a VSI. For the method of dividing MDC based on ports in this embodiment 1, under this...
Embodiment 2
[0070] see image 3 , image 3 It is a schematic diagram of implementation of Embodiment 2 provided by the present invention. exist image 3 Among them, ports Port1_1, Port2_2, Port3_3, and Port4_4 of the switching device are in the same chip Chip1_1. Port1_1 and Port4_4 belong to MDC1_1, and Port2_2 and Port3_3 belong to MDC1_2.
[0071] exist image 3 Among them, Port1_1, Port2_2, Port3_3, and Port4_4 all belong to VLAN1_1.
[0072] Take host 1 accessing host 4 at Layer 3 as an example,
[0073] Such as image 3 As shown, the switching device receives layer-3 (network layer) packet 5_5 through Port1_1. Packet 5_5 is sent from host 1 to host 4, the source IP address is IP1_1, and the destination IP address is IP4_4.
[0074] The switching device maps the MDC1_1 to which Port1_1 belongs and the VRF1_1 to which packet 5_5 belongs to a VRF. For the method of dividing MDCs based on ports in Embodiment 2, in this method, the three-layer entries under different MDCs may be...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


