7.2.11 Basic Switch Configuration
Which of the following is the open standard for tagging Layer 2 frames? - NDP - RFC1918 - ARP - 802.1q
802.1q 802.1q is the open standard for tagging Layer 2 frames and is used for implementing trunk porting. RFC1918 is used to create IP addresses on a private network. ARP (Address Resolution Protocol) works at Layer 3 to establish the MAC address that's linked to the gateway's IP address. NDP (Neighbor Discovery Protocol) works for address resolution with IPv6.
Which of the following protocols prescribes what to do when a data channel is in use on a half-duplex device? - CSMA/CD - Auto-MDI-X - ARP - NDP
CSMA/CD Carrier Sense Multiple Access/Collision Detection (CSMA/CD) is a protocol used to prescribe what to do when a data channel is in use on a half-duplex device. Those steps are to send a jam signal, wait a random amount of time, attempt to resend the frame, and repeat until the channel is clear and the transmission is complete. Address Resolution Protocol (ARP) is a protocol used to establish associations between a MAC address and a given IP address. Neighbor Discovery Protocol (NDP) is a protocol used for address resolution with IPv6. Auto-MDIX, or auto-medium dependent crossover, is a line-sensing port that automatically decides which type of cable configuration is needed for a connection.
What does the ip address dhcp command allow you to do? - Send the DHCP server address for all connected devices. - Configure a switch to act as a DHCP server. - Specify the DHCP relay server for forwarding DHCP packets. - Configure a switch to obtain an IP address from a DHCP server.
Configure a switch to obtain an IP address from a DHCP server. You can use the ip address dhcp command to configure a switch or router to get its IP address from a DHCP server. You can configure the DHCP server to deliver the default gateway and DNS server addresses to a Cisco device as well. A manually configured default gateway address overrides any address received from the DHCP server.
In which type of device is a MAC address table stored? - Repeater - Router - Hub - Switch
Switch A Layer 2 switch stores MAC addresses in a table, which the switch uses to know where to forward frames. A router is a Layer 3 device and stores ARP tables, not MAC address tables. A hub cannot learn or store MAC addresses. They are Layer 1 devices. A repeater is a Layer 1 device that boosts a signal by electrically amplifying it. A repeater does not store MAC address tables.
Which of the following is the protocol used for address resolution when you switch from IPv4 to IPv6? - NDP - CSMA/CD - ARP - Auto-MDIX
NDP Neighbor Discovery Protocol (NDP) is the protocol that replaced ARP in IPv6 and is used for address resolution. Address Resolution Protocol (ARP) is used for address resolution with IPv4. Carrier Sense Multiple Access/Collision Detection (CSMA/CD) is a protocol used to prescribe what to do when a data channel is in use on a half-duplex device. Auto-MDIX, or auto-medium dependent crossover, is a line-sensing port that automatically decides which type of cable configuration is needed for a connection.
You are configuring a switch so that you can manage it using PuTTY from the same network segment. On the switch, you enter the following commands: switch#config terminal switch(config)#interface vlan 1 switch(config-if)#ip address 192.168.1.10 255.255.255.0 Will this configuration work? - No. The switch needs to obtain an IP address from the DHCP server using the ip address dhcp command. - No. The no shutdown command needs to be entered. - Yes. The switch can now be accessed by PuTTY using the IP address 192.168.1.10. - No. The ip default-gateway command needs to be set.
No. The no shutdown command needs to be entered. By default, the Vlan1 interface is set to administratively down, preventing remote access. Use the following commands to configure the switch's IP address and allow remote management: switch#config terminal switch(config)#interface vlan 1 switch(config-if)#ip address 192.168.1.10 255.255.255.0 switch(config-if)#no shutdown Because the switch is being accessed from the same network segment, the ip default-gateway command doesn't need to be used. The ip address dhcp command only allows the switch to obtain an IP address using DHCP.
A switch receives a frame with a destination MAC address that is not found in its MAC address table. What happens next? - The frame is replicated and sent to every active port on the switch except the source port. - The frame is rejected and returned to the source host. - The frame stops at the switch and is not forwarded until the destination MAC address is manually added to the MAC address table. - The frame is replicated and sent to every active port on the switch.
The frame is replicated and sent to every active port on the switch except the source port. When a switch receives a frame with a destination MAC address that is not found in its MAC address table, the switch replicates the frame and sends it to every active port on the switch except the source port. The frame is replicated, but it is not sent to every active port on the switch. It is sent to every one except the port the frame came from. The frame is not rejected and returned. The frame does not stop at the switch until the destination MAC address is manually added to the table.
You run a small network for your business that has a single router connected to the internet and a single switch. You keep sensitive documents on a computer that you would like to keep isolated from other computers on the network. Other hosts on the network should not be able to communicate with this computer through the switch, but you still need to access the network through the computer. Which of the following should you use in this situation? - Spanning Tree - VPN - Port security - VLAN
VLAN You should define virtual LANs (VLANs) on the switch. With a VLAN, a switch port is associated with a VLAN, and only devices connected to ports that are members of the same VLAN can communicate with each other. You can use routers to allow communication between VLANs if necessary. Use a virtual private network (VPN) to connect two hosts securely through an unsecure network (such as the internet). VPN tunneling protocols protect data as it travels through the unsecure network. Spanning Tree is a switch feature that allows redundant paths between switches. Port security is a method of requiring authentication before a network connection is allowed.
For which of the following devices does a voice VLAN prioritize traffic? - Layer 3 switch - Hub - VoIP phone - Bridge
VoIP phone A VoIP phone is a phone that transmits sound over the internet. It works best when a voice VLAN is created to prioritize its traffic. A hub is a device that broadcasts data to every computer that is connected to it. A Layer 3 switch is a device that can provide all the functions of a Layer 2 switch along with routing. A bridge is a device that creates a single network from multiple network segments.
Which command would you use on a switch to enable management from a remote network? - ip address 192.168.10.185 255.255.255.0 - ip address dhcp - no shutdown - ip default-gateway 192.168.10.185
ip default-gateway 192.168.10.185 To enable management from a remote network, configure the default gateway. To do so, use the following command in global configuration mode: switch(config)#ip default-gateway IP_address