Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

EEET-2624

RMIT University
School of Science, Engineering &
Technology

Laboratory Guidelines
COURSE: Network Engineering
EEET-2624

Semester 2, 2024
Learning Outcomes in General:
1. The art of experimentation.
2. Experimental and analytical skills.
3. Conceptual learning of theoretical concepts.
4. Understanding the basis of Juniper Routers and Switches.
5. Developing collaborative learning skills.

Page | 1 Network Engineering -Labs


EEET-2624

Contents
Lab 2: Switches-Virtual LANS ....................................................................................................... 3
1. Objectives .............................................................................................................................. 3
2. Basic Theory .......................................................................................................................... 3
Section 2.1: EX2200 Switches Hardware Overview .................................................................. 3
Section 2.2: Front Panel of an EX2200 Switch .......................................................................... 3
3. Methodology and Exercises .................................................................................................. 4
Section 3.1: Switch Status........................................................................................................... 6
Section 3.2: Switch Configuration .............................................................................................. 6
Section 3.3: VLANs Configuration ............................................................................................ 8
4. Questions and Report ............................................................................................................ 9
5. References ........................................................................................................................... 10

Page | 2 Network Engineering -Labs


EEET-2624

Lab 2: Switches-Virtual LANS


Lab place 8.1.002
Lab duration 1 session running over within week 3 (If you cannot finish the
lab during the lab session, your group has to work after hour to
get it done).
Lab assessment • Group report to be submitted after you complete Lab 2
(indicatively, in Week 3).
• Please take necessary records and screenshots that may help
write your reports.
Lab Plan Week 3 complete the entire lab.

1. Objectives
The objectives of the lab 2 are to:
▪ Understand the setup and basic configuration of switch,
▪ Setting up the Ethernet interfaces,
▪ Assigning VLANs to the Ethernet interfaces,

2. Basic Theory

Section 2.1: EX2200 Switches Hardware Overview


Juniper Networks EX Series Ethernet Switches provide scalable connectivity for the enterprise
market, including branch offices, campus locations, and data centers. The switches run the Juniper
Networks Junos operating system (Junos OS), which provides Layer 2 switching and security
services. Juniper Networks EX2200 Ethernet Switches provide connectivity for low-density
environments. EX2200 switches are available in models with 12, 24, or 48 built-in network ports.
The EX2200 switches provide:
✓ Up to four uplink ports
✓ 12 (compact, fanless model), 24, or 48 built-in network ports with 10/100/100BASE-T
✓ Gigabit Ethernet connectors
✓ Power over Ethernet (PoE or PoE+) on all network ports (in PoE-capable models)
✓ Uplink Ports: Each EX2200 switch except the EX2200-C switch model has four uplink
ports that support 1-gigabit small form-factor pluggable (SFP) transceivers for use with fiber
connections and copper connections.
✓ Console Port: Each EX2200 switch except the EX2200-C switch model has an RJ-45
console port that accepts a cable with RJ-45 connector.

Section 2.2: Front Panel of an EX2200 Switch

Page | 3 Network Engineering -Labs


EEET-2624

Figure 2-1. Front panel of an EX2200 switch with 24 Gigabit Ethernet ports.

The front panel of an EX2200 switch consists of the following components:


✓ Network ports—depending on the switch model, either of 24 or 48 10/100/1000BASE-T
Gigabit Ethernet ports, with Power over Ethernet (PoE) not available in EX2200-24T,
EX2200-24T-DC, and EX2200-48T models. 4 built-in SFP uplink ports. You can use
these ports to forward network traffic or configure them into Virtual Chassis ports
(VCPs) to interconnect EX2200 switches into a Virtual Chassis.
✓ 2 chassis status LEDs
✓ 4 port status mode LEDs
✓ Mode button

3. Methodology and Exercises


The best way to learn about any new piece of equipment is to try it out. This section will instruct
you how to interact with the software of the switch.

