0% found this document useful (0 votes)
70 views26 pages

Gedamu Ccna

The document describes configurations performed on a router. Interfaces on the router were configured with IP addresses and passwords were set on login accounts. Routing protocols were enabled to allow communication between the interfaces.

Uploaded by

syabseeshoes
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)
70 views26 pages

Gedamu Ccna

The document describes configurations performed on a router. Interfaces on the router were configured with IP addresses and passwords were set on login accounts. Routing protocols were enabled to allow communication between the interfaces.

Uploaded by

syabseeshoes
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/ 26

Activity 6

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se2/0
Router(config-if)#ip add 200.20.10.194 255.255.255.192
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Router(config-if)#ex
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

Router(config)#int fa0/0
Router(config-if)#ip add 200.20.10.129 255.255.255.192
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 200.20.10.128
Router(config-router)#

Router con0 is now available


Press RETURN to get started.

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#intrfece fa0/0
^
% Invalid input detected at '^' marker.
Router(config)#int fa0/0
Router(config-if)#ip add 200.20.10.1 255.255.255.192
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#int fa1/0
Router(config-if)#ip add 200.20.10.65 255.255.255.192
Router(config-if)#no sh
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

Router(config-if)#ex
Router(config)#int se2/0
Router(config-if)#ip add 200.20.10.193 255.255.255.192
Router(config-if)#clock rate 64000
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 200.20.10.192
Router(config-router)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

Router con0 is now available

Press RETURN to get started.


actvity7
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa4/0
Router(config-if)#ip add 195.5.6.1 255.255.255.224
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet4/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet4/0, changed state to up

Router(config-if)#ex
Router(config)#int se2/0
Router(config-if)#ip add 195.5.6.33 255.255.255.224
Router(config-if)#clock rate 64000
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)# ex
Router(config)#router rip
Router(config-router)#net 195.5.6.32
Router(config-router)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se2/0
Router(config-if)#ip add 195.5.6.34 255.255.255.224
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Router(config-if)#ex
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

Router(config)#int se3/0
Router(config-if)#ip add 195.5.6.161 255.255.255.224
Router(config-if)#clock rate 64000
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Router(config-if)#ex
Router(config)#int se9/0
Router(config-if)#ip add 195.5.6.129 255.255.255.224
Router(config-if)#clock rate 64000
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial9/0, changed state to down


Router(config-if)#ex
Router(config)#int fa0/0
Router(config-if)#ip add 195.5.6.65 255.255.255.224
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 195.5.6.160
Router(config-router)#net 195.5.6.128
Router(config-router)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

%LINK-5-CHANGED: Interface Serial9/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial9/0, changed state to up


Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se2/0
Router(config-if)#ip add 195.5.6.162 255.255.255.224
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Router(config-if)#ex
Router(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
int se3/0
Router(config-if)#ip add 195.5.6.225 255.255.255.224
Router(config-if)#clock rate 64000
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 195.5.6.224
Router(config-router)#
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se7/0
Router(config-if)#ip add 195.5.6.130
% Incomplete command.
Router(config-if)#ip add 195.5.6.130 255.255.255.224
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial7/0, changed state to up

Router(config-if)#ex
Router(config)#int
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial7/0, changed state to up

% Incomplete command.
Router(config-router)#no sh
^
% Invalid input detected at '^' marker.
Router(config-router)#
Router(config-router)#int se2/0
Router(config-if)#ip add 195.5.6.226 255.255.255.224
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

Router(config-if)#no sh
Router(config-if)#int se3/0
Router(config-if)#ip add 195.5.6.193 255.255.255.224
Router(config-if)#clock rate 64000
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up

Router(config-if)#ex
Router(config)#rou
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

% Incomplete command.
Router(config)#router rip
Router(config-router)#net 195.5.6.192
Router(config-router)#

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int se2/0
Router(config-if)#ip add 195.5.6.194 255.255.255.224
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)#ex
Router(config)#int fa0/0
Router(config-if)#ip add 195.5.6.97 255.255.255.224
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ex
Router(config)#router rip
Router(config-router)#net 195.5.6.96
Router(config-router)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

