0% found this document useful (0 votes)
21 views4 pages

Lab1 Se1910 He181079

The document shows the configuration of a network switch, including setting the hostname, passwords, IP address, and saving the configuration. Commands are used to configure user accounts, interfaces, and check the running configuration.

Uploaded by

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

Lab1 Se1910 He181079

The document shows the configuration of a network switch, including setting the hostname, passwords, IP address, and saving the configuration. Commands are used to configure user accounts, interfaces, and check the running configuration.

Uploaded by

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

Press RETURN to get started!

Switch>en
Switch#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW_HE181079
SW_HE181079(config)#enable secret 123456
SW_HE181079(config)#username SW_DoNhoTung privilege 15 secret 123456
SW_HE181079(config)#line console 0
SW_HE181079(config-line)#password 123456
SW_HE181079(config-line)#login
SW_HE181079(config-line)#exit
SW_HE181079(config)#vty 0 15
^
% Invalid input detected at '^' marker.
SW_HE181079(config)#
SW_HE181079(config)#vty 0 15
^
% Invalid input detected at '^' marker.
SW_HE181079(config)#line vty 0 15
SW_HE181079(config-line)#password 123456
SW_HE181079(config-line)#login
SW_HE181079(config-line)#exit
SW_HE181079(config)#service password-encryption
SW_HE181079(config)#banner motd #DoNhoTung - HE181079#
SW_HE181079(config)#interface vlan 1
SW_HE181079(config-if)#ip address 192.168.1.1 255.255.255.0
SW_HE181079(config-if)#no shutdown

SW_HE181079(config-if)#
%LINK-5-CHANGED: Interface Vlan1, changed state to up

SW_HE181079(config-if)#exit
SW_HE181079(config)#exit
SW_HE181079#
%SYS-5-CONFIG_I: Configured from console by console

SW_HE181079#show running-config
Building configuration...

Current configuration : 1331 bytes


!
version 15.0
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname SW_HE181079
!
enable secret 5 $1$mERr$H7PDxl7VYMqaD3id4jJVK/
!
!
!
!
username SW_DoNhoTung secret 5 $1$mERr$H7PDxl7VYMqaD3id4jJVK/
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1

SW_HE181079#show ip interface brief


Interface IP-Address OK? Method Status Protocol
FastEthernet0/1 unassigned YES manual down down
FastEthernet0/2 unassigned YES manual down down
FastEthernet0/3 unassigned YES manual down down
FastEthernet0/4 unassigned YES manual down down
FastEthernet0/5 unassigned YES manual down down
FastEthernet0/6 unassigned YES manual down down
FastEthernet0/7 unassigned YES manual down down
FastEthernet0/8 unassigned YES manual down down
FastEthernet0/9 unassigned YES manual down down
FastEthernet0/10 unassigned YES manual down down
FastEthernet0/11 unassigned YES manual down down
FastEthernet0/12 unassigned YES manual down down
FastEthernet0/13 unassigned YES manual down down
FastEthernet0/14 unassigned YES manual down down
FastEthernet0/15 unassigned YES manual down down
FastEthernet0/16 unassigned YES manual down down
FastEthernet0/17 unassigned YES manual down down
FastEthernet0/18 unassigned YES manual down down
FastEthernet0/19 unassigned YES manual down down
FastEthernet0/20 unassigned YES manual down down
FastEthernet0/21 unassigned YES manual down down
FastEthernet0/22 unassigned YES manual down down
FastEthernet0/23 unassigned YES manual down down
FastEthernet0/24 unassigned YES manual down down
GigabitEthernet0/1 unassigned YES manual down down
GigabitEthernet0/2 unassigned YES manual down down
Vlan1 192.168.1.1 YES manual up down
SW_HE181079#write memory
Building configuration...
[OK]
SW_HE181079#
SW_HE181079#

You might also like