Kamis, 20 Oktober 2011

Configuring Static VLANs – 2950 Series

Configuring Static VLANs – 2950 Series

Switch>enable

Switch#configure terminal

Switch(config)#hostname Switch_A

Switch_A(config)#enable secret class

Switch_A(config)#line con 0

Switch_A(config-line)#password cisco

Switch_A(config-line)#login

Switch_A(config-line)#line vty 0 15

Switch_A(config-line)#password cisco

Switch_A(config-line)#login

Switch_A(config-line)#exit

Switch_A(config)#interface Vlan1

Switch_A(config-if)#ip address 192.168.1.2 255.255.255.0

Switch_A(config-if)#no shutdown

Switch_A(config-if)#exit

Switch_A(config)#ip default-gateway 192.168.1.1

Switch_A(config)#end

Create and name two VLANs

Enter the following commands to create and name two VLANs:

Switch_A#vlan database

Switch_A(vlan)#vlan 2 name VLAN2

Switch_A(vlan)#vlan 3 name VLAN3

Switch_A(vlan)#exit

Assign ports to VLAN 2

Assigning ports to VLANs must be done from the interface mode. Enter the following commands to

add port 2 to VLAN 2:

Switch_A#configure terminal

Switch_A(config)#interface fastethernet 0/2

Switch_A(config-if)#switchport mode access

Switch_A(config-if)#switchport access vlan 2

Switch_A(config-if)#end

Contoh lain

Assign ports to VLAN 2

Assigning ports to VLANs must be done from the interface mode. Enter the following commands to

add ports 4, 5 and 6 to VLAN 2.

Switch_A#configure terminal

Switch_A(config)#interface fastethernet 0/4

Switch_A(config-if)#switchport mode access

Switch_A(config-if)#switchport access vlan 2

Switch_A(config-if)#interface fastethernet 0/5

Switch_A(config-if)#switchport mode access

Switch_A(config-if)#switchport access vlan 2

Switch_A(config-if)#interface fastethernet 0/6

Switch_A(config-if)#switchport mode access

Switch_A(config-if)#switchport access vlan 2

Switch_A(config-if)#end

Look at only VLAN2 information

a. Instead of displaying all of the VLANs type the show vlan id 2 command at the Privileged

EXEC mode prompt as follows:

Switch_A#show vlan id 2

Look at only VLAN2 information with a different command (1900: Omit this step)

a. Instead of displaying all of the VLANs type the show vlan name VLAN2 command at the

Privileged EXEC mode prompt.

Switch_A#show vlan name VLAN2

Test the VLANs

Ping from the host in port 0/4 to the host in port 0/1.

a. Was the ping successful? No

b. Why? Different vlan membership

Ping from the host in port 0/1 to the host in port 0/4.

c. Was the ping successful? No

d. Why? Different vlan membership

Ping from the host in port 0/4 to the switch IP 192.168.1.2.

e. Was the ping successful? No

f. Why? Different vlan membership

Ping from the host in port 0/1 to the switch IP 192.168.1.2.

g. Was the ping successful? Yes

h. Why? Same vlan membership

Deleting VLAN Configurations – 2950 Series

Delete a Host from a VLAN

To remove a host from a VLAN, use the no form of the switchport commands in the port interface

configuration mode.

Switch_A#configure terminal

Switch_A(config)#interface fastethernet 0/4

Switch_A(config-if)#no switchport access vlan 2

Delete VLAN 1

a. Try to delete VLAN 1, which is the default VLAN, the same way that you deleted VLAN 3.

Switch_A#vlan database

Switch_A(vlan)#no vlan 1

A default VLAN may not be deleted.

Switch_A(vlan)#exit


Erasing and Reloading the Switch

For the majority of the labs in CCNA 3 and CCNA 4 it is necessary to start with an unconfigured

switch. Use of a switch with an existing configuration may produce unpredictable results. These

instructions allow preparation of the switch prior to performing the lab so previous configuration

options do not interfere. The following is the procedure for clearing out previous configurations and

starting with an unconfigured switch. Instructions are provided for the 2900, 2950, and 1900 Series

switches.

2900 and 2950 Series Switches

1. Enter into the Privileged EXEC mode by typing enable.

If prompted for a password, enter class (if that does not work, ask the instructor).

Switch>enable

2. Remove the VLAN database information file.

Switch#delete flash:vlan.dat

Delete filename [vlan.dat]?[Enter]

Delete flash:vlan.dat? [confirm] [Enter]

If there was no VLAN file, this message is displayed.

%Error deleting flash:vlan.dat (No such file or directory)

