HP 1:10Gb Ethernet BL-c Switch for c-Class BladeSystem Application Guide
Basic IP routing
109
4. The VLANs shown in the table above are configured as follows:
>> # /cfg/l2/vlan 1(Select VLAN 1)
>> VLAN 1# add port 20 (Add port for 1st floor to VLAN 1)
>> VLAN 1# add port 21 (Add port for 2nd floor to VLAN 1)
>> VLAN 1# ena (Enable VLAN 1)
>> VLAN 1# ../VLAN 2 (Select VLAN 2)
>> VLAN 2# add port 22 (Add port for default router 1)
>> VLAN 2# add port 23 (Add port for default router 2)
>> VLAN 2# ena (Enable VLAN 2)
>> VLAN 2# ../VLAN 3 (Add port for default router 3)
>> VLAN 3# add port 1 (Select VLAN 3)
>> VLAN 3# add port 2 (Select port for common server 1)
>> VLAN 3# ena (Enable VLAN 3)
5. Each time you add a port to a VLAN, you may get the following prompt:
Port 4 is an untagged port and its current PVID is 1.
Confirm changing PVID from 1 to 2 [y/n]?
6. Enter y to set the default Port VLAN ID (PVID) for the port.
7. Add each IP interface to the appropriate VLAN.
8. Now that the ports are separated into three VLANs, the IP interface for each subnet must be placed
in the appropriate VLAN. The settings are made as follows:
>> VLAN 3# /cfg/l3/if 1 (Select IP interface 1 for def. routers)
>> IP Interface 1# vlan 2 (Set to VLAN 2)
>> IP Interface 1# ../if 2 (Select IP interface 2 for first floor)
>> IP Interface 2# vlan 1 (Set to VLAN 1)
>> IP Interface 2# ../if 3 (Select IP interface 3 for second floor)
>> IP Interface 3# vlan 1 (Set to VLAN 1)
>> IP Interface 3# ../if 4 (Select IP interface 4 for servers)
>> IP Interface 4# vlan 3 (Set to VLAN 3)
9. Apply and verify the configuration.
>> IP Interface 4# apply (Make your changes active)
>> IP Interface 4# /info/l2/vlan (View current VLAN information)
>> Information# port (View current port information)
10. Examine the resulting information. If any settings are incorrect, make the appropriate changes.
11. Save your new configuration changes.
>> Information# save (Save for restore after reboot)
Dynamic Host Configuration Protocol
Dynamic Host Configuration Protocol (DHCP) is a transport protocol that provides a framework for
automatically assigning IP addresses and configuration information to other IP hosts or clients in a large
TCP/IP network. Without DHCP, the IP address must be entered manually for each network device. DHCP
allows a network administrator to distribute IP addresses from a central point and automatically send a
new IP address when a device is connected to a different place in the network.
DHCP is an extension of another network IP management protocol, Bootstrap Protocol (BOOTP), with an
additional capability of being able to dynamically allocate reusable network addresses and configuration
parameters for client operation.