Print | Rate this content

HPE OfficeConnect 1910 Switch - Configuring VLANs

Title: HPE OfficeConnect 1910 Switch - Configuring VLANs
Object Name: mmr_kc-0119782
Document Type: Support Information
Original owner: KCS - HP Networking Switches
Disclosure level: Public
Version state: final
Environment
FACT:HPE 1910 Series Switch
FACT:HPE OfficeConnect 1910 Switch
FACT:HPE 1910 Switch
FACT:1910 Switch
Questions/Symptoms
GOAL:Configure VLANs on the HPE 1910 series switch.

			
SYMPTOM:Cannot ping VLAN     
SYMPTOM:VLAN configuration issue
SYMPTOM:interVLAN connectivity issue
SYMPTOM:changing management VLAN
SYMPTOM:switch-errors in VLAN configuration
SYMPTOM:VLAN tagging
SYMPTOM:Configuring VLANs
SYMPTOM:add port to VLAN
Cause
CAUSE:Need to configure VLANs on the HPE 1910 series switch.
Answer/Solution
FIX:From the HPE 1910 Fast Ethernet Switch Series User Guide document:


					
Configuring VLANs

Creating VLANs

1. From the navigation tree, select Network > VLAN.
2. Click Create to enter the page for creating VLANs.
3. Enter the VLAN IDs, a VLAN ID range, or both.
4. Click Create

Figure 135 Creating VLANs