3. Remove the switch startup configuration file from NVRAM.

Switch#erase startup-config

The responding line prompt will be:

Erasing the nvram filesystem will remove all files! Continue? [confirm]

Press Enter to confirm.

The response should be:

Erase of nvram: complete

4. Check that VLAN information was deleted.

Verify that the VLAN configuration was deleted in Step 2 using the show vlan command. If

previous VLAN configuration information (other than the default management VLAN 1) is still

present it will be necessary to power cycle the switch (hardware restart) instead of issuing the

reload command. To power cycle the switch, remove the power cord from the back of the

switch or unplug it. Then plug it back in.

If the VLAN information was successfully deleted in Step 2, go to Step 5 and restart the switch

using the reload command.

5. Software restart (using the reload command)

Note: This step is not necessary if the switch was restarted using the power cycle method.

a. At the Privileged EXEC mode enter the command reload.

Switch#reload

The responding line prompt will be:

System configuration has been modified. Save? [yes/no]:

b. Type n and then press Enter.

The responding line prompt will be:

Proceed with reload? [confirm] [Enter]

The first line of the response will be:

Reload requested by console.

After the switch has reloaded, the line prompt will be:

Would you like to enter the initial configuration dialog? [yes/no]:

c. Type n and then press Enter.

The responding line prompt will be:

Press RETURN to get started! [Enter]

Kamis, 29 September 2011

CCNA 1 Final Exam V4.0 Answers

1.Refer to the exhibit. What is the correct destination socket number for a web page request from Host A to the web server?
00-08-a3-b6-ce-46
198.133.219.25:80

http://www.ccnafinal.net

C 198.133.219.0/24 is directly connected, FastEthernet0/0

2. Which prompt represents the appropriate mode used for the copy running-config startup-config command ?
Switch-6J>
Switch-6J#
Switch-6J(config)#
Switch-6J(config-if)#
Switch-6J(config-line)#


3. Due to a security violation, the router passwords must be changed. What information can be learned from the following configuration entries? (Choose two)
Router(config)# line vty 0 3 Router(config-line)# password c13c0
Router(config-line)# login
The entries specify three Telnet lines for remote access.
The entries specify four Telnet lines for remote access.
The entries set the console and Telnet password to “c13c0″.
Telnet access will be denied because the Telnet configuration is incomplete.
Access will be permitted for Telnet using “c13c0″ as the password.

4.

Refer to the exhibit. Each media link is labeled. What type of cable should be used to connect the different devices?
Connection 1 – rollover cable
Connection 2 – straight-through cable
Connection 3 – crossover cable
Connection 1 – crossover cable
Connection 2 – rollover cable
Connection 3 – crossover cable
Connection 1 – straight-through cable
Connection 2 – crossover cable
Connection 3 – crossover cable
Connection 1 – straight-through cable
Connection 2 – crossover cable
Connection 3 – straight-through cable
Connection 1 – crossover cable
Connection 2 – straight-through cable
Connection 3 – crossover cable

5.

Refer to the exhibit. What function does router RT_A need to provide to allow Internet access for hosts in this network?
address translation
DHCP services
ftpd
web server

6. When connectionless protocols are implemented at the lower layers of the OSI model, what is usually used to acknowledge that the data was received and to request the retransmission of missing data?
IP
UDP
Ethernet
a connectionless acknowledgement
an upper-layer, connection-oriented protocol or service

7.

Refer to the exhibit. Host A is transmitting data to host B. What addresses will host A use to for the destination IP and MAC addresses in this communication?
Destination MAC: BBBB:BBBB:BBBB Destination IP: 172.22.0.62
Destination MAC: DDDD:DDDD:DDDD Destination IP: 172.22.0.75
Destination MAC: EEEE:EEEE:EEEE Destination IP: 172.22.0.62
Destination MAC: BBBB:BBBB:BBBB Destination IP: 172.22.0.75
Destination MAC: EEEE:EEEE:EEEE Destination IP: 172.22.0.75
Destination MAC: DDDD:DDDD:DDDD Destination IP: 172.22.0.94

8.

Refer to the exhibit. Cable 1 and cable 2 have the ends wired for specific physical layer requirements. The table lists each segment by number and the cable which has been installed by the network technician between the network components on that segment. From the data given, which segments have the correct cable installed? (Choose three.)
segment1
segment2
segment3
segment4
segment5

9. What is true regarding network layer addressing? (Choose three)
uses a flat structure
prevent broadcasts
heirarchical
uniquely identifies each host
48 bits in length
contains a network portion

10.

