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

94
To enter the view of an existing VD, you can specify the VD name, or specify both the VD name and the
VD ID. If you specify both the VD name and the VD ID, make sure the two arguments identify the same
VD.
To create a VD:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Create a VD and
enter VD view.
vd vd-name id vd-id
By default, there is a default VD with
the name Root and the ID 1.
Assigning resources to a VD
When you create a VD, the system automatically assigns some resources for the VD to ensure its
operation. You can allocate system resources including interfaces and VLANs for VDs. The resources that
are not assigned to any non-default VD belong to the default VD.
Assigning a Layer 3 interface to a VD
By default, all Layer 3 interfaces belong to the default VD. After being created, a non-default VD can use
any Layer 2 interfaces in the system but can use no Layer 3 interface. To enable the VD to forward packets,
you must assign it a Layer 3 interface.
To assign a Layer 3 interface to a VD:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter VD view. vd vd-name [ id vd-id ] N/A
3. Assign a Layer 3
interface to the VD.
allocate interface interface-type
interface-number
By default, all Layer 3 interfaces belong to
the default VD, and a non-default VD has
no Layer 3 interface to use.
The Layer 3 interface to be assigned to a VD must already exist.
A Layer 3 interface can belong to only one VD. Assigning a Layer 3 interface to a second VD is the same
as reclaiming the interface and assigning it to the second VD.
Assigning a VLAN to a VD
By default, all VLANs belong to the default VD. After creating a non-default VD, you can assign VLANs
to it.
To assign a VLAN to a VD:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter VD view.
vd vd-name [ id vd-id ] N/A
3. Assign a VLAN to the
VD.
allocate vlan vlan-list
By default, all VLANs belong to the default VD,
and a non-default VD has no VLAN to use.