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

54
b. Display brief information about Layer 3 interfaces on LB to verify the configuration.
<LB> display ip interface brief
*down: administratively down
(s): spoofing
Interface Physical Protocol IP Address Description
Vlan-interface5 up up 192.168.0.10 Vlan-inte...
Vlan-interface10 up up 192.168.1.20 Vlan-inte...
Configuring port-based VLANs
Assigning an access port to a VLAN
You can assign an access port to a VLAN in VLAN view or interface view. Before you assign an access
port to a VLAN, create the VLAN.
In VLAN view, you can assign only Layer 2 Ethernet interfaces to the VLAN.
The link type of Layer 2 Ethernet subinterfaces is fixed at access. You can assign them to a VLAN in either
of the preceding approaches.
To assign one or multiple access ports to a VLAN in VLAN view:
Ste
p
Command
Remarks
1. Enter system view
system-view N/A
2. Enter VLAN view vlan vlan-id N/A
3. Assign one or a group of
access ports to the VLAN
port interface-list By default, all ports belong to VLAN 1.
To assign an access port to a VLAN in interface view:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A
3. Configure the link type of
the ports as access.
port link-type access
Optional.
By default, all ports are access ports.
4. Assign the access ports
to a VLAN.
port access vlan vlan-id
Optional.
By default, all access ports belong to VLAN
1.
Assigning a trunk port to a VLAN
A trunk port can carry multiple VLANs. You can assign it to a VLAN in interface view.
To assign a trunk port to one or multiple VLANs:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A