R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101

27
Configure the GigabitEthernet 1/1 and GigabitEthernet 1/2 to permit packets of VLAN 2, VLAN
6 through VLAN 50, and VLAN 100 to pass through.
Figure 17 Network diagram for VLAN configuration
Configuration procedure
1.
Configure Device A
# Create VLAN 2, VLAN 6 through VLAN 50, and VLAN 100.
Select Network > VLAN > VLAN from the navigation tree. On the VLAN configuration page that
appears, click Add.
On the VLAN adding page that appears, enter VLAN IDs 2, 6-50, 100.
Click Apply.
# Configure GigabitEthernet 1/1 as an untagged member of VLAN 100.
On the VLAN configuration page as shown in Figure 12, c
lick the icon for VLAN 100.
Find GigabitEthernet 1/1 in the port list.
Select the Untagged Member option for the port.
Click Apply.
# Configure GigabitEthernet 1/1 as a tagged member of VLAN 2, and VLAN 6 through VLAN 50.
Select Network > VLAN > Port from the navigation tree, find GigabitEthernet 1/1 in the port list,
and click the corresponding icon in the Operation column.
Select the Tagged option.
Type VLAN IDs 2, and 6-50.
Click Apply.
2.
Configure Device B
Configure Device B as you configure Device A.
Configuring a VLAN in the CLI
Configuring basic VLAN settings
Follow these steps to configure basic VLAN settings:
To do… Use the command…
Remarks
Enter system view system-view
Create VLANs vlan { vlan-id1 [ to vlan-id2 ] | all }
Optional
Use this command to create VLANs in
bulk.