F3215-HP Load Balancing Module System Management Configuration Guide-6PW101

96
Ste
p
Command
Remarks
2. Log in to the VD. switchto vd vd-name Optional.
3. Set the maximum
number of concurrent
sessions for the VD.
session max-entries max-entries
By default, the maximum number of
concurrent sessions for a non-default
VD equals the maximum number of
sessions specified for the VD by using
the limit-resource session
max-entries command.
VD configuration example
Network requirements
Virtualize LB into two VDs and use the two VDs as the gateways for enterprise A and enterprise B so that:
Each enterprise has its own Layer 3 Ethernet interface.
Enterprise A can use VLAN 100 to VLAN 205, and can have up to 100000 sessions.
Enterprise B can use VLAN 50 to VLAN 80, VLAN 400, and VLAN 500 to VLAN 530, and can
have up to 200000 sessions.
Figure 62 Network diagram
Configuration procedure
# Create a VD with the name vda and ID 2.
<LB> system-view
[LB] vd vda id 2
# Assign interface GigabitEthernet 0/1 to VD vda.
[LB-vd-vda] allocate interface gigabitethernet 0/1
# Assign VLAN 100 to VLAN 205 to VD vda.
[LB-vd-vda] allocate vlan 100 to 205
# Set the maximum number of sessions to 100000 for VD vda.
[LB-vd-vda] limit-resource session max-entries 100000
[LB-vd-vda] quit
# Create a VD with the name vdb and ID 3.