Showing posts with label networking. Show all posts
Showing posts with label networking. Show all posts

Wednesday, February 1, 2017

February networking question



The February edition of random networking questions.

Another 10 questions to get the grey matter ticking :-)



1. A flat network can be best described as...

A) Physically flat
B) One collision domain
C) One broadcast domain
D) One VLAN


2. Where does routing occur within the DoD TCP/IP reference model?

A. application
B. internet
C. network
D. transport


3. What layer of the OSI model provides the physical transmission of data, handles error notifications, network topology and flow control?

A) Physical
B) Data Link
C) Presentation
D) Session
E) Transport


4. Bridges can only have one spanning tree instance, while switches can have many.

A) True
B) False


5. A Cisco router is booting and has just completed the POST process. It is now ready to find and load an IOS image. What function does the router perform next?

A. It checks the configuration register.
B. It attempts to boot from a TFTP server.
C. It loads the first image file in flash memory.
D. It inspects the configuration file in NVRAM for boot instructions.


6. A CIDR value of /30 equates to what subnet mask?

A) 255.255.255.253
B) 255.255.255.128
C) 255.255.255.248
D) 255.255.255.252


7. What is the maximum size of an Ethernet packet when the frames have ISL tagging?(Include the size of headers and CRC)

A) 64 bytes
B) 1500 bytes
C) 1518 bytes
D) 1522 bytes
E) 1548 bytes


8. Which item represents the standard IP ACL?

A. access-list 110 permit ip any any
B. access-list 50 deny 192.168.1.1 0.0.0.255
C. access list 101 deny tcp any host 192.168.1.1
D. access-list 2500 deny tcp any host 192.168.1.1 eq 22


9. Which two commands correctly verify whether port security has been configured on port FastEthernet 0/12 on a switch? (Choose two.)

A. SW1#show port-secure interface FastEthernet 0/12
B. SW1#show switchport port-secure interface FastEthernet 0/12
C. SW1#show running-config
D. SW1#show port-security interface FastEthernet 0/12
E. SW1#show switchport port-security interface FastEthernet 0/12


10. Which protocol can cause overload on a CPU of a managed device?

A. Netflow
B. WCCP
C. IP SLA
D. SNMP






CableChick.com.au








1. Correct Answer C

A switched network can be described as a flat network because broadcasts are transmitted to every device.

2. Correct Answer B

The picture below shows the comparison between TCP/IP model & OSI model. Notice that
the Internet Layer of TCP/IP is equivalent to the Network Layer which is responsible for
routing decision.






3. Correct Answer B

http://en.wikipedia.org/wiki/Data_Link_Layer

4. Correct Answer A

Bridges are software based and can only have one spanning-tree instance per bridge, while switches are hardware based and can have many.

5. Correct Answer A

Default (normal) Boot Sequence
Power on Router - Router does POST - Bootstrap starts IOS load - Check configuration
register to see what mode the router should boot up in (usually 0x2102 to read startupconfig
in NVRAM / or 0x2142 to start in "setup-mode") - check the startup-config file in
NVRAM for boot-system commands - load IOS from Flash.


6. Correct Answer D

http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#Assignment_of_CIDR_blocks

7. Correct Answer E

Cisco's proprietary VLAN tagging (ISL) has a maximum frame size of 1548 bytes.
IEEE 802.1q VLAN tagging has a maximum frame size of 1522 bytes.


8. Correct Answer B

The standard access lists are ranged from 1 to 99 and from 1300 to 1999 so only access
list 50 is a standard access list.


9. Correct Answers C and D

We can verify whether port security has been configured by using the “show runningconfig”
or “show port-security interface” for more detail. An example of the output of “show
port-security interface” command is shown below:


10. Correct Answer D

Sometimes, messages like this might appear in the router console:
%SNMP-3-CPUHOG: Processing [chars] of [chars]
They mean that the SNMP agent on the device has taken too much time to process a
request.



How did you go? very random selection huh :-)

let me know if you found any errors in the comments, more coming .

“Don't cry because it's over, smile because it happened.”
Dr. Seuss
 




Tuesday, January 10, 2017

Networking questions part 1

I'm going to try to submit questions at least once a month this year (hopefully more often)

