Switch>enable
Switch#config t
Switch(config)#hostname SW1
SW1(config)#do show vlan
SW1(config)#exit
SW1#vlan database
% Warning: It is recommended to configure VLAN from config mode,
as VLAN database mode is being deprecated. Please consult user
documentation for configuring VTP/VLAN in config mode.
SW1(vlan)#vlan 2 name Sales
VLAN 2 added:
Name: Sales
SW1(vlan)#exit
SW1#show vlan
SW1#config t
SW1(config)#vlan 3
SW1(config-vlan)#name Accounts
SW1(config-vlan)#exit
SW1(config)#int fa 0/1
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 2
SW1(config-if)#exit
SW1(config)#int fa 0/2
SW1(config-if)#switchport mode access
SW1(config-if)#switchport access vlan 2
SW1(config-if)#int range fa 0/3- 6
SW1(config-if-range)#switchport mode access
SW1(config-if-range)#switchport access vlan 3
SW1(config-if-range)#exit
SW1(config)#exit
SW1#show vlan
What is VLAN
A virtual LAN or VLAN is a concept by which we can split the device on layer two ie data link layer.
Normally the broadcast domain is divided into level 3 layers but here also we can do this by using switches from the concept of VLANs.
A broadcast domain is a network segment in which all devices in the same broadcast domain will receive it if the device broadcasts a packet.
All devices in the same broadcast domain will receive all broadcast packets but are limited to switches because routers do not forward out broadcast packets.
That’s why inter-VLAN routing is needed to forward packets to a different VLAN (from one VLAN to another VLAN) or to broadcast the domain.
VLANs create various small-sized sub-networks that are relatively easy to handle. VLAN Ranges
To understand VLANs and their range, consider this table carefully:
VLANs
Range
Usage
Propagated by VTP
0, 4095
Reserved
For system use only. You cannot see and use these VLANs.
No
1
Normal
Default VLAN 1 can use it but cannot delete it.
Yes
2-1001
Normal
Ethernet is used for VLANs. You can create, use and delete them.
Yes
1002-1005
Normal
Cisco Default and Token Ring for FDDI. You cannot delete these VLANs.
Yes
1006-4094
Extended
For Ethernet VLANs only. Keep these things in mind when configuring extended VLANs: • Layer 3 ports and some software features require internal VLANs. Internal VLANs are allowed at 1006 and above. You cannot use a VLAN allocated for such use. Internal users To display VLANs, enter the show VLAN brief command. • The configuration of VLANs 1006-1024 does not support the witch running on the catalyst product family. If you configure VLANs 1006-1024, make sure that VLANs are not extended to any switch that runs on the catalyst product family. Huh. • You must enable the Extended System ID so that you can use Extended Range VLANs.
VLAN Configuration
If you want to create a VLAN, you can do this by giving the name and id directly:
Now switchport fa0 / 0, fa0 / 1, fa0-2 will be assigned to vlan2.
Advantages of VLAN
Now we are telling you some benefits of VLAN which are as follows:
Performance– Network traffic is filled with broadcast and multicast. VLAN eliminates the need to send such traffic to the location where we are not required. As an example, suppose traffic is designed for two devices but if there are ten devices in the same broadcast domain, then traffic will reach everywhere and this will lead to waste of bandwidth. But if we create a VLAN then the multicast and broadcast packet will go to the device where we want to send it.
Making of Virtual Group– Just as all organizations or companies have many departments like sales, management etc.
VLAN devices can be grouped into different logically created groups according to their need and department.
Security– In the same network, if the sensitive data is broadcast, then any external can access it, but after creating a VLAN we can control the broadcast domain and also Restricted Access by creating a firewall. Not only this, it is also capable of giving any kind of external access information to the network manager. That’s why VLAN also increases network security
Flexibility– It also allows us to increase or decrease the number of hosts
Cost-Deduction– Broadcast domains can also be created using VLANs that do not require expensive routers.
· In addition, using VLANs, the number of smaller broadcast domains can also be increased, which is easier to handle than larger broadcast domains.
Dear Students, This Purpose of Preparation of Computer Network Online Test is in 30 Questions English. There is a collection of questions asked in the CCNA Exam. On answering each question one point will be given. And it is mandatory to bring 50% marks to pass. To start the test you have to click on Start Button. All the questions will have to be answered. Go to Last and click on Finish Button, after which your Result will appear on the screen. After clicking Finish, there will be three option shows below 1.Restart Quiz 2.View Question 3.Show Leader-board. After filling your name and e-mail id by clicking on the show leader-board, click on send, after which your result will be shown.
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading...
You must sign in or sign up to start the quiz.
You have to finish following quiz, to start this quiz:
Results
0 of 30 questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 points, (0)
Average score
Your score
Categories
Not categorized0%
Thanks for attend this Quiz
Your result has been entered into leaderboard
Loading
maximum of 30 points
Pos.
Name
Entered on
Points
Result
Table is loading
No data available
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Answered
Review
Question 1 of 30
1. Question
1 points
A computer network permits sharing of
Correct
Incorrect
Question 2 of 30
2. Question
1 points
The first operational computer network in the world was the _________ for the United States Department of Defense
Correct
Incorrect
Question 3 of 30
3. Question
1 points
ATM stands for
Correct
Incorrect
Question 4 of 30
4. Question
1 points
_______ is the technology that connects the machines and people within a site in a small area
Correct
Incorrect
Question 5 of 30
5. Question
1 points
______ is a network that covers geographic areas that are larger, such as districts or cities
Correct
Incorrect
Question 6 of 30
6. Question
1 points
______ is a network that this technology connects sites that are in diverse locations
Correct
Incorrect
Question 7 of 30
7. Question
1 points
______ is a collection of point-to-point links that may form a circle
Correct
Incorrect
Question 8 of 30
8. Question
1 points
The ISDN Internet working Equipment devices are
Correct
Incorrect
Question 9 of 30
9. Question
1 points
ATM networks are
Correct
Incorrect
Question 10 of 30
10. Question
1 points
DHCP stands for
Correct
Incorrect
Question 11 of 30
11. Question
1 points
Which protocol layer uses the protocols are WWW, HTTP, FTP, SMTP, e-mail etc
Correct
Incorrect
Question 12 of 30
12. Question
1 points
The internet working protocol is known as
Correct
Incorrect
Question 13 of 30
13. Question
1 points
If single computer network is divided into segments and router are added between them it forms an
Correct
Incorrect
Question 14 of 30
14. Question
1 points
Check sum is used for
Correct
Incorrect
Question 15 of 30
15. Question
1 points
The type of packet format supported by X.25 are as follows
Correct
Incorrect
Question 16 of 30
16. Question
1 points
ISDN stands for
Correct
Incorrect
Question 17 of 30
17. Question
1 points
If routing information is automatically updated by routers when changes are made to the network configuration are called
Correct
Incorrect
Question 18 of 30
18. Question
1 points
ARP stands for
Correct
Incorrect
Question 19 of 30
19. Question
1 points
If two or more routers are connected to the same subnet, the network administration determines which of the routers the messages should be sent to eliminate this problem._____ are used
Correct
Incorrect
Question 20 of 30
20. Question
1 points
If two or more routers are available in distributed routing, which route should be selected
Correct
Incorrect
Question 21 of 30
21. Question
1 points
How many frames are included for traffic in 26 TDMA frames
Correct
Incorrect
Question 22 of 30
22. Question
1 points
What is the port number of the HTTP
Correct
Incorrect
Question 23 of 30
23. Question
1 points
What is the port number of the SMTP
Correct
Incorrect
Question 24 of 30
24. Question
1 points
TCP is ______________
Correct
Incorrect
Question 25 of 30
25. Question
1 points
Which is a network protocol that is based on UDP and is a component of the Internet Protocol Suite, defined by IETF(Internet Engineering Task Force)
Correct
Incorrect
Question 26 of 30
26. Question
1 points
In X.25 defines the protocols from
Correct
Incorrect
Question 27 of 30
27. Question
1 points
Advantages of cell relay are
Correct
Incorrect
Question 28 of 30
28. Question
1 points
When compared with the OSI reference model, the IEEE standard contains the following layers:
Correct
Incorrect
Question 29 of 30
29. Question
1 points
In a token ring, the stations are connected to the __________
Correct
Incorrect
Question 30 of 30
30. Question
1 points
A _________ preamble is used to synchronize the receiver’s clock
Correct
Incorrect
MCQ-SET 2
1. The method of communication in which transmission takes place in both directions, but only one direction at a time is called
Answer is A)
Half Duplex
2.Error detection at the data link level is achieved by
Answer is D)
Cyclic Redundancy Code
3. Protocols are
A) None of these B) Physical communication channels used for transferr C) Logical communication channels used for transferri D) Agreements on how communication components and DTE
Answer is D)
Agreements on how communication components and DTE
4.Which of the following is a wrong example of network layer?
A) Internet Protocol (IP) – ARPANET B) Source routing and domain naming-USENet C) X.25 level 2-ISO D) X.25 Packet Level Protocol (PLP)-ISO
Answer is C)
X.25 level 2-ISO
5. The topology with highest reliability is:
A) Bus topology B) Star topology C) Mesh topology D) Ring topology
Answer is C)
Mesh topology
6. “BAUD” rate means
A) The number of bits transmitted per unit time. B) The number of bytes transmitted per unit time. C) None of the above D) The rate at which the signal changes.
Answer is B)
The number of bytes transmitted per unit time.
7.Start and stop bits are used in serial communication for
A) Error detection B) Error correction C) Slowing down the communication D) Synchronization
Answer is D)
Synchronization
8. Unmodulated signal coming from a transmitter is know as
A) Carrier signal B) Primary signal C) Baseband signal D) None of these
Answer is B)
Baseband signal
9.How many Character per sec(7bits + 1parity) can be transmitted over a 2400 bps line if the transfer is synchronous (1 “Start” and 1 “stop” bit)?
A) 240 B) 300 C) 250 D) 275
Answer is B
300
10.Which one of the following network uses dynamic or adaptive routing?
A) ARPANET B) TYMNET C) SNA(IBM’s System Network Architechture) D) None of these
Answer is A)
ARPANET
11. The number of cross point needed for 10 lines in a cross point switch which is full duplex in nature and there are no self connection is
A) 45 B) 100 C) 50 D) 90
Answer is A)
45
12. A terminal multiplexer has six 1200 bps terminals and ‘n’ 300bps terminals connected to it. The outgoing line is 9600bps. What is the maximum value of n?
A) 4 B) 16 C) 28 D) 8
Answer is D)
8
13. If one link fails, only that link is affected. All other links remain active. Which topology does this?
A) Mesh topology B) Physical topology C) Bus topology D) Star topology
Answer is D)
Star topology
14. Maximum data rate of a channel for a noiseless 3-kHz binary channel is
A) 3000bps B) 1500 bps C) 6000 bps D) None of these
Answer is C)
6000 bps
15. The ________ measures the number of lost or garbled messages as a fraction of the total sent in the sampling period.
A) Transfer Failure Probability. B) Residual Error Rate. C) Connection release failure probability. D)Connection establish.
Answer is B)
Residual Error Rate.
16. In session layer, during data transfer, the data stream responsible for the “control” purpose (i.e control of the session layer itself) is
A) Regular Data B) Capability Data C) Typed data D) Expedited Data
Answer is B)
Capability Data
17.A high speed communication equipment typically would not be needed for
A) Supporting communication between nodes in a LAN B) Transferring large volume of data C) E-mail D) All of these
Answer is C)
E-mail
18. Which of the following ISO level is more closely related to the physical communications facilities?
A) Application B) Session C) Data Link D) Networking
Answer is C)
Data Link
19. which of the following is not a field in the Ethernet Message packet?
A) Type B) Data C) Address D) Pin-code
Answer is D)
Pin-code
20. The Network topology that supports bi-directional links between each possible node is
A) Ring B) Star C) Mesh D) Tree
Answer is C)
Mesh
21. In a broad Sense, a railway track is an example of
A) Simplex B) Full Duplex C) Half Duplex D) All of these
Answer is C)
Half Duplex
22. Which network has connectivity range up to 10 meters?
A) LAN B) MAN C) PAN D) WAN
Answer is C)
PAN
23. What is Unicode?
A) Only few languages are supported B) Represents symbol or characters used in any langua C) Supports only few characters D) Characters from A to Z
Answer is B)
Represents symbol or characters used in any langua
24.For data communications to occur, the communicating devices must be part of a communication system made up of a combination of?
A) Hardware and software B) WAN and LAN C) Full duplex and half duplex D) All of the above
Answer is A)
Hardware and software
25. Correct method for full duplex mode of communication is:
A) None of these B) One device can send other device can only accepts. C) One device sends and other device receives and vic D) Both stations can transmit and receive data at the
Answer is D)
Both stations can transmit and receive data at the
26. Data communications system depends on four fundamental characteristics
A) Receiver B) Sender C) Medium D) Timeliness
Answer is D)
Timeliness
27. A data communications system has:
A) 4 Components B) 7 Components C) 6 Components D) 5 Components
Answer is D)
5 Components
28. Select correct type of line configuration:
A) Dedicated point B) Single point C) Link D) Multi-point
Answer is D)
Multi-point
29. Select the wrong data communication system component:
A) Transits B) Receiver C) Protocol D) Medium
Answer is A)
Transits
30. Time required for a message to travel from one device to another is known as:
A) Wait time B) Response time C) Dialogue time D) Transit time