0% found this document useful (0 votes)
60 views

Labccna15 PDF

The document outlines the steps to configure and verify a basic network configuration including: 1) Configuring hostnames on switches and routers; 2) Configuring one switch as a VTP server and one as a client in the same VTP domain; 3) Configuring a trunk link between two switches and verifying the trunk; 4) Creating VLANs and assigning ports to VLANs on two switches; and 5) Configuring and verifying IP connectivity between two routers connected to the switches.

Uploaded by

mayudesk desk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views

Labccna15 PDF

The document outlines the steps to configure and verify a basic network configuration including: 1) Configuring hostnames on switches and routers; 2) Configuring one switch as a VTP server and one as a client in the same VTP domain; 3) Configuring a trunk link between two switches and verifying the trunk; 4) Creating VLANs and assigning ports to VLANs on two switches; and 5) Configuring and verifying IP connectivity between two routers connected to the switches.

Uploaded by

mayudesk desk
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Lab 18.

Configuration and
Verification

Task 1:
Switch#config t
Enter configuration commands, one per line. End with CTRL/Z.
Switch(config)#hostname Sw1
Sw1(config)#

Switch#config t
Enter configuration commands, one per line. End with CTRL/Z.
Switch(config)#hostname Sw2
Sw1(config)#

Router#config t
Enter configuration commands, one per line. End with CTRL/Z.
Router(config)#hostname R1
R1(config)#

Router#config t
Enter configuration commands, one per line. End with CTRL/Z.
Router(config)#hostname R3
R3(config)#

Task 2:
NOTE: By default, Cisco switches are VTP servers so no
configuration is necessary for server mode on Sw1. This can be
verified using the show vtp status command. However, you do need to
configure the domain.
Sw1#config t
Enter configuration commands, one per line. End with CTRL/Z.
Sw1(config)#vtp domain CISCO
Changing VTP domain name from Null to CISCO
Sw1(config)#

Sw2#config t
Enter configuration commands, one per line. End with CTRL/Z.
Sw2(config)#vtp mode client
Setting device to VTP CLIENT mode.
Sw2(config)#vtp domain CISCO
Changing VTP domain name from Null to CISCO
Sw2(config)#end

Sw2#show vtp status


VTP Version :2
Configuration Revision :0
Maximum VLANs supported locally : 250
Number of existing VLANs :5
VTP Operating Mode : Client
VTP Domain Name : CISCO
VTP Pruning Mode : Enabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x9D 0x1A 0x9D 0x16 0x9E 0xD1 0x38 0x59
Configuration last modified by 0.0.0.0 at 3-1-93 01:42:39

Task 3:
NOTE: Some Cisco switches default to 802.1Q trunking so no
explicit configuration is required. The 2960 Switch (used in the
exam) is set to dynamic auto so you will have to set at least one side
to trunk.

Sw1#show int f0/1 switchport


Name: Fa0/1
Switchport: Enabled
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Sw1#config t
Enter configuration commands, one per line. End with CTRL/Z.
Sw1(config)#interface fastethernet0/1
Sw1(config-if)#switchport mode trunk

Sw1#show interfaces trunk

Port Mode Encapsulation Status Native vlan


Fa0/1 on 802.1q trunking 1

Port Vlans allowed on trunk


Fa0/1 1-1005

Port Vlans allowed and active in management domain


Fa0/1 1

Port Vlans in spanning tree forwarding state and not pruned


Fa0/1 1

Task 4:
Sw1#config t
Enter configuration commands, one per line. End with CTRL/Z.
Sw1(config)#vlan10
Sw1(config-vlan)#name SALES
Sw1(config-vlan)#exit
Sw1(config)#vlan20
Sw1(config-vlan)#name MANAGERS
Sw1(config-vlan)#exit
Sw1(config)#interface fastethernet0/2
Sw1(config-if)#switchport mode access
Sw1(config-if)#switchport access vlan10
Sw1(config-if)#end
Sw1#
Sw1#show vlan brief

VLAN Name Status Ports


---- ----------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22

Fa0/23, Fa0/24, Gig0/1, Gig0/2


10 SALES active Fa0/2
20 MANAGERS active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Sw1#

Sw2#config t
Enter configuration commands, one per line. End with CTRL/Z.
Sw2(config)#interface fastethernet0/2
Sw2(config-if)#switchport mode access
Sw2(config-if)#switchport access vlan10
Sw2(config-if)#end
Sw2#
Sw2#show vlan brief

VLAN Name Status Ports


---- ----------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gig0/1, Gig0/2
10 SALES active Fa0/2
20 MANAGERS active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

Task 5:
R1#config t
Enter configuration commands, one per line. End with CTRL/Z.
R1(config)#interface fastethernet0/0
R1(config-if)#ip address 10.0.0.1 255.255.255.240
R1(config-if)#no shutdown
R1(config-if)#end
R1#

R3#config t
Enter configuration commands, one per line. End with CTRL/Z.
R3(config)#interface fastethernet0/0
R3(config-if)#ip address 10.0.0.3 255.255.255.240
R3(config-if)#no shutdown
R3(config-if)#end
R3#

R1#show ip interface brief


Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 10.0.0.1 YES manual up up

R1#ping 10.0.0.3

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 10.0.0.3, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 1/3/4 ms

You might also like