Beruflich Dokumente
Kultur Dokumente
HP Network Simulator
A Comware OS Learning Tool
Table of contents
Hands on Lab Objectives ......................................................................................................................................... 2
Introduction ............................................................................................................................................................. 2
Procedure Summary ........................................................................................................................................... 2
Procedure ................................................................................................................................................................ 3
Step 1: Install the simulator ............................................................................................................................... 4
Step 2: Create the simulation ............................................................................................................................. 5
Step 3: Launch the simulation ............................................................................................................................ 8
Step 4: Configure IRF........................................................................................................................................... 9
Step 5: Configure the parameters for Telnet management ............................................................................. 11
Step 6: Configure the network features ........................................................................................................... 12
Step 7: Verify the configuration ........................................................................................................................ 14
Step 8: Shut down the devices, close and delete the project ........................................................................... 15
Learn More............................................................................................................................................................. 16
Introduction
HP IRF (Intelligent Resilient Framework)
IRF is a virtualization technology that combines multiple physical devices (stackable and modular) into a single logical
device. More about IRF at http://h17007.www1.hp.com/docs/reports/irf.pdf
During this activity two groups of two learners each will create a distributed simulated network composed of four switches
and two routers as shown in Figure 1.
Figure 1: Simulated network layout
Procedure Summary
The activity consists of the following steps:
Verify that Oracle VM VirtualBox is installed
Procedure
Before starting join a group of four learners. Each group will use two PCs with two monitors each. Ask the Facilitator your
group number: ____.
Figure 2: Lab Groups
2.
3.
4.
Configure IRF
5.
6.
7.
8.
On the desktop locate and run the file: HNS_7.1.50-Setup and follow the installation instructions accepting all the
default parameters
If the installation is successful you will find the following icon on your desktop:
Device
PC A
PC B
Interface
Physical NIC
VirtualBox (virtual) NIC
Physical NIC
VirtualBox (virtual) NIC
IP Address
10.N.1.1
10.N.0.210
10.N.1.2
10.N.0.220
Mask
24
24
24
24
You will use this tool to create the devices and links shown in Figure 4.
Figure 4: Devices, interfaces and links for group N
On the desktop locate and open the file: HP Network Simulator HOL - Gr n - PCx - Simulator
Script
Create the project by copying the contents of this file to the GUI. You can copy and paste the whole text or enter each line
manually
M-Ethernet 1/0/1
SIM2100
M-Ethernet 1/0/1
o
o
o
o
Gig 0/0/2-4
Gig 0/0/5-8
Gig 1/0/2-8
memory size: this device parameter allocates the memory necessary for the Telnet server
host-ip: this device parameter allows devices on different PCs to communicate
Links: Compare the link commands with the links in Figure 4
host: this link parameter creates the connection used by the Telnet client on the PC server on the device to
communicate. It must be the name of the actual VirtualBox network interface as found in the vboxnet0 Properties
(name: hol_discover)
Note
Before continuing, ensure that the group members on the other PC have reached this same point.
Watch the console window of each device and wait for the Started automatic configuration message
Click <Control-D> to break the retry cycle, then press <Enter>
To leave the VM window, press the right Ctrl key to release the cursor.
IMPORTANT
When using the console of a VM the mouse and the keyboard are captured by VirtualBox. To release them press the rightcontrol key.
On the second switch (Device13 on PC A, and Device 23 on PC B) enter the following commands:
system-view
irf member 1 renumber 2
quit
Save the configuration
save
Reboot the device
reboot
On the first switch (Device12 on PC A, and Device 22 on PC B) create the IRF-port 1/1. Enter the following commands:
system-view
irf-port 1/1
port group int gig 1/0/2
quit
int gig 1/0/2
undo shutdown
quit
o Save the configuration
On the second switch (Device13 on PC A, and Device 23 on PC B) create the IRF-port 2/2. Enter the following commands
(notice that the device number has changed from 1 to 2 and the port numbering has changed from 1/0/n to 2/0/n):
system-view
irf-port 2/2
port group int gig 2/0/2
quit
int gig 2/0/2
undo shutdown
quit
o Save the configuration
save
Reboot the first switch (Device 12, 22) and after 15-20 seconds, reboot the second switch (Device 13, 23)
reboot
When both devices have completed the reboot, on the first enter:
display irf
display irf configuration
display irf topology
Figure 10: Logical topology after IRF configuration
Note
Once the IRF-stack is established, both switches behave as one and can be managed from the console of the IRF Master.
10
Note
Use the IP addresses shown in Table 3, replacing N with your group number.
PC A
10.N.0.211/24
10.N.0.212/24
PC B
10.N.0.221/24
10.N.0.222/24
Note
The rest of the configuration can be entered using a Telnet client utility: PUTTY. The advantage of using this tool is that it allows
to cut and paste commands to and from the CLI.
11
Table 4: IP Addresses PC A
Device
Interface
IP Address
Mask Bits
Router
M-Ethernet 1/0/1
10.N.0.211
24
Serial 0/0/8
10.N.2.1
30
VLAN 1
10.N.11.2
32
Loopback 0
10.N.254.2
24
Switch 1
M-Ethernet 1/0/1
10.N.0.212
24
Switch 2
M-Ethernet 1/0/1
10.N.0.213
24
IRF (Switch 1 + 2)
M-Ethernet 1/0/1
10.N.0.212
24
VLAN 1
10.N.11.1
24
Loopback 0
10.N.254.1
24
Table 5: IP Addresses PC B
Device
Router
Switch 1
Switch 2
IRF (Switch 1 + 2)
Interface
M-Ethernet 1/0/1
Serial 0/0/8
VLAN 1
Loopback 0
M-Ethernet 1/0/1
M-Ethernet 1/0/1
M-Ethernet 1/0/1
VLAN 1
Loopback 0
IP Address
10.N.0.221
10.N.2.2
10.N.13.2
10.N.254.3
10.N.0.222
10.N.0.223
10.N.0.222
10.N.13.1
10.N.254.4
Mask Bits
24
30
32
24
24
24
24
24
24
12
o Copy the router section from the file and paste it on the Telnet client
o Save the configuration
13
Verify IP connectivity. From the console of the IRF-stack ping the loopback address of the IRF-stack on the other PC
ping 10.N.254.x
14
Step 8: Shut down the devices, close and delete the project
Make sure that the other members of your group have finished testing the network
Close the Telnet windows
Close the VirtualBox VMs
Close the VirtualBox Manager
From the HP Network Simulator GUI delete the project by clicking on the remove icon
Close the GUI
15
Learn More
hp.com/networking
hp.com/networking/library
HP Network Simulator for Comware Devices download page
16