Here's the first batch, enjoy....







1. What layer of the OSI Reference Model sends and receives bits and specifies the electrical, mechanical, procedural and functional requirements for maintaining a physical link between end systems?

A) Session
B) Transport
C) Network
D) Data Link
E) Physical


2. What Cisco IOS keyboard shortcut recalls the oldest command in the command history, beginning with the most recent command?

A) Ctrl+B
B) Ctrl+E
C) Ctrl+U
D) Ctrl+N
E) Ctrl+P


3. What does Router(config)# no access-list 1 command achieve?

A) Removes Access List 1
B) Disables ACL on interface 1
C) Nothing, this is not a Cisco command


4. When would an interface need a clock rate?

A) When the interface is DTE
B) When the interface is DCE


5, What is Cisco's default NAT table entry timeout (translation timeout)?

A) 1 hour
B) 12 hours
C) 24 hours
D) 36 hours
E) 48 hours


6. What is the maximum number of subnets given the following?

192.168.10.0 255.255.255.192
(Assume ip subnet-zero is enabled)

A) 4
B) 8
C) 16
D) 32
E) 64


7. What is port 21 used for?

A) FTP data
B) FTP program
C) Telnet
D) SMTP
E) TFTP


8. What does the term "Logical address" refer to?
A) MAC address
B) Physical address
C) IP address
D) Link-layer address


9. What is the maximum number of hosts you can assign to a class C network if it is not subnetted?

A) 1024
B) 254
C) 32
D) 512
E) 65025


10. A router has two Fast Ethernet interfaces and needs to connect to four VLANs in the local network. How can you accomplish this task, using the fewest physical interfaces and without decreasing network performance?

A. Use a hub to connect the four VLANS with a Fast Ethernet interface on the router.
B. Add a second router to handle the VLAN traffic.
C. Add two more Fast Ethernet interfaces.
D. Implement a router-on-a-stick configuration.










1. Correct Answer E

http://en.wikipedia.org/wiki/Physical_Layer

2. Correct Answer E

Keyboard Shortcut Action

Up Arrow Displays your previous commands.  (command history)
TAB Key Completes a partially typed CLI commands.
CTRL+Z Takes you back to Privileged EXEC Mode.

CTRL+A Places the cursor at the beginning of a line.
CTRL+E Places the cursor at the end of a line.
CTRL+R Redisplays the current command line.
CTRL+W Erases a word (behind the cursor).
CTRL+U Erases an entire line.


3. Correct Answer A

If you wish to remove an access-list, you use the no access-list (list #) command.

4. Correct Answer B

Cisco routers are DTEs by default (Data Terminal Equipment). The DCE (Data Circuit-Terminating Equipment) at the other end of the connection must supply a clock rate to the DTE.

5. Correct Answer C

When an entry is placed into the NAT table a timer begins, the duration of this timer is called the translation timeout, defaulted to 24 hours on Cisco routers.

6. Correct Answer A

192.168.10.0 is a class C address.  The subnet mask 255.255.255.192 implies 2 bits are borrowed.
22 = 4 subnets


7. Correct Answer B

File Transfer Protocol (FTP) is a network protocol used to copy files from one host to another over a TCP/IP-based network.
A client makes a TCP connection to the server's port 21. This connection remains open for the duration of the session called the control connection, with a second connection, called the data connection, opened by the server from its port 20 to a client port required to transfer file data.


8. Correct Answer C

A Logical address is normally a 32-bit IP address assigned to each host in an IPv4 network.

A Physical address is a unique 48-bit flat address normally burned into the ROM of the NIC card, and therefore cannot be changed. It is divided into 24-bit vendor code and 24-bit serial address.


9. Correct Answer B

For class C the number of bits for host address portion is 8. So 2^8 -2 = 256-2 = 254 hosts.

10. Correct Answer D

A router on a stick allows you to use sub-interfaces to create multiple logical networks on a
single physical interface.



How did you go? If you disagree with any of my answers or find errors, please leave a comment. More coming soon..stay tuned :-)


I remind myself every morning: Nothing I say this day will teach me anything. So if I'm going to learn, I must do it by listening.
Larry King

Tuesday, September 20, 2016

Networking Questions 2016 Part 5

