Testirajte dodjelu sučelja
Summary
TLDRIn this video, the presenter demonstrates how to verify IP addresses assigned to switches S1 and S2. First, they connect a console cable to switch S1, use terminal commands to check the interface status, and activate VLAN 1 by using the 'no shutdown' command. The process is repeated for switch S2, where the IP address is assigned manually before activating the interface. The presenter ensures both switches have functioning IP addresses and active interfaces, providing a step-by-step guide for network configuration verification.
Takeaways
- 🔌 The task involves verifying that IP addresses 192.168.1.2 and 192.168.1.3 are assigned to switches S1 and S2 respectively.
- 🔧 These IP addresses should be assigned to the default Switched Virtual Interface (SVI), specifically interface VLAN 1.
- 💻 The process starts by connecting a console cable from PC A to switch S1’s console port.
- 📟 On PC A, a terminal emulation program is launched to access the command line interface (CLI) of switch S1.
- 🖥️ The 'enable' command is used to switch to privileged exec mode, followed by the 'show IP interface brief' command to check interface details on switch S1.
- ⚠️ The interface VLAN 1 on switch S1 is found to be in a 'shutdown' state, requiring the 'no shutdown' command to activate it.
- ✅ After issuing the 'no shutdown' command, the state of interface VLAN 1 on S1 changes to 'up'.
- 🔗 The same process is followed on switch S2, starting with connecting a console cable from PC B to switch S2’s console port.
- 🌐 Switch S2’s interface VLAN 1 initially has no IP address, so the IP address 192.168.1.3 and subnet mask are assigned.
- 📈 The interface VLAN 1 on switch S2 is also activated using the 'no shutdown' command, confirming both IP assignment and activation.
Q & A
What is the purpose of assigning IP addresses to switches S1 and S2?
-The purpose of assigning IP addresses to switches S1 and S2 is to enable remote management and monitoring of the switches. The IP addresses are assigned to the default Switched Virtual Interface (SVI) or interface VLAN 1 on both switches.
How do you connect the console cable between PCA and Switch S1?
-To connect the console cable, first click on the console cable in the simulation software, then click on PCA and connect it to the RS232 serial port. After that, stretch the cable to Switch S1 and connect it to the console port.
What command is used to switch to privileged exec mode on Switch S1?
-The command 'enable' is used to switch to privileged exec mode on Switch S1.
What does the 'show IP interface brief' command display?
-The 'show IP interface brief' command displays a summary of all interfaces on the switch, including their IP addresses, status (up/down), and protocol state.
Why was interface VLAN 1 on Switch S1 in a 'shutdown' state initially?
-Interface VLAN 1 was in a 'shutdown' state because it had been administratively disabled. This is indicated by the 'administratively down' status, meaning the interface was not active.
What command is used to bring interface VLAN 1 up on Switch S1?
-The 'no shutdown' command is used to bring interface VLAN 1 up on Switch S1, changing its state from 'administratively down' to 'up'.
How can you verify that interface VLAN 1 is up after running the 'no shutdown' command?
-You can verify that interface VLAN 1 is up by reissuing the 'show IP interface brief' command. The state of the interface should now show 'up' for both the physical state and the line protocol.
What was the issue with interface VLAN 1 on Switch S2, and how was it resolved?
-The issue with interface VLAN 1 on Switch S2 was that it had not yet been assigned an IP address. This was resolved by entering interface configuration mode and assigning it the IP address '192.168.1.3' followed by using the 'no shutdown' command to bring the interface up.
What is the subnet mask used when assigning the IP address to interface VLAN 1 on Switch S2?
-The subnet mask used when assigning the IP address to interface VLAN 1 on Switch S2 is the default '255.255.255.0'.
How can you confirm that the IP address has been successfully assigned to interface VLAN 1 on Switch S2?
-You can confirm that the IP address has been successfully assigned by running the 'show IP interface brief' command and verifying that interface VLAN 1 now has the assigned IP address '192.168.1.3' and its status is 'up'.
Outlines
🔌 Connecting and Verifying IP Assignment on Switch S1
The video starts by explaining how to verify the IP addresses assigned to switches S1 and S2. The IP addresses 192.168.1.2 and 192.168.1.3 should be assigned to the default interface VLAN 1 on both switches. The user begins by connecting a console cable from PCA to switch S1 and opens a terminal emulator to access the command-line interface. After entering privileged EXEC mode with the 'enable' command, the user issues the 'show IP interface brief' command to view the interfaces on S1. Interface VLAN 1 has the IP address 192.168.1.2, but it is in an administratively down state, which requires further steps to activate.
⚙️ Enabling VLAN 1 on Switch S1
To resolve the down state of VLAN 1 on switch S1, the user enters global configuration mode and then interface configuration mode for VLAN 1. They use the 'no shutdown' command to bring the interface up. After activating the interface, a message confirms that the interface's status has changed to 'up.' The user returns to privileged EXEC mode and reissues the 'show IP interface brief' command to confirm that VLAN 1 is now up and running, both physically and in terms of line protocol.
🔗 Verifying Configuration on Switch S2
Next, the video moves on to verifying the switch virtual interface configuration on S2. The user connects a console cable from PCB's serial port to the console port of switch S2, opens a terminal emulation program, and enters privileged EXEC mode. By issuing the 'show IP interface brief' command, they observe that VLAN 1 has not yet been assigned an IP address on S2.
💻 Assigning IP Address and Activating VLAN 1 on Switch S2
To assign an IP address to VLAN 1 on S2, the user enters global configuration mode, then interface configuration mode, and assigns the IP address 192.168.1.3 with its subnet mask using the 'IP address' command. The 'no shutdown' command is used to activate the interface, and a message confirms that the interface has come up. The user returns to privileged EXEC mode, reissues the 'show IP interface brief' command, and confirms that VLAN 1 is now assigned the correct IP address and its state is 'up and up.'
Mindmap
Keywords
💡IP Address
💡Switch
💡VLAN 1
💡Console Cable
💡Command Line Interface (CLI)
💡Global Configuration Mode
💡No Shutdown Command
💡Show IP Interface Brief Command
💡Interface VLAN 1
💡Privilege Exec Mode
Highlights
Verification of IP addresses assigned to switches S1 and S2 is required.
The IP addresses 192.168.1.2 and 192.168.1.3 should be assigned to interface VLAN 1 on switches S1 and S2.
A console cable is connected from PCA to switch S1 via the RS232 serial port to verify configuration.
Terminal emulation program is launched on PCA to access the command line interface (CLI) on switch S1.
In switch S1's CLI, the command 'enable' is used to switch to privilege exec mode.
The 'show IP interface brief' command is issued to examine switch S1 interfaces.
Interface VLAN 1 on switch S1 has the IP address 192.168.1.2 but is in a 'shutdown' state.
To activate the interface, the 'no shutdown' command is used in global configuration mode.
After activation, the interface state changes to 'up' and 'up,' confirming it is operational.
Console cable is now connected from PCB to switch S2 to verify its configuration.
Terminal emulation is used again to access the CLI of switch S2.
The 'show IP interface brief' command reveals that interface VLAN 1 on S2 has not been assigned an IP address yet.
The IP address 192.168.1.3 is assigned to interface VLAN 1 on switch S2 using the 'IP address' command.
The 'no shutdown' command is executed to bring interface VLAN 1 on S2 to 'up' state.
After reissuing the 'show IP interface brief' command, VLAN 1 on switch S2 is verified to be 'up' and has the correct IP address of 192.168.1.3.
Transcripts
in this video I need to verify that the
IP addresses 1
192.168.1.2 and
192.168.1.3 have been assigned to
switches S1 and S2 these IP addresses
should have been assigned to the default
switched virtual interface or interface
VLAN 1 on both switches in order to
verify this I will first connect a
console cable from PCA into switch S one
I click on the console cable I click on
PCA and connect it to the rs232 seral
port and then stretch the cable to
switch S1 and connect it to the console
Port now I'll click on
PCA click on the terminal emulation
program and click okay to accept the
default configuration settings and this
should take me to the command line
interface on switch S1
from here I'll type enable to switch to
privilege exec mode and then I can issue
the show IP interface brief command to
examine the interfaces on switch S1 I
will need to press the space bar in
order to view the full display at the
end of the output you can see interface
VLAN 1 and it has an IP address of
192.168.1.2 however if you look in this
column you'll see that the state of the
interface is administratively down this
means that that interface is in a
shutdown State you can also see that the
line protocol of the interface is also
down in order to correct that I first
need to go into Global configuration
mode then I'll go into interface
configuration mode for interface VLAN 1
and I will issue the no shutdown command
which will activate the interface and
you can see that I'm immediately
presenting with a message that indicates
that the interface has changed its state
to up from here I press enter contrl c
and enter again to return to privilege
exec mode and now I can use the up arrow
on my keyboard to reissue the show IP
interface brief command and then verify
that now the state of that interface is
up and up meaning that it is physically
up and the line protocol is now up next
I will verify the switch virtual
interface configuration on S2 to do that
I will connect a console cable from
pcb's serial Port into the console Port
of switch
S2 click on PCB go to the desktop tab
open the terminal emulation program
accept the default configuration
settings and then that should take me to
the command line interface of switch
S2 from here I will enter privilege
exact mode and then issue the show IP
interface brief command to examine the
interfaces on switch S2 you can see at
the end of the output we have interface
VLAN 1 and at this point it has not yet
been assigned an IP address to assign an
IP address I will first enter Global
configuration mode and then interface
configuration mode for interface VLAN 1
and I'll assign the address by using the
IP address command and give it the
address 1
192.168.1.3 followed by its subnet
mask in order to activate the interface
I will use the no shutdown command or no
shut for short and you can see that the
interface has changed its state to up
from here I will do contrl c and press
enter to return to privilege exec mode
and again reissue that show IP interface
brief command to examine the interfaces
press my space bar and at the end of the
output I can see that interface VLAN 1
has been assigned the IP address
192.168.1.3 and the state of the
interface is up and up
Browse More Related Video
How to configure DHCP server | DHCP server configuration step by step
Testirajte povezivanje s kraja na kraj
Cara setting Router Mikrotik agar komputer Client bisa terkoneksi internet dengan DHCP SERVER
2.9.2 Lab - Basic Switch and End Device Configuration
Free CCNA | Configuring Interfaces | Day 9 Lab | CCNA 200-301 Complete Course
Cara Konfigurasi VoIP Pada Cisco Packet Tracer Terbaru || Command Line Interface CLI
5.0 / 5 (0 votes)