I,9k

Activity 8
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname azmeraw
azmeraw(config)#int fa0/0
azmeraw(config-if)#ip add 100.31.8.17 255.255.255.240
azmeraw(config-if)#no sh

azmeraw(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

azmeraw(config-if)#ex
azmeraw(config)#int fa1/0
azmeraw(config-if)#ip add 100.31.8.1 255.255.255.240
azmeraw(config-if)#no sh

azmeraw(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

azmeraw(config-if)#ex
azmeraw(config)#int se2/0
azmeraw(config-if)#ip add 100.31.8.97 255.255.255.240
azmeraw(config-if)#clock rate 64000
azmeraw(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


azmeraw(config-if)#ex
azmeraw(config)#line console 0
azmeraw(config-line)#password asdf
azmeraw(config-line)#login
azmeraw(config-line)#line vty 0 4
azmeraw(config-line)#password asdf
azmeraw(config-line)#login
azmeraw(config-line)#line aux 0
azmeraw(config-line)#password asdf
azmeraw(config-line)#login
azmeraw(config-line)#service password-encryption
azmeraw(config)#enable secret asdf
azmeraw(config)#login
^
% Invalid input detected at '^' marker.
azmeraw(config)#router rip
azmeraw(config-router)#net 100.31.8.96
azmeraw(config-router)#
azmeraw(config-router)#
azmeraw#
%SYS-5-CONFIG_I: Configured from console by console
copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
azmeraw#
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname gedamu
gedamu(config)#int fa0/0
gedamu(config-if)#ip add 100.31.8.33 255.255.255.240
gedamu(config-if)#no sh

gedamu(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

gedamu(config-if)#ex
gedamu(config)#int se2/0
gedamu(config-if)#ip add 100.31.8.98 255.255.255.240
gedamu(config-if)#clock
% Incomplete command.
gedamu(config-if)#no sh

gedamu(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
ex
gedamu(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

gedamu(config)#int se3/0
gedamu(config-if)#ip add 100.31.8.113 255.255.255.240
gedamu(config-if)#clock rate 64000
gedamu(config-if)#no sh
%LINK-5-CHANGED: Interface Serial3/0, changed state to down
gedamu(config-if)#ex
gedamu(config)#line console 0
gedamu(config-line)#password abera
gedamu(config-line)#login
gedamu(config-line)#line vty 0 4
gedamu(config-line)#password abera
gedamu(config-line)#login
gedamu(config-line)#line aux 0
gedamu(config-line)#password abera
gedamu(config-line)#login
gedamu(config-line)#service password-encryption
gedamu(config)#enable secret abera
gedamu(config)#router rip
gedamu(config-router)#net 100.31.8.112
gedamu(config-router)#ex
gedamu(config)#ex
gedamu#
%SYS-5-CONFIG_I: Configured from console by console
copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
gedamu#

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#amare
^
% Invalid input detected at '^' marker.
Router(config)#hostname amare
amare(config)#ip
% Incomplete command.
amare(config)#int fa0/0
amare(config-if)#ip add 100.31.8.49 255.255.255.240
amare(config-if)#no sh

amare(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

amare(config-if)#ex
amare(config)#int se2/0
amare(config-if)#ip add 100.31.8.114 255.255.255.240
amare(config-if)#no sh

amare(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

amare(config-if)#ex
amare(config)#int se2/0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

amare(config-if)#int se3/0
amare(config-if)#ip add 100.31.8.129 255.255.255.240
amare(config-if)#clock rate 64000
amare(config-if)#no sh

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


amare(config-if)#ex
amare(config)#line console 0
amare(config-line)#password nmb
amare(config-line)#login
amare(config-line)#line vty 0 4
amare(config-line)#password nmb
amare(config-line)#login
amare(config-line)#line aux 0
amare(config-line)#password nmb
amare(config-line)#login
amare(config-line)#service password-encryption
amare(config)#enable secret nmb
amare(config)#router rip
amare(config-router)#net 100.31.8.128
amare(config-router)#
amare(config-router)#
amare(config-router)#
amare#
%SYS-5-CONFIG_I: Configured from console by console
copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
amare#

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname temu
temu(config)#int fa0/0
temu(config-if)#ip add 100.31.8.65 255.255.255.240
temu(config-if)#no sh

temu(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

temu(config-if)#ex
temu(config)#int fa1/0
temu(config-if)#ip add 100.31.8.81 255.255.255.240
temu(config-if)#no sh

temu(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up


temu(config-if)#ex
temu(config)#int se2/0
temu(config-if)#ip add 100.31.8.130 255.255.255.240
temu(config-if)#no sh

temu(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
ex
temu(config)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

temu(config)#line console 0
temu(config-line)#password qwe
temu(config-line)#login
temu(config-line)#line vty 0 4
temu(config-line)#password qwe
temu(config-line)#login
temu(config-line)#line aux 0
temu(config-line)#password qwe
temu(config-line)#login
temu(config-line)#service password-encryption
temu(config)#enable secret qwe
temu(config)#router rip
temu(config-router)#net 100.31.8.80
temu(config-router)#ex
temu(config)#ex
temu#
%SYS-5-CONFIG_I: Configured from console by console
copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
temu#
Activity 9
Router(config-if)#int fa1/0
Router(config-if)#ip add 172.31.8.1 255.255.254.0
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

Router(config-if)#int se2/0
Router(config-if)#ip add 172.31.8.1 255.255.254.0
% 172.31.8.0 overlaps with FastEthernet1/0
Router(config-if)#ip add 172.31.14.193 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to down


Router(config-if)#
Router(config-if)#router rip
Router(config-router)#version 2
Router(config-router)#net 172.31.8.0
Router(config-router)#net 172.31.12.0
Router(config-router)#net 172.31.14.192
Router(config-router)#
Router(config-router)#ex
Router(config)#ex
Router#
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.31.13.1 255.255.255.0
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int se2/0
Router(config-if)#ip add 172.31.14.194 255.255.255.252
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Router(config-if)#int se2/0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed staint fa0/0
Router(config-if)#int se3/0
Router(config-if)#ip add 172.31.14.197 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Router(config-if)#
Router(config-if)#router rip
Router(config-router)#version 2
Router(config-router)#net 172.31.192
^
% Invalid input detected at '^' marker.
Router(config-router)#net 172.31.14.192
Router(config-router)#net 172.31.14.196
Router(config-router)#net 172.31.13.0
Router(config-router)#
Router(config-router)#ex
Router(config)#ex
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
Router#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.31.10.1 255.255.254.0
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int se2/0
Router(config-if)#ip add 172.31.14.198 255.255.255.252
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Router(config-if)#int se2/0
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up3
%Invalid interface type and number
Router(config)#int se3/0
Router(config-if)#ip add 172.31.14.201 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#no sh

%LINK-5-CHANGED: Interface Serial3/0, changed state to down


Router(config-if)#
Router(config-if)#router rip
Router(config-router)#version 2
Router(config-router)#net 172.31.14.196
Router(config-router)#net 172.31.14.200
Router(config-router)#net 172.31.10.0
Router(config-router)#
Router(config-router)#ex
Router(config)#ex
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
Router#%IP-4-DUPADDR: Duplicate address 172.31.10.1 on FastEthernet0/0, sourced by
000A.F3A0.7A54
%IP-4-DUPADDR: Duplicate address 172.31.10.1 on FastEthernet0/0, sourced by
000A.F3A0.7A54

Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface FastEthernet1/0
Router(config-if)#
Router(config-if)#exit
Router(config)#interface FastEthernet1/0
Router(config-if)#speed 100
Router(config-if)#duplex half
Router(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa0/0
Router(config-if)#ip add 172.31.14.129 255.255.255.192
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#int fa1/0
Router(config-if)#ip add 172.31.14.1 255.255.255.128
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

Router(config-if)#int se2/0
Router(config-if)#ip add 172.31.14.202 255.255.255.252
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Router(config-if)#router rip n
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
et
^
% Invalid input detected at '^' marker.
Router(config-if)#router rip
Router(config-router)#version
% Incomplete command.
Router(config-router)#version 2
Router(config-router)#net 172.31.14.200

Router(config-router)#net 172.31.14.0
Router(config-router)#net 172.31.14.128
Router(config-router)#
Router(config-router)#no sh
^
% Invalid input detected at '^' marker.
Router(config-router)#
Router(config-router)#ex
Router(config)#ex
Router#
Activity 10
Switch>EN
Switch#CONF T
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# int range fa0/1-6
Switch(config-if-range)#switchport access mode
^
% Invalid input detected at '^' marker.
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 5
% Access VLAN does not exist. Creating vlan 5
Switch(config-if-range)#switchport access vlan 5
Switch(config-if-range)# int range fa0/7-12
Switch(config-if-range)#switchport access vlan 10
% Access VLAN does not exist. Creating vlan 10
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)# int range fa0/13-18
Switch(config-if-range)#switchport access vlan 15
% Access VLAN does not exist. Creating vlan 15
Switch(config-if-range)#switchport access vlan 15
Switch(config-if-range)# int range fa0/19-24
Switch(config-if-range)#switchport access vlan 20
% Access VLAN does not exist. Creating vlan 20
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#int gig0/1
Switch(config-if)#
Switch(config-if)#switchport mode trunk

Switch(config-if)#

Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/1-6
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 5
% Access VLAN does not exist. Creating vlan 5
Switch(config-if-range)#int range fa0/7-12
Switch(config-if-range)#switchport access vlan 10
% Access VLAN does not exist. Creating vlan 10
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#int range fa0/1-6
Switch(config-if-range)#switchport access vlan 5
Switch(config-if-range)#switchport access vlan 5
Switch(config-if-range)#int range fa0/13-18
Switch(config-if-range)#switchport access vlan 15
% Access VLAN does not exist. Creating vlan 15
Switch(config-if-range)#switchport access vlan 15
Switch(config-if-range)#int range fa0/19-24
Switch(config-if-range)#switchport access vlan 20
% Access VLAN does not exist. Creating vlan 20
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#
Switch(config-if-range)#int gig0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#int gig0/2
Switch(config-if)#switchport mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to
down

Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#switchport mode access
^
% Invalid input detected at '^' marker.
Switch(config)#int range fa0/1-6
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 5
% Access VLAN does not exist. Creating vlan 5
Switch(config-if-range)#switchport access vlan 5
Switch(config-if-range)#int range fa0/7-12
Switch(config-if-range)#switchport access vlan 10
% Access VLAN does not exist. Creating vlan 10
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#int range fa0/13-18
Switch(config-if-range)#switchport access vlan 15
% Access VLAN does not exist. Creating vlan 15
Switch(config-if-range)#switchport access vlan 15
Switch(config-if-range)#int range fa0/19-24
Switch(config-if-range)#switchport access vlan 20
% Access VLAN does not exist. Creating vlan 20
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#
Switch(config-if-range)#int gig0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#int gig0/2
Switch(config-if)#switchport mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to
down

Switch>
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range fa0/1-6
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 5
% Access VLAN does not exist. Creating vlan 5
Switch(config-if-range)#switchport access vlan 5
Switch(config-if-range)#int range fa0/7-12
Switch(config-if-range)#switchport access vlan 10
% Access VLAN does not exist. Creating vlan 10
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#int range fa0/13-18
Switch(config-if-range)#switchport access vlan 15
% Access VLAN does not exist. Creating vlan 15
Switch(config-if-range)#switchport access vlan 15
Switch(config-if-range)#int range fa0/19-24
Switch(config-if-range)#switchport access vlan 20
% Access VLAN does not exist. Creating vlan 20
Switch(config-if-range)#switchport access vlan 20
Switch(config-if-range)#
Switch(config-if-range)#int gig0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#
Switch(config-if)#
Switch(config-if)#ex
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console

Switch#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
Switch#

Activity11

You might also like