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

Table Of Contents
32
Create two subinterfaces for the Ten-GigabitEthernet interface, and use the IDs of those two VLANs
created on the switch as their interface numbers respectively. Set the link type of the subinterfaces
as access and assign the two subinterfaces to VLAN X.
NOTE:
To achieve Layer 2 forwarding between VLANs, you can create these VLANs on the switch and confi
g
ure
the same number of subinterfaces for the Ten-GigabitEthernet interface on the LB module.
1. Configure the ports of the switch
Follow these steps to configure the ports of the switch:
To do… Use the command…
Remarks
Enter system view system-view
Create a VLAN and enter VLAN
view
vlan vlan-id Required
Assign the access port(s) to the
VLAN
port interface-list
Required
By default, all ports belong to VLAN 1.
Create another VLAN and enter
VLAN view
vlan vlan-id Required
Assign the access port(s) to the
VLAN
port interface-list
Required
By default, all ports belong to VLAN 1.
Enter the view of the
Ten-GigabitEthernet interface that
connects to the LB module
interface
Ten-GigabitEthernet
interface-number
Required
Configure the link type of the
interface as trunk
port link-type trunk Required
Assign the trunk port to the two
VLANs
port trunk permit vlan
{ vlan-id-list | all }
Required
Configure the default VLAN on the
trunk port
port trunk pvid vlan
vlan-id
Required
The default VLAN cannot be one of the
previously configured two VLANs.
2. Configure the LB module
Follow these steps to configure the LB module:
To do… Use the command…
Remarks
Enter system view system-view
Create a VLAN for the LB module
and enter VLAN view
vlan vlan-id Required
Exit to system view quit
Enter the view of the
Ten-GigabitEthernet interface that
connects to the switch
interface Ten-GigabitEthernet
interface-number
Required
Configure the operating mode of
the interface as Layer 2
port link-mode bridge Required