Here are some more very random networking questions based around the CCNA type of exam head scratchers... :-)

1. What type of NAT allows you to map multiple unregistered IP addresses to a single registered IP address?

A) Static NAT
B) Dynamic NAT
C) Overloading (Port Address Translation)


2. Each port on a switch is a separate broadcast domain?

A) True
B) False


3. Inter-Switch Link and IEEE 802.1Q are types of...

A) Spanning Tree Protocol
B) Trunking method
C) Ethernet
D) Routing protocol


4. What statement is not correct when talking about a shared-medium Ethernet LAN?

A) The data frame broadcast delivery nature of Ethernet can have a negative affect on performance
B) Adding repeaters and hubs to an Ethernet network can increase latency
C) Ethernet is a best-effort delivery service
D) Collisions are caused by CSMA/CD on an Ethernet network


5. What TCP/IP layer are TCP and UDP protocols associated with?

A) Application
B) Host-to-Host
C) Internet
D) Network Access


6. What IOS command would you issue in privileged-mode to change the Cisco router configuration stored on TFTP?

A) config t
B) config mem
C) config net
D) config tftp





Dodo Australia |ADSL|Wireless Broadband|Mobiles|Internet|Phone|Electricity|





1. Answer: C

PAT (Port Address Translation) allows you to map multiple unregistered IP addresses to a single registered IP address.

2. Answer: B

Switches create separate collision domains but a single broadcast domain.

http://en.wikipedia.org/wiki/Broadcast_domain


3. Answer: B

Both Inter-Switch Link and IEEE 802.1Q are types of VLAN identification.  Inter-Switch Link (ISL) is a Cisco proprietary protocol whereas IEEE 802.1Q is a standard method of frame tagging.
4. Answer: D (did you get the "not"?)

Carrier Sense Multiple Access / Collision Detection (CSMA/CD) is a set of rules determining how network devices should respond when two devices try to use the shared medium simultaneously.

http://en.wikipedia.org/wiki/Carrier_sense_multiple_access_with_collision_detection

5. Answer: B

TCP and UDP protocols are associated with the Transport layer of the TCP/IP model, which is sometimes referred to as the "host-to-host transport layer".

http://en.wikipedia.org/wiki/Internet_Protocol_Suite


Internet protocol suite examples:
Application layer
BGP · DHCP · DNS · FTP · HTTP · IMAP · LDAP · MGCP · NNTP · NTP · POP · ONC/RPC · RTP · RTSP · RIP · SIP · SMTP · SNMP · SSH · Telnet · TLS/SSL · XMPP ·
Transport layer
TCP · UDP · DCCP · SCTP · RSVP 
Internet layer
IP  (IPv4 · IPv6) · ICMP · ICMPv6 · ECN · IGMP · IPsec  
Link layer
ARP · NDP · Tunnels  (L2TP · PPP · MAC  (Ethernet · DSL · ISDN · FDDI ·


6. Answer: C

To change the router configuration stored on TFTP you use configure network (config net)


More random question coming soon :-)


   “Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for.”

? Socrates


Monday, September 7, 2015

Random Cisco based networking questions - CCNA - Part 9

More network based questions and answers, part nine of the 2015 series, complete with wiki reference links for further reading :-)




1.  What TCP/IP layer are Telnet, FTP, TFTP and SMTP protocols associated with?

A) Application
B) Host-to-Host / Transport
C) Internet
D) Network Access


2. What is not a main switch function?

A) Address learning
B) Frame forwarding
C) Packet forwarding
D) Loop avoidance


3. What layer of the OSI model segments and reassembles data from upper-layer applications and brings them together in the same data stream?

A: Presentation
B: Session
C: Transport
D: Network
E: Data Link


4. VLAN trunk protocol is responsible for?

A) Tracking and monitoring VLANS
B) Consistent VLAN configuration
C) Trunking VLANs across mixed networks
D) Reporting New VLANs
E) All of the above

5. If you are trunking between non-Cisco switches what frame tagging standard should you adopt?

A) 802.1q
B) ISL
C) 802.3q
D) VTP


6. If your switch uses shared memory buffering, what would happen if a packet could not be delivered because of a busy destination port?