table40.bmp
table40.bmp
Table 40 Configuration items
table40C.bmp
table40C.bmp
Configuring the link type of a port You can also configure the link type of a port on the Setup tab of Device > Port Management. For more information, see "Managing ports." To configure the link type of a port: 1. From the navigation tree, select Network > VLAN. 2. Click Modify Port. 3. Select the port that you want to configure on the chassis front panel. 4. Select the Link Type option. 5. Set the link type to access, hybrid, or trunk. 6. Click Apply. A progress dialog box appears. 7. Click Close on the progress dialog box when the dialog box prompts that the configuration succeeds. Figure 136 Modifying ports
136.bmp
136.bmp
Setting the PVID for a port You can also configure the PVID of a port on the Setup tab of Device > Port Management. For more information, see "Managing ports." To set the PVID for a port: 1. From the navigation tree, select Network > VLAN. 2. Click Modify Port. 3. Select the port that you want to configure on the chassis front panel. 4. Select the PVID option. The option allows you to modify the PVID of the port. 5. Set a PVID for the port. By selecting the Delete box, you can restore the PVID of the port to the default, which is VLAN 1. The PVID of an access port must be an existing VLAN. 6. Click Apply. A progress dialog box appears. 7. Click Close on the progress dialog box when the dialog box prompts that the configuration succeeds. Figure 137 Modifying the PVID for a port
137.bmp
137.bmp
Selecting VLANs 1. From the navigation tree, select Network > VLAN. The Select VLAN tab is displayed by default for you to select VLANs. Figure 138 Selecting VLANs
138.bmp
138.bmp
2. Select the Display all VLANs option to display all VLANs, or select the Display a subnet of all configured VLANs option to enter the VLAN IDs to be displayed. 3. Click Select. Modifying a VLAN 1. From the navigation tree, select Network > VLAN. 2. Click Modify VLAN to enter the page for modifying a VLAN. Figure 139 Modifying a VLAN
139.bmp
139.bmp
3. Modify the member ports of a VLAN as described in Table 41. 4. Click Apply. A progress dialog box appears. 5. Click Close on the progress dialog box when the dialog box prompts that the configuration succeeds. Table 41 Configuration items
table41.bmp
table41.bmp
Modifying ports 1. From the navigation tree, select Network > VLAN. 2. Click Modify Port to enter the page for modifying ports. Figure 140 Modifying ports
140.bmp
140.bmp
3. Modify the VLANs of a port as described in Table 42. 4. Click Apply. A progress dialog box appears. 5. Click Close on the progress dialog box when the dialog box prompts that the configuration suceeds. Table 42 Configuration items
table42.bmp
table42.bmp
VLAN configuration example Network requirements As shown in Figure 141, trunk port Ethernet 1/0/1 of Switch A is connected to trunk port Ethernet 1/0/1 of Switch B. Configure the PVID of Ethernet 1/0/1 as VLAN 100, and configure Ethernet 1/0/1 to permit packets from VLAN 2, VLAN 6 through VLAN 50, and VLAN 100 to pass through. Figure 141 Network diagram
141.bmp
141.bmp
Configuring Switch A 1. Configure Ethernet 1/0/1 as a trunk port and configure VLAN 100 as the PVID: a. From the navigation tree, select Device > Port Management. b. Click Setup to enter the page for setting ports. c. Select Trunk in the Link Type list, select the PVID box, and then enter PVID 100. d. Select Ethernet 1/0/1 on the chassis front device panel. e. Click Apply Figure 142 Configuring Ethernet 1/0/1 as a trunk port and its PVID as 100
142.bmp
142.bmp
2. Create VLAN 2, VLAN 6 through VLAN 50, and VLAN 100: a. From the navigation tree, select Network > VLAN. b. Click Create to enter the page for creating VLANs. c. Enter VLAN IDs 2, 6-50, 100. d. Click Apply. Figure 143 Creating VLAN 2, VLAN 6 through VLAN 50, and VLAN 100
143.bmp
143.bmp
3. Assign Ethernet 1/0/1 to VLAN 100 as an untagged member: a. Click Select VLAN to enter the page for selecting VLANs. b. Select the option before Display a subnet of all configured VLANs, and enter 1-100 in the field. c. Click Select. Figure 144 Setting a VLAN range
144.bmp
144.bmp
d. Click Modify VLAN to enter the page for modifying the ports in a VLAN. e. Select 100 – VLAN 0100 in the Please select a VLAN to modify: list, select the Untagged option, and select Ethernet 1/0/1 on the chassis front device panel. f. Click Apply. A configuration progress dialog box appears. g. After the configuration process is complete, click Close. Figure 145 Assigning Ethernet 1/0/1 to VLAN 100 as an untagged member
145.bmp
145.bmp
4. Assign Ethernet 1/0/1 to VLAN 2, and VLAN 6 through VLAN 50 as a tagged member: a. Click Modify Port to enter the page for modifying the VLANs to which a port belongs. b. Select Ethernet 1/0/1 on the chassis front device panel, select the Tagged option, and enter VLAN IDs 2, 6-50. c. Click Apply. A configuration progress dialog box appears. d. After the configuration process is complete, click Close in the dialog box. Figure 146 Assigning Ethernet 1/0/1 to VLAN 2 and to VLANs 6 through 50 as a tagged member
146.bmp
146.bmp
Configuring Switch B Configure Switch B in the same way Switch A is configured. Configuration guidelines When you configure VLANs, follow these guidelines: • As the default VLAN, VLAN 1 can be neither created nor removed manually. • You cannot manually create or remove VLANs reserved for special purposes. • Dynamic VLANs cannot be removed on the page for removing VLANs. • You cannot remove a VLAN that has referenced a QoS policy. Configuring VLAN interfaces Before creating a VLAN interface, you must create the corresponding VLAN in Network > VLAN. For more information, see "Configuring VLANs." Overview For hosts of different VLANs to communicate, you must use a router or Layer 3 switch to perform layer 3 forwarding. To achieve this, you can use VLAN interfaces. VLAN interfaces are virtual interfaces used for Layer 3 communication between different VLANs. They do not exist as physical entities on devices. For each VLAN, you can create one VLAN interface. You can assign the VLAN interface an IP address, and specify it as the gateway of the VLAN to forward the traffic destined for an IP network segment different from that of the VLAN. Creating a VLAN interface When you create a VLAN interface, you can select to assign an IPv4 address and an IPv6 link-local address to the VLAN interface in this step or in a separate step. If you do not select to configure an IP address, you can create the VLAN interface, and configure an IP address for the VLAN interface by modifying it. To create a VLAN interface: 1. From the navigation tree, select Network > VLAN Interface. 2. Click Create to enter the page for creating a VLAN interface Figure 147 Creating a VLAN interface
147.bmp
147.bmp
3. Configure the VLAN interface as described in Table 43. 4. Click Apply. Table 43 Configuration items
table43.bmp
table43.bmp
Modifying a VLAN interface By modifying a VLAN interface, you can assign an IPv4 address, an IPv6 link-local address, and an IPv6 site-local address, or global unicast address to the VLAN interface, and shut down or bring up the VLAN interface. After you modify the IPv4 address and status or the IPv6 address and status, or add an IPv6 unicast address for a selected VLAN interface on the page for modifying VLAN interfaces, you must click the correct Apply button to submit the modification. After you change the IP address of the VLAN interface you are using to log in to the device, you will be disconnected from the device. You can use the changed IP address to re-log in. To modify a VLAN interface: 1. From the navigation tree, select Network > VLAN Interface. 2. Click Modify to enter the page for modifying a VLAN interface. Figure 148 Modifying a VLAN interface
148.bmp
148.bmp
3. Modify a VLAN interface as described in Table 44. 4. Click Apply. Table 44 Configuration items
table44.bmp
table44.bmp
Configuration guidelines When you configure VLAN interfaces, follow these guidelines: • A link-local address is automatically generated for an IPv6 VLAN interface after an IPv6 site-local address or global unicast address is configured for the VLAN interface. This generated link-local address is the same as the one generated in the Auto mode. If a manually assigned link-local address is available, the manually assigned one takes effect. After the manually assigned link-local address is removed, the automatically generated one takes effect. • For an IPv6 VLAN interface whose IPv6 link-local address is generated automatically after you assign an IPv6 site-local address or global unicast address, removing the IPv6 site-local address or global unicast address also removes the generated IPv6 link-local address. • For IPv6 link-local address configuration, manual assignment takes precedence over automatic generation. If you first adopt the manual assignment and then the automatic generation, the automatically generated link-local address will not take effect and the link-local address of the interface is still the manually assigned one. However, if you remove the manually assigned one, the one automatically generated takes effect. The preceding information can be found at this URL: Click here to access the HP OfficeConnect 1910 Switch Series - User Guide.

© Copyright 2018 Hewlett-Packard Development Company, L.P.

Legal Disclaimer: Products sold prior to the November 1, 2015 separation of Hewlett-Packard Company into Hewlett Packard Enterprise Company and HP Inc. may have older product names and model numbers that differ from current models.

Provide feedback

Please rate the information on this page to help us improve our content. Thank you!
Document title: HPE OfficeConnect 1910 Switch - Configuring VLANs
Document ID: mmr_kc-0119782-11
How helpful was this document?
How can we improve this document?
Note: Only English language comments can be accepted at this time.
Please wait while we process your request.