Refer to the exhibit. What two facts can be determined about the exhibited topology? (Choose two)
A single broadcast domain is present
Two logical address ranges are required.
Three broadcast domains are shown.
Four networks are needed.
Five collision domains exist.

11.

Refer to the exhibit. What two facts can be determined from the information that is given? (Choose two.)
This exchange is part of the three-way handshake.
The source port indicates that a Telnet session has been initiated.
The data is flowing from server to client.
The destination port indicates that an HTTP session has been initiated.
The data listed is associated with the transport layer.
The source port does not support communication with the destination port that is listed.

12. In a Cisco IOS device, where is the startup-configuration file stored?
Flash
NVRAM
RAM
ROM

13.

Refer to the exhibit. The network containing router B is experiencing problems. A network associate has isolated the issue in this network to router B. What action can be preformed to correct the network issue?
issue the clock rate command on interface Serial 0/0/0
issue the description command on interface Serial 0/0/1
issue the ip address command on interface FastEthernet 0/0
issue the no shutdown command on interface FastEthernet 0/1

14.

Refer to the exhibit. A technician is working on a network problem that requires verification of the router LAN interface. What address should be pinged from this host to confirm that the router interface is operational?
127.0.0.1
192.168.64.196
192.168.254.1
192.168.254.9
192.168.254.254

15. Which combination of network id and subnet mask correctly identifies all IP addresses from 172.16.128.0 through 172.16.159.255?
172.16.128.0 255.255.255.224
172.16.128.0 255.255.0.0
172.16.128.0 255.255.192.0
172.16.128.0 255.255.224.0
172.16.128.0 255.255.255.192

16.

Refer to the exhibit. Host A attempts to establish a TCP/IP session with host C. During this attempt, a frame was captured with the source MAC address 0050.7320.D632 and the destination MAC address 0030.8517.44C4. The packet inside the captured frame has an IP source address 192.168.7.5, and the destination IP address is 192.168.219.24. At which point in the network was this packet captured?
leaving host A
leaving ATL
leaving Dallas
leaving NYC

17.

Refer to the exhibit. The diagram represents the process of sending email between clients. Select the list below that correctly identifies the component or protocol used at each numbered stage of the diagram.
1.MUA 2.MDA 3.MTA 4.SMTP 5.MTA 6.POP 7.MDA 8.MUA
1.MUA 2.POP 3.MDA 4.SMTP 5.MTA 6.MDA 7.SMTP 8.MUA
1.MUA 2.POP 3.SMTP 4.MDA 5.MTA 6.SMTP 7.POP 8.MUA
1.MDA 2.SMTP 3.MTA 4.SMTP 5.MTA 6.MUA 7.POP 8.MDA
1.MUA 2.SMTP 3.MTA 4.SMTP 5.MTA 6.MDA 7.POP 8.MUA

18.

Refer to the exhibit. The command that is shown was issued on a PC. What does the IP address 192.168.33.2 represent?
IP address of the host
default gateway of the host
IP address of the homepage for the host
primary domain name server for the host
IP address of the website resolver1.mooki.local

19.

Refer to the exhibit. On the basis of the IP configuration that is shown, what is the reason that Host A and Host B are unable to communicate outside the local network?
Host A was assigned a network address.
Host B was assigned a multicast address.
Host A and Host B belong to different networks.
The gateway address was assigned a broadcast address.

20.

Refer to the exhibit. The tracert command is initiated from PC1 to PC4. Which device will send a response to the initial tracert packet from PC1?
Athens
Ankara
London
Paris
PC4

21. Which password is automatically encrypted when it is created?
vty
aux
console
enable secret
enable password

22. Which OSI layer does IP rely on to determine whether packets have been lost and to request retransmission?
application
presentation
session
transport

23.

Refer to the exhibit. Which two statements describe the information that is represented in the header? (Choose two)
This is a server response.
The UDP protocol is being used.
The destination port indicates a Telnet session.
The return segment will contain a source port of 23.
The next session originated from the client of this session will use the source port number 13358.

24. The Layer 4 header contains which type of information to aid in the delivery of data?
service port number
host logical address
device physical address
virtual connection identifier

25. As network administrator, what is the subnet mask that allows 510 hosts given the IP address 172.30.0.0?
255.255.0.0
255.255.248.0
255.255.252.0
255.255.254.0
255.255.255.0
255.255.255.128

26. When must a router serial interface be configured with the clock rate command?
when the interface is functioning as a DTE device
when the interface timers have been cleared
when the connected DTE device is shut down
when the interface is functioning as a DCE device

27.