A) It would delay transmission of all packets in memory
B) It would be sent to the destination port anyway
C) It would wait in a queue while all other packets in memory are transmitted
D) It would drop the packet after an allocated time


7.What is the equivalent of the TCP/IP Network Access layer in the OSI Reference layer?

A) Network
B) Data Link
C) Data Link and Physical
D) Physical
E) Transport


8. What is the Spanning Tree forward delay?

A) The time that is spent in the Listening and Learning states
B) 50 seconds
C) Time taken for a switch to go from Listening to Forwarding
D) Time taken for a switch to go from Blocking to Forwarding




=======================================

A social trading platform at the top of its class. State-of-the-art software, excellent customer support and a trading platform that is not only reliable, but also enjoyable make eToro a top choice when looking for a Forex broker. 
 
eToro Forex Trading
 
===========================================

1. Answer: A

http://en.wikipedia.org/wiki/Internet_Protocol_Suite


2.  Answer: C 

Switches are layer 2 devices and do not look at layer 3 packets.

3. Answer: C

http://en.wikipedia.org/wiki/Transport_Layer

4. Answer: E

VLAN Trunking Protocol (VTP) is a Cisco proprietary protocol that manages the addition, deletion, and renaming of Virtual Local Area Networks (VLAN) on a network.

http://en.wikipedia.org/wiki/VLAN_Trunking_Protocol


5. Answer: A

ISL is a Cisco proprietary VLAN tagging protocol and therefore if you have a multi-vendor switch network you will need to choose the IEEE 802.1q standard instead of ISL.


6. Answer: C

The area of memory where the switch stores the data is called the memory buffer.
The memory buffer can use two methods for forwarding frames:
 

port-based memory buffering
shared memory buffering

In port-based memory buffering frames are stored in queues that are linked to specific incoming ports.

Shared memory buffering deposits all frames into a common memory buffer which all the ports on the switch share.


 7. Answer: C 

The link layer has the networking scope of the local network connection to which a host is attached. It is the lowest component layer of the Internet protocols, as TCP/IP is designed to be hardware independent. As a result, TCP/IP may be implemented on top of virtually any hardware networking technology.

http://en.wikipedia.org/wiki/TCP/IP_model#OSI_and_TCP.2FIP_layering_differences


8. Answer: A

Forward delay — The time that is spent in the listening and learning state, 15 sec by default, but you can tune the time to be between 4 and 30 sec.





Stay tuned for more coming soon :-)




Friday, September 4, 2015

Malware types explained.

The amount of cyber attacks is on the rise across the globe,  Here is a quick refresher on what the different types are.

Spyware.

 This malicious software keeps an eye on your computer use without your knowledge. It collects a variety of data, depending on its design. Some forms of this malware are actually legal, often bundled with free software; it monitors your web browsing habits, uploading the data to advertising servers.

Ransomware.


This new type of malware holds your computer or files hostage and demands a payment. Some forms may simply display a pop-up demanding money before you can continue using your computer. More harmful versions encrypt your files, rendering you helpless unless you’ve got backup.

The Trojan, or Trojan Horse. 


This type of malware disguises itself as a legitimate file. When you download and run the program, the malware runs in the background, allowing third parties to access your computer. This malware is often used to monitor activity on your computer, or to link your computer to a botnet.

The Virus. 


This malware copies itself by infecting other files. It can do many different things — watch in the background and steal your passwords, display advertisements, or just crash your computer — but its key characteristic is how it spreads: by infecting programs on your computer. When you run the program on another computer, the virus will infect programs on that computer, and so on.

The Worm.


 This malware spreads in a unique way. Rather than infecting files and relying on human activity to propagate, it spreads over computer networks of its own accord. It can do any number of harmful things once it infects a computer.

Malvertising. 


This term describes the use of online advertising to spread malware.


Dodo Australia - ADSL2+ Broadband - No Bundling Required


Tuesday, September 1, 2015

Random Cisco based networking questions - CCNA - Part 8

Here are another set of Random networking questions to ponder, good start for September :-)

I saw Bloke with a bumper sticker saying: "I am a veterinary surgeon, therefore I drive like an animal." Suddenly I realised how many gynecologists and proctologists there are on the roads.:-)




1. What is Cisco's default NAT table entry timeout (translation timeout)?

