R3204P16-HP Load Balancing Module Network Management Configuration Guide-6PW101

Table Of Contents
71
Layer 3 forwarding configuration
NOTE:
Layer 3 subinterface forwarding configuration of a LB module is used in the confi
g
uration examples of
all the other modules.
For the configurations on the switches involved in the configuration examples of the modules in other
volumes, see the configuration on the switch in the Layer 3 subinterface forwarding configuration
example.
The LB module supports Layer 3 forwarding configuration only in the command line interfaces (CLIs).
Layer 3 forwarding overview
Layer 3 forwarding involves Layer 3 subinterface forwarding and inter-VLAN Layer 3 forwarding.
Layer 3 subinterface forwarding
If the VLAN tag of an incoming packet matches the PVID of a subinterface of the receiving interface on
the LB module, the LB module removes the Layer 2 header and sends the packet to the subinterface.
Figure 37 Layer 3 subinterface forwarding
The following prerequisites are necessary for Layer 3 subinterface forwarding:
The ingress interface and egress interface on the switch belong to different VLANs.
The switch's ten-GigabitEthernet interface that connects to the LB module is configured as trunk.
The operating mode of the LB module's ten-GigabitEthernet port that connects to the switch is
configured as Layer 3.
Subinterfaces are configured for the LB module's ten-GigabitEthernet port. Associate them with
VLANs created on the switch and set the encapsulation type to dot1q.
Layer 3 subinterface forwarding operates as follows:
1. After receiving a packet, the switch adds the VLAN tag of the receiving interface to the packet and
if the packet is not destined to the VLAN the switch tagged, sends the packet to the LB module
through the trunk port in between.
2. If the VLAN tag of the packet matches the PVID of a subinterface, the LB module removes the Layer
2 header and sends the packet to the Layer 3 forwarding engine.
3. The Layer 3 forwarding engine looks up a route entry for the packet and sends it out of the
outgoing Layer 3 subinterface.