Refer to the exhibit. What is required on host A for a network technician to create the initial configuration on Router1?
an FTP client
a Telnet client
a terminal emulation program
a web browser

28.

Refer to the exhibit. Which set of devices contains only intermediary devices?
A, B, D, G
A, B, E, F
C, D, G, I
G, H, I, J

29.

Refer to the exhibit. A network technician is trying to determine the correct IP address configuration for Host A. What is a valid configuration for Host A?
IP address: 192.168.100.19; Subnet Mask: 255.255.255.248; Default Gateway: 192.16.1.2
IP address: 192.168.100.20; Subnet Mask: 255.255.255.240; Default Gateway: 192.168.100.17
IP address: 192.168.100.21; Subnet Mask: 255.255.255.248; Default Gateway: 192.168.100.18
IP address: 192.168.100.22; Subnet Mask: 255.255.255.240; Default Gateway: 10.1.1.5
IP address: 192.168.100.30; Subnet Mask: 255.255.255.240; Default Gateway: 192.168.1.1
IP address: 192.168.100.31; Subnet Mask: 255.255.255.240; Default Gateway: 192.168.100.18

30. A routing issue has occurred in you internetwork. Which of the following type of devices should be examined to isolate this error?
access point
host
hub
router
switch

31. Which type of media is immune to EMI and RFI? (Choose two.)
10 Base-T
10 Base-2
10 Base-5
100 Base-FX
100 Base TX
1000 Base LX

32.

Refer to the exhibit. With the router running NAT, what IP addresses can be applied to the computer to allow access to the Internet? (Choose three)
192.168.18.38
192.168.18.48
192.168.18.49
192.168.18.52
192.168.18.59
192.168.18.63

33. Which three IPv4 addresses represent a broadcast for a subnet? (Choose three.)
172.16.4.63 /26
172.16.4.129 /26
172.16.4.191 /26
172.16.4.51 /27
172.16.4.95 /27
172.16.4.221 /27

34.

Refer to the exhibit. Assume all devices are using default configurations. How many subnets are required to address the topology that is shown?
1
3
4
5
7

35. What are three characteristics of CSMA/CD? (Choose three)
Devices can be configured with a higher transmission priority.
A jam signal indicates that the collision has cleared and the media is not busy.
A device listens and waits until the media is not busy before transmitting.
The device with the electronic token is the only one that can transmit after a collision.
All of the devices on a segment see data that passes on the network medium.
After detecting a collision, hosts can attempt to resume transmission after a random time delay has expired.

36. A technician is asked to secure the privileged EXEC mode of a switch by requiring a password. Which type of password would require this login and be considered the most secure?
console
enable
enable secret
VTY

37. A PC can not connect to any remote websites, ping its default gateway, or ping a printer that is functioning properly on the local network segment. Which action will verify that the TCP/IP stack is functioning correctly on this PC?
Use the ipconfig /all command at the host’s command prompt.
Use the ping 127.0.0.1 command at the command prompt.
Use the traceroute command at the command prompt to identify any failures on the path to the gateway.
Use FTP to check for connectivity to remote sites.
Download a troubleshooting tool from the PC manufacturer’s website.

38.

Refer to the exhibit. When computer A sends a frame to computer D, what computers receive the frame?
only computer D
only computer A and computer D
only computer B, computer C, and computer D
all computers

39.

Examine the graphic with current configurations. Host A in the Clerical offices failed and was replaced. Although a ping to 127.0.0.1 was successful, the replacement computer can not access the company network. What is the likely cause of the problem?
IP address incorrectly entered
network cables unplugged
subnet mask incorrectly entered
network card failure

40. Which two functions of the OSI model occur at layer two? (Choose two.)
physical addressing
encoding
routing
cabling
media access control

41.

Refer to the exhibit. A router, whose table is shown, receives a packet that is destined for 192.168.1.4. How will router treat the packet?
The packet will be dropped.
The packet will be forwarded via FastEthernet 0/0.
The packet will be forwarded to the destination host.
The packet will be forwarded to the 192.168.1.3 next-hop address.

42. Which range of port numbers are reserved for services that are commonly used by applications that run on servers?
0 to 255
0 to 1023
1024 to 49151
49152 to 65535

43.

Refer to the exhibit. What three statements are true about the IP configuration that is shown? (Choose three.)
The address that is assigned to the computer represents private addressing.
The computer is unable to communicate outside of the local network.
The network of this computer can have 126 hosts.
The prefix of the computer address is /27.
The IP address that is assigned to the computer is routable on the Internet.
The IP address that is assigned to the computer is a broadcast address.