A: 1 hour
B: 12 hours
C: 24 hours
D: 36 hours
E: 48 hours


2. What layer of the OSI model is responsible for multiplexing upper-layer applications, establishing sessions and tearing down virtual circuits?

A: Presentation
B: Session
C: Transport
D: Network
E: Data Link


3. What is port 20 used for?

A: FTP data
B: FTP program
C: Telnet
D: SMTP
E: TFTP


4. Extended ACL allow you to filter Application layer traffic.

A: True
B: False


5. What command would you use to erase the startup config of a router?

A: erase nvram
B: erase flash
C: delete startup
D: erase startup
E: delete run


6. What is the reserved address space for a Class B network?

A) 10.0.0.0 - 10.255.255.255
B) 20.0.0.0 - 20.255.255.255
C) 172.16.0.0 - 172.31.255.255
D) 192.168.0.0 - 192.168.255.255
E) 208.168.0.0 - 208.168.255.255


7. What is responsible for ensuring a router is functional and the interfaces are present on booting?

A) Bootstrap
B) POST
C) ROM monitor
D) NVRAM
E) Configuration register


8. Store and forward switching method is best described by which of the following?

A) The entire frame is received before forwarding is commenced
B) Forwards frame after receiving destination address
C) Filters out collision packets by waiting for the first 64 bytes of data



 =========================================================

AZOD.com.au is a mobile phone and electronics company that is focused on delivering high quality products to Australian customers at affordable prices - Mobile phone, tablets, computers etc. We are constantly updating our product offering in line with advancements in technology and changes in consumer demands. Our primary focus is providing the best customer service in Australia. We provide hassle free returns or replacements on any items that are received faulty. We truly hope you have an excellent shopping experience with us and we will endeavor to answer all your questions and provide the best service we possibly can before, during and after your purchase from us. Thank you from all the staff here for supporting us and we hope you recommend your friends and family to come back and buy again. Keep an eye out for our weekly specials!


    =========================================================


1. Answer: C

When an entry is placed into the NAT table a timer begins, the duration of this timer is called the translation timeout, defaulted to 24 hours on Cisco routers.


2. Answer: C

http://en.wikipedia.org/wiki/Transport_Layer

3. Answer: A

File Transfer Protocol (FTP) is a network protocol used to copy files from one host to another over a TCP/IP-based network.
A client makes a TCP connection to the server's port 21. This connection remains open for the duration of the session called the control connection, with a second connection, called the data connection, opened by the server from its port 20 to a client port required to transfer file data.


4. Answer: A

To filter Application layer traffic using extended ACLs, first specify TCP, then the port number of the Application layer protocol.

5. Answer: D

To erase the startup configuration use the following command:

Router#erase startup-config
or
Router#erase startup


6. Answer: C 

http://en.wikipedia.org/wiki/Private_network#Private_IPv4_address_spaces

7.  Answer: B

POST (Power-on-self-test) stored in ROM performs a basic router health-check on booting.

8. Answer: A

Store and forward switching method is known as store and forward because the switch will store the incoming data frame in its internal buffer, then when the complete frame has been received the switch will then run a Cyclic Redundancy Check (CRC) against the frame. If the CRC passes, the switch will then look up the destination MAC Address in its MAC filter table to forward it on to its destination.



How did you go?  stay tuned for more coming soon :-)


Saturday, July 18, 2015

Random Cisco based networking questions - CCNA - Part 7

Here is another set of network based questions and answers to get the grey matter ticking.. have fun :-)




1. STP will work on which of the following devices?

A) Hub
B) Router
C) Switch
D) Repeater


2. What command would you use copy the current configuration to a TFTP host?

A) copy flash tftp
B) copy run tftp
C) copy tftp flash
D) copy nvram tftp


3. You are designing a subnet mask for the 172.22.0.0 network. You want 11 subnets with up to 3300 hosts on each subnet. What subnet mask should you use?

4. What would you do if you're locked out of a router because you forgot the password?

A) Call Cisco support
B) Issue the show run command to view the password
C) Perform the password recovery procedure
D) Press the reset button on the back of the router

5. What does Serial 0 is up, line protocol is down indicate?