By this time, everyone already has an account with Juniper for the VLab environment. Using your
account, login into the VLab (https://jlabs.juniper.net) and choose the option of Stand Alone vMX.

The instruction as below

Step 1:

Page | 4 Network Engineering -Labs


EEET-2624

Step 2:

Step 3:

Step 4:

Page | 5 Network Engineering -Labs


EEET-2624

Reserve for 1hr and 30 mins for the date that you access into the VLab. After that session, you
can access the VLab again any time and you can reserve every 3 hours sessions until you complete
Lab 2 activities.

Make sure that your team complete the lab 2 before the end of Friday and your team needs
to submit your lab 1-2 report on Saturday 22nd July 2023 before 11:59PM.

Section 3.1: Switch Status


• Check the interfaces status of the switch (>show interfaces terse) and then interact
with your group for discussing the following questions. How many Ethernet interfaces that
the switch has?

• Which interface has the link up? What does that interface represent?

• Why do the other interfaces have the link down?

• What is the command line for visualizing the Ethernet-switching table?

• Is there anything in the Ethernet-switching table? Why or why not?

Section 3.2: Switch Configuration


• Display the configuration file of the switch by using the command (> show
configuration) and answer the following questions?
Example of Configuration files of an MX switch
## Last changed: 2018-02-17 04:34:26 EST
version 12.3R9.4;
system {
host-name EDUxSx;
time-zone Australia/Melbourne;
ports {
console {
authentication-order password;
log-out-on-disconnect;
type small-xterm;
}
}

Page | 6 Network Engineering -Labs


EEET-2624

root-authentication {
encrypted-password "xxx"; ## SECRET-DATA
}
login {
class student {
permissions [ access configure interface interface-
control network routing routing-control system system-control view
view-configuration ];
}
user studentedu1 {
uid 2018;
class student;
authentication {
encrypted-password "xx"; ## SECRET-DATA
}
}
}
services {
ssh {
protocol-version v2;
}
telnet;
netconf {
ssh;
}
web-management {
http;
}
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
protocols {
igmp-snooping {
vlan all;
}
rstp;
lldp {
interface all;
}
lldp-med {

Page | 7 Network Engineering -Labs


EEET-2624

interface all;
}
}
ethernet-switching-options {
storm-control {
interface all;
}
}
NOTE: Switches are plug-and-play devices therefore all interfaces and relevant protocols have
already been configured. For this exercise, we have removed the interface configurations. While
we keep the protocol configurations for remarking those mandatory protocols configured by
default.
• Which protocols and options are activated by default?

• Configure the 24 Ethernet interfaces in the switch from ge-0/0/0 to ge-0/0/7. An example
is provided bellow:
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching
}
}
}
Where:
✓ Unit represents the virtual unit set to zero
✓ family represents type to interface set to ethernet-switching
Then commit your changes: # commit
• Check again the status of interface, what do you visualize?

• Check again the status of Ethernet-switching table, what do you visualize?

Section 3.3: VLANs Configuration


• Configure two different VLANs in the switch for separating two different departments
working on your device with the following names and VLANs ID: customer1-1
(id=100) and customer1-2 (id=200)
An example is provided bellow:
vlans {
customer1-1 {
vlan-id 100;
}

Page | 8 Network Engineering -Labs


EEET-2624

}
Then commit your changes: # commit
• Assign the first 12 Ethernet interfaces to VLAN customer1-1 and the other ones to VLAN
customer1-2.
An example is provided bellow:
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching {
vlan {
members customer1-1;
}
}
}
Then commit your changes: # commit
Exit the configuration mode: # exit
• Check again the status of Ethernet-switching table, what do you visualize? Why is
customer1-2 not in the table?

• Check again the status the VLANs using show vlans. Explain what is displayed.

Note: At this point switch is ready for working.

Congratulations! You have now completed the second lab.


4. Questions and Report
The goal of this second lab was to configure the customer switch. Understanding the following
questions will demonstrate that you have been able to get understanding of the switches and have
explored some of its capabilities.

1. What are the basic differences between a hub and a switch?


2. Which kind of information needs to be configured in the switch?
3. What is VLAN and why use it?

Note: You don’t need to mention the above questions in your report.

Lab-2 will be assessed together with Lab-1 by a group report submitted on Saturday of week 3
before 11:59 PM after you complete Lab-2 (End of week 3). You may need to take necessary
records and/or screenshots during the labs for your reports.

Page | 9 Network Engineering -Labs


EEET-2624

Lab report is prepared in group; a template and the marking rubric are available in Canvas. Your
report should be submitted by uploading a PDF in Canvas and should be no more than seven
pages. You are strongly recommended to use the template provided in Canvas.

To ensure the fairness for all students, if you don’t want to use the provided template, please
comply with the following formats.
• White A4 size paper with at least 2 cm margin on each side and at top and bottom.
• Please use font type Arial or Times New Roman and size your words to 10 point.
• The report must include
o the title of the lab.
o a table that indicates the contribution percentages of all your group members, Group
ID, and which lab session you are in; and
o five sections: Abstract, Objective and Introduction, Results and Discussion,
Conclusions, and References. If you don’t have any reference, you can omit the last
section.

The entire report should be no more than three pages. More precisely, Abstract should be no more
than 7 lines, Objective and Introduction should be within half a page and Conclusions should be
within half a page. There is no specific length limit for other sections, but the total length of the
report is subject to seven pages.

Note: The report is for students to have a summary about your lab exercises, highlighting your own
understanding and ideas about the lab exercises. You can have your own discussions and use the most
representative evidence to support your discussions. You are the authors of your reports, so you can
decide how to present the things that you are most proud of. What the teaching team expects to see is
that the students can learn something from the lab exercises and have your own understanding about the
lab exercises. It is quite appreciated if students’ discussions can reach beyond what we provided in the
lab guidelines. The exercises listed in the lab guidelines are presented as examples that are used to help
students understand and think more about the relevant knowledge.

5. References
[1] RMIT Juniper Courses Material, Available at: http://www.juniper.net/courses

Page | 10 Network Engineering -Labs

You might also like