0% found this document useful (0 votes)
78 views29 pages

Lab 1-1 Ethernet Interface and Link Configuration

The document describes steps to configure Ethernet interfaces, link aggregation, VLANs, and inter-VLAN communication on multiple switches. It involves setting interface speeds, creating trunk links between switches, assigning ports to VLANs, configuring IP addresses, and testing connectivity both within and across VLANs using hybrid port configurations.

Uploaded by

ons laadhar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views29 pages

Lab 1-1 Ethernet Interface and Link Configuration

The document describes steps to configure Ethernet interfaces, link aggregation, VLANs, and inter-VLAN communication on multiple switches. It involves setting interface speeds, creating trunk links between switches, assigning ports to VLANs, configuring IP addresses, and testing connectivity both within and across VLANs using hybrid port configurations.

Uploaded by

ons laadhar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

ONS LAADHAR

MED MEHDI HAMDI


2GT3/GRP2

Compte Rendu TP Ethernet and VLAN

Lab 1-1 Ethernet Interface and Link Configuration

Step 1 Perform basic configuration on the Ethernet switches


Change the system name and view detailed information for G0/0/9
and G0/0/10 on S1.
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Set the rate of G0/0/9 and G0/0/10 on S1 to 100 Mbit/s. Before


changing the interface rate, disable auto-negotiation.
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Set the rate of G0/0/9 and G0/0/10 on S2 to 100 Mbit/s.

Confirm that the rate of G0/0/9 and G0/0/10 have been set on S1.
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Step 2 Configure manual link aggregation


Create Eth-Trunk 1 on S1 and S2. Delete the default configuration
from G0/0/9 and G0/0/10 on S1 and S2, and then add G0/0/9 and
G0/0/10 to Eth-Trunk 1.
Sur S1 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Sur S2 :

Verify the Eth-Trunk configuration.


S1 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

S2 :

Step 3 Configuring Link Aggregation in Static LACP Mode


Delete the configurations from G0/0/9 and G0/0/10 on S1 and S2.
Pour S1 :

Pour S2 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Create Eth-Trunk 1 and set the load balancing mode of the Eth-Trunk
to static LACP mode.
Pour S1

Pour S2 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Verify that the LACP-static mode has been enabled on the two links.

Set the system priority on S1 to 100 to ensure S1 remains the Actor


ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Set the priority of the interface and determine active links on S1.

Verify the Eth-Trunk configuration


S1 :

S2 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Final Configuration
Pour S1 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S2 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Lab 1-2 VLAN Configuration

Step 1 preparing the environment


Establish an Eth-trunk link between S1 and S2

Pour S1 :

Pour S2 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Step 2 Disable unused interfaces and establish a VLAN trunk


Unused interfaces must be disabled to ensure test result accuracy. In
this lab, interfaces Ethernet 0/0/1 and Ethernet 0/0/7 on S3,
Ethernet0/0/1 and Ethernet0/0/14 on S4 need to be shut down
Pour S3 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S4 :

The link type of a switch port interface is hybrid by default. Configure


the port link-type for Eth-Trunk 1 to become a trunk port.
Additionally, allow all VLANS to be permitted over the trunk port.
Pour S1 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S2 :

Step 3 Configure VLANs


Use S3, R1, R3, and S4 as non-VLAN aware hosts. There are two
methods to create VLANs, and two methods to bind interfaces to the
created VLANs, S1 and S2 are used to demonstrate the two methods.
All interfaces associated with hosts should be configured as access
ports.
PourS1 :

Pour S2 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Verify that the VLAN configuration has been correctly applied to S1


and S2.
Pour S1 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S2 :
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Step 4 Configure IP addressing for each VLAN


Configure IP addresses on hosts, R1, S3, R3, and S4 as part of the
respective VLANs. Physical port interfaces on switches cannot be
configured with IP addresses, therefore configure the native
management interface Vlanif1 with the IP address for the switch.
Pour R1:
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S3:

Pour R3:

Pour S4:

Step 5 Verify the configuration, by checking the connectivity


ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Use the ping command. R1 and R3 in VLAN 4 should be able to


communicate with one another. Devices in other VLANs should be
unable to communicate
Pour R1:

Step 6 Configure a hybrid interface


Use the hybrid port link type to allow VLAN tagging to be closely
managed at a port interface level. We shall use hybrid ports to allow
tagged frames from VLAN 4 to be received by VLAN 2 and vice
versa.
Pour S1:
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S2:
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

The port hybrid pvid vlan command will ensure frames received from
the host are tagged with the appropriate VLAN tag. Frames received
from VLAN 2 or 4 will be untagged at the interface before being
forwarded to the host. Use the ping command to verify that R3 in
VLAN 4 is still reachable.
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

R1:

Use the ping command to test whether S4 in VLAN 2 is now


reachable from R1 in VLAN 4.

Final configuration
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S3:
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S2:
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour S1:
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

Pour R3:
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2
ONS LAADHAR
MED MEHDI HAMDI
2GT3/GRP2

You might also like