A) Keepalive or framing issue
B) Carrier detect is not present
C) The interface is shutdown
D) The interface is functioning correctly


6. With full-duplex Ethernet no collisions can occur.

A) True
B) False


7. How would you disable CDP on a Cisco router or switch?

A) disable cdp
B) shutdown cdp
C) no cdp enable
D) no cdp run
E) You cannot disable CDP


8. What type of ACL is this and what is it performing?

Router(config)#access-list 150 deny tcp any host 172.32.14.2 eq 25

A) Standard ACL, deny all SMTP traffic to host 172.32.14.2
B) Standard ACL, deny all Telnet traffic to host 172.32.14.2
C) Extended ACL, deny all SMTP traffic to host 172.32.14.2
D) Extended ACL, deny all Telnet traffic to host 172.32.14.2
E) Named ACL, deny all SMTP traffic to host 172.32.14.2

9. What does the trace response N mean?

A) Network unreachable
B) Not forwarded due to ACL restriction
C) Protocol unreachable
D) Port could not be reached


10. What is the maximum size of an Ethernet packet when the frames have ISL tagging?(Include the size of headers and CRC)

A: 64 bytes
B: 1500 bytes
C: 1518 bytes
D: 1522 bytes
E: 1548 bytes







Dodo Australia - ADSL2+ Broadband - No Bundling Required






1. Correct Answer C 

The Spanning Tree Protocol (STP) is a Data Link layer protocol that ensures a loop-free topology for a bridged LAN. 

Therefore STP will only operate on layer 2 devices such as bridges and switches.


2. Correct Answer B

The current configuration is known as the running-configuration (or 'run' for short). The copy command is in the format "copy " therefore copy from run to the tftp host (i.e. copy run tftp).


3. Correct Answer 255.255.240.0

4. Correct Answer C

To reset the password on a router interrupt the boot sequence, change the configuration register, reboot, copy startup-config to running-config and change the password.  Then reset the configuration register.


5. Correct Answer A

The various states of an interface:

Serial0 is up, line protocol is up - The interface is functioning correctly.

Serial0 is down, line protocol is down - This message usually represents a physical interface problem. The cable may be disconnected. This can also occur if this interface is connected to another router whose interface has been shutdown.

Serial0 is up, line protocol is down - The Physical layer connectivity is not the issue. The line protocol being down is either a clocking issue (keepalives) or a mismatch of the frame types being used on connected devices.

Serial0 is administratively down, line protocol is down - The interface has been manually shutdown using the shutdown command.


6. Correct Answer A

http://en.wikipedia.org/wiki/Full-duplex_Ethernet


7. Correct Answer D

To turn off CDP use the no cdp run command from the global configuration mode.


8. Correct Answer C

Router(config)#access-list 150 deny tcp any host 172.32.14.2 eq 25

Port 25 is SMTP. This extended ACL denies traffic from any source to host 172.32.14.2.


9. Correct Answer A

Cisco Trace Command Response Codes

Response Meaning
 * Timed out
 !H router received packet but did not forward it
 N network unreachable
 P protocol unreachable
 U port unreachable


10. Correct Answer: E

Cisco's proprietary VLAN tagging (ISL) has a maximum frame size of 1548 bytes.
IEEE 802.1q VLAN tagging has a maximum frame size of 1522 bytes.




Stay tuned more to come - have a great day.


I remind myself every morning: Nothing I say this day will teach me anything. 
So if I'm going to learn, I must do it by listening.
Larry King

Tuesday, May 12, 2015

Random Cisco based networking questions - CCNA - Part 6

 Here's another half a dozen random networking questions to get the grey matter ticking :-)



1. Which switching mode is the most likely to forward frames containing errors?

A) FIFO
B) Modified Cut-Through
C) Store-and-Forward
D) Cut-Through
E) Fragment-Free


2. Where would you place standard access lists?

A) As close to the destination as possible
B) As close to the source as possible


3. Frame tagging is used to identify...

A) The intended recipient of a frame
B) The IP address of the frame
C) The source of the frame
D) The VLAN ID of the frame
E) The trunking method


4. When each network segment uses a different subnet mask this is referred to as...

A) Classful routing
B) Classless routing


5. A CIDR value of /12 equates to what subnet mask?