44.

Refer to the exhibit. A network administrator remotely accesses the CLI of RouterB from PC1 using Telnet. Which statement is true about this connection?
The data is automatically encrypted.
A Telnet server process is running on PC1.
The connection is made through a VTY session on the router.
A GET request was sent to RouterB to retrieve data during this session.

45. Which three statements characterize the transport layer protocols? (Choose three.)
TCP and UDP port numbers are used by application layer protocols.


TCP uses port numbers to provide reliable transportation of IP packets.
UDP uses windowing and acknowledgments for reliable transfer of data.
TCP uses windowing and sequencing to provide reliable transfer of data.
TCP is a connection-oriented protocol. UDP is a connectionless protocol.

46. Which of the following are the address ranges of the private IP addresses? (Choose three.)
10.0.0.0 to 10.255.255.255
200.100.50.0 to 200.100.25.255
150.150.0.0 to 150.150.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255
127.16.0.0 to 127.31.255.255

47. Which OSI layers offers reliable, connection-oriented data communication services?
application
presentation
session
transport
network

48.

Refer to the exhibit. Which logical topology best describes the exhibited network?
star
ring
point-to-point
multiaccess
mesh

49. During the encapsulation process, which identifiers are added at the transport layer?
two networks routing the packets
two applications communicating the data
two hosts at either end of the communication
two nodes on the local network exchanging the frame

50. What are two characteristics of the data link layer? (Choose two.)
It segments and reorders the data.
It exchanges the frames between nodes.
It defines the method by which network devices place data onto the media.
It manages the transfer of data between the processes that run on each host.
It retrieves signals from the media and restores them to their bit representations.

Switch interfaces configuration

Lab instructions

This lab will test your ability to configure speed, duplex, and vlan settings on a cisco switchinterfaces.

1. Connect to Switch0 using console interface and configure each Switch0 fastethernet switchport for operation. Correct settings are :
- Port type : access port
- Speed : 100 Mbit/s
- Duplex mode : Full Duplex
- Autonegotiation disabled

2. PC “192.168.1.4″ seems to be unable to ping other PCs in the network. Check switch configuration.
TIP : How many broadcast domains are there in this network ?

3. Choose the right cable to connect :
- Switch0 gigabitethernet 1/1 to Switch1 gigabitethernet 1/1
- Switch1 gigabitethernet 1/2 to Switch2 gigabitethernet 1/2

4. Configure those two links as trunk lines without using trunk negotiation between switches

Network diagram

lab2 networkdiagram Lab 2   Switch interfaces configuration

lab2-networkdiagram

Solution

Connect to Switch0 using console interface and configure each Switch0 fastethernet switchport for operation.

Switch(config)#interface FastEthernet0/1

switchport mode access
duplex full
speed 100

Switch(config)#interface FastEthernet0/2

switchport mode access
duplex full
speed 100

Switch(config)#interface FastEthernet0/3

switchport mode access
duplex full
speed 100

Switch(config)#interface FastEthernet0/4

switchport mode access
duplex full
speed 100

PC “192.168.1.4″ seems to be unable to ping other PCs in the network. Check switch configuration.
Switch(config)#interface FastEthernet0/4

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 1
Choose the right cable to connect :

- Switch0 gigabitethernet 1/1 to Switch1 gigabitethernet 1/1
- Switch1 gigabitethernet 1/2 to Switch2 gigabitethernet 1/2

lab2 networkdiagram solution Lab 2   Switch interfaces configuration

lab2-networkdiagram-solution

Configure those two links as trunk lines without using trunk negotiation between switches

On every interface that has to be configured for trunk operation, configure the following settings

Switch(config)#interface GigabitEthernet1/X

Switch(config-if)#switchport mode trunk

Verify interface operational mode using the “show interface GigabitEthernet1/X switchport command” :

Name: Gig1/2

Switchport: Enabled

Administrative Mode: trunk

Operational Mode: trunk

Administrative Trunking Encapsulation: dot1q

Operational Trunking Encapsulation: dot1q

Negotiation of Trunking: On

Access Mode VLAN: 1 (default)

Trunking Native Mode VLAN: 1 (default)

Voice VLAN: none

Another usefull ios command is “show interfaces trunk” :

Switch#sh interfaces trunk
Port Mode Encapsulation Status Native vlan
Gig1/2 on 802.1q trunking 1

Port Vlans allowed on trunk
Gig1/2 1-1005

Port Vlans allowed and active in management domain
Gig1/2 1

Port Vlans in spanning tree forwarding state and not pruned
Gig1/2 1

My Headlines