A) 255.0.0.0
B) 255.128.0.0
C) 255.192.0.0
D) 255.224.0.0
E) 255.240.0.0


6. How would you copy the IOS to a TFTP server?

A) Router(config)#copy ram tftp
B) Router(config)#copy tftp flash
C) Router#copy flash tftp
D) Router#copy tftp flash
E) None of the above





1.  Answer D 

Cut-Through switching is also referred to as Fast Forward.

When in cut-through mode the switch waits for the destination MAC Address to be received. Once the MAC Address is known the switch refers to its MAC filter table to determine which port the frame should be forwarded out. The switch forwards the frame even before the entire frame has arrived.

Frames with and without errors are forwarded in cut-through switching, leaving the error detection of the frame to the intended recipient.


2. Answer A

Standard access lists only filter based on source address so they have to be placed as close to the destination as possible.


3. Answer D

Frame tagging is used to tags frames on trunked links to identify what VLAN they belong to.

http://en.wikipedia.org/wiki/Virtual_LAN#Protocols_and_design


4. Answer B

http://en.wikipedia.org/wiki/Classful_network

5. Answer E

http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#Assignment_of_CIDR_blocks

6. Answer C

It is a good practice to backup your existing system image to the TFTP server using the copy flash tftp command.  I personally use Pumpkin or Solarwinds TFTP servers, but there are may other types around.




 Stay tuned for more updates, and let me know if you find these useful or any errors 

Please share around if you find these questions of value.

   “Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for.”
? Socrates





Saturday, April 18, 2015

Random Cisco based networking questions - CCNA - Part 5

Another half a dozen random networking questions for 2015 with a more routing protocol focus this time, 
enjoy :-).


1. Triggered updates (in a routing protocol) are used to speed the convergence process?

A) True
B) False

2. What class of routing protocol is EIGRP?

A) Link state
B) Distance vector
C) Hybrid

3. What is the administrative distance of OSPF?

A) 110
B) 1
C) 120
D) 90
E) 100

4. What command would you use to erase the startup config of a router?

A) erase nvram
B) erase flash
C) delete startup
D) erase startup
E) delete run

5. What is required for VTP to communicate VLAN information between switches?

A) VTP domain must be identical on all switches
B) One switch needs to be a VTP server
C) A router is required
D) Both A and B are correct
E) None of the above

6. What is the structure of the MAC address?

A) 32 bit network ID + 32 bit host ID
B) 14 bit vendor code + 6 bit serial number
C) 24 bit vendor code + 24 bit serial number
D) Network + Host


Searching for what type of nic card you have in your PC? The easiest way is with the MAC address ( not the kind shown below :-)

Image result for MAC

A great link you should bookmark for Vendor/Ethernet/Bluetooth MAC Address Lookup and Search at MACFIND.  This allows you to match your MAC address to its vendor or a vendor to a MAC - I find it very useful :-).





1.  Answer A

A triggered update is sent immediately in response to a change in the network (e.g. A link going down). The router detecting the change immediately sends an update message to its adjacent routers, which then generate their own triggered updates. This process continues until the network converges. Triggered updates occurs independently from the regular routing updates and are intended to speed the convergence process.

2. Answer C

EIGRP is a hybrid routing protocol which uses a combination of distance vector and link state methods to determine the best path. EIGRP is considered an advanced distance vector protocol because EIGRP sends out only incremental updates.

3. Answer A

Administrative distance is used by Cisco routers to select the best path when there are two or more different routes to the same destination from two different routing protocols. Administrative distance defines the reliability of a routing protocol.

Routing Protocol Administrative distance
Directly connected interface 0
Static route out an interface 1
Static route to next-hop address 1
DMNR - Dynamic Mobile Network Routing 3
EIGRP summary route 5
External BGP 20
Internal EIGRP 90
IGRP 100
OSPF 110
IS-IS 115
Routing Information Protocol (RIP) 120
Exterior Gateway Protocol (EGP) 140
On Demand Routing (ODR) 160
External EIGRP 170
Internal BGP 200
Floating Static Route (ex. DHCP-learned) 254
Unknown 255 

(Note : An AD of 255 will cause a router to dump this route from its table)

4. Answer D

To erase the startup configuration use the following command:

Router#erase startup-config
, or

Router#erase startup

5. Answer D

VTP requires the following to communicate VLAN information between switches.  The VTP domain must be identical on all switches and one switch needs to be a VTP server.

6. Answer C

MAC Addresses are 48 bits long and consist of a 24 bit vendor code and a 24 bit serial number.


More coming, please leave comments if you find any errors or want to debate an answer :-)


Saturday, April 11, 2015

Random Cisco based networking questions - CCNA - Part 4

Welcome to part 4 of the random networking questions (Cisco based) series.  This set has a few extra spanning tree questions with detailed explanations, have fun :-)


1. What is the default time Bridge Protocol Data Units (BPDUs)  are sent and received by switches?

A) 2 seconds
B) 10 seconds
C) 30 seconds
D) 60 seconds

2. What does the following statement do?

Switch(config-if)#spanning-tree portfast disable

A) Disables spanning-tree on the switch port
B) Disable spanning tree on the switch
C) Changes the spanning-tree switch to portfast mode

3. What determines network addresses (IP) when data link addresses (MAC) are known?

A) Ping
B) ICMP
C) ARP
D) RARP

4. The Cisco Spanning Tree protocol is compatible with IEEE 802.1d?

A) True
B) False

5. What type of switch port can belong to multiple VLANS?

A) Access port
B) Trunk port
C) Voice access port
D) No port can belong to multiple VLANs

6.What will be the IP address of the second subnet given the following?

172.16.0.0 255.255.224.0 (Assume ip subnet-zero is enabled)

A.) 172.16.0.0
B.) 172.16.8.0
C.) 172.16.16.0
D.) 172.16.32.0
E.) 172.16.64.0



Speaking of IP, I sometimes use a simple little site that gives you your own IP and other internet connectivity details   - IP Chicken - handy link  :-)




http://paytoo.com/?referral_id=7838431


1. Answer A

http://en.wikipedia.org/wiki/Spanning_tree_protocol#Bridge_Protocol_Data_Units_.28BPDUs.29

Bridge Protocol Data Units (BPDUs) frames are sent out as multicast messages regularly at multicast destination MAC address 01:80:c2:00:00:00. When Bridge Protocol Data Units (BPDUs) are received, the Switch uses a mathematical formula called the Spanning Tree Algorithm (STA) to know when there is a Layer 2 Switch loop in network and determines which of the redundant ports needs to be shut down.

Three types of Bridge Protocol Data Units (BPDUs) are Configuration BPDU (CBPDU), Topology Change Notification (TCN) BPDU and Topology Change Notification Acknowledgment (TCA).

2.  Answer A

The time Spanning Tree Protocol (STP) takes to transition ports over to the Forwarding state can cause problems. PortFast is a Cisco network function which can be configured to resolve this problem by disabling STP from the switchport, thus making it come up quicker.

3. Answer D

Reverse Address Resolution Protocol (RARP) is used by a host computer to request its IPv4 address from an administrative host (DHCP server), it provides the server with its hardware address (MAC address).

http://en.wikipedia.org/wiki/Reverse_Address_Resolution_Protocol


NOTE: Dynamic Host Configuration Protocol (DHCP) is a client/server protocol that automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask and default gateway.

4.  Answer B

The original Spanning-Tree protocol was created by Digital Equipment Corporation (DEC) which is now part of Compaq. The IEEE created its own version called IEEE 802.1d which is not compatible with the original version.

Cisco enhanced the original 802.1d specification with features such as Uplink Fast, Backbone Fast, and Port Fast to speed up the convergence time of a bridged network. However these new features are proprietary, and can only be configured on Cisco switches.

5. Answer B

Ethernet interfaces can be configured either as access ports or trunk ports. Trunks carry the traffic of multiple VLANs over a single link and allow you to extend VLANs across the network.

http://en.wikipedia.org/wiki/Virtual_LAN

6. Answer D 

The subnet block size is 256 - 224 = 32
The first subnet will be subnet zero 172.16.0.0
The second subnet will be 172.16.32.0




How did you go? I find a quick review of the questions and answers helps cement the basics and refresh the memory  - I hope these help, stay tuned for more...

The secret of life is not to do what you like but to like what you do.
By: Anonymous