VLANs and Inter-VLAN Routing

You are configuring VLANs on a switch and need to assign a port to VLAN 10. Which command should you use?
Switchport mode access
Switchport access vlan 10
Vlan access-mode 10
Interface vlan 10
In a scenario where you have multiple VLANs, what is the primary purpose of Inter-VLAN routing?
To allow communication between different switches
To allow communication between different VLANs
To assign IP addresses dynamically
To monitor network traffic
Which device is typically used to perform Inter-VLAN routing?
Switch
Router
Hub
Repeater
What type of interface is used on a router for Inter-VLAN routing?
Access Interface
Trunk Interface
Loopback Interface
Static Interface
When configuring a router for Inter-VLAN routing using subinterfaces, what is the purpose of the encapsulation dot1q command?
It sets the IP address of the subinterface.
It assigns a VLAN to the subinterface.
It disables VLAN tagging on the subinterface.
It enables routing on the subinterface.
If Host A in VLAN 10 cannot communicate with Host B in VLAN 20, which configuration aspect should you check first?
IP address configuration on Host A
VLAN assignment on the switch port
Routing configuration on the router
MAC address table on the switch
A switch port is set to switchport mode trunk. What is the function of this port?
It can only carry traffic for one VLAN.
It provides power to end devices.
It can carry traffic for multiple VLANs.
It connects to end-user devices.
You have a router-on-a-stick configuration for Inter-VLAN routing. What must you ensure about the switch port connected to the router?
It is an access port.
It is a trunk port.
It is a routed port.
It is a management port.
What protocol is commonly used to prevent loops in a network with VLANs?
OSPF
RIP
STP
BGP
What is the main difference between a standard VLAN and a voice VLAN?
Standard VLANs use higher bandwidth.
Voice VLANs prioritize VoIP traffic.
Standard VLANs are used for video traffic.
Voice VLANs do not support IP traffic.
In a switch configuration, what does the command switchport trunk native vlan 99 do?
It creates VLAN 99.
It sets VLAN 99 as the native VLAN for the trunk port.
It removes VLAN 99 from the trunk.
It disables VLAN 99.
What is the purpose of a native VLAN in a trunking configuration?
To handle untagged traffic
To provide a management interface
To prioritize VoIP traffic
To segregate multicast traffic
In a switch configuration, which command would you use to view all VLANs on the switch?
Show running-config
Show vlan brief
Show interfaces trunk
Show ip interface
Which protocol is used to dynamically distribute VLAN information to switches in a network?
STP
DTP
VTP
LLDP
In a multi-switch environment, which protocol can be used to ensure that VLAN information is consistent across all switches?
OSPF
VTP
OSPF
BGP
When configuring Inter-VLAN routing on a Layer 3 switch, what must you configure to enable routing between VLANs?
Access lists
VLAN interfaces (SVIs)
Static routes
Trunk ports
In a Layer 3 switch, what does the acronym SVI stand for?
Static VLAN Interface
Switch Virtual Interface
Secure VLAN Interface
Standard VLAN Interface
What is the first step in troubleshooting Inter-VLAN routing issues?
Check VLAN assignments on switch ports
Verify IP address configuration on hosts
Check routing configurations on the router
Verify trunk link configurations
You have configured Inter-VLAN routing on a router, but hosts in different VLANs cannot ping each other. What might be the issue?
The router's interfaces are down.
Incorrect IP addresses on the hosts.
VLANs are not allowed on the trunk link.
STP is blocking the link.
Which layer of the OSI model is responsible for Inter-VLAN routing?
Data Link Layer
Network Layer
Transport Layer
Application Layer
What does a trunk link between switches typically carry?
Only management traffic
Traffic for a single VLAN
Traffic for multiple VLANs
Only broadcast traffic
In a Layer 3 switch, how do you enable routing for VLAN 20?
Ip routing
Interface vlan 20
Switchport access vlan 20
Router ospf
You need to verify which VLANs are allowed on a trunk link. Which command should you use?
Show vlan brief
Show interfaces trunk
Show running-config
Show ip interface brief
What does the switchport mode dynamic auto command do?
Sets the port as an access port.
Sets the port as a trunk port.
Negotiates trunking with the connected device.
Disables trunking on the port.
What is the default VLAN on most Cisco switches?
VLAN 10
VLAN 99
VLAN 1
VLAN 100
When configuring a router for Inter-VLAN routing, why might you use subinterfaces?
To simplify routing table entries
To increase router performance
To handle multiple VLANs on a single physical interface
To secure VLAN traffic
You are asked to restrict a VLAN to a specific set of ports on a switch. Which command would you use?
Switchport trunk allowed vlan 10
Switchport mode access
Switchport access vlan 10
Vlan 10
In a Layer 3 switch, how do you assign an IP address to VLAN 30?
Interface vlan 30
Ip address 192.168.30.1 255.255.255.0
Switchport access vlan 30
Both A and B
You configured a trunk link between two switches, but VLAN 20 traffic is not passing through. What could be the problem?
VLAN 20 is not created on the switches.
The trunk link is down.
VLAN 20 is not allowed on the trunk.
The port is in access mode.
Which command enables trunking on a Cisco switch port?
Switchport mode access
Switchport mode trunk
Switchport access vlan 10
Vlan trunk enable
When configuring a router-on-a-stick setup, which command assigns VLAN 30 to a subinterface?
Switchport access vlan 30
Encapsulation dot1q 30
Ip address 192.168.30.1 255.255.255.0
Interface vlan 30
How can you verify the IP address assigned to a VLAN interface on a switch?
Show vlan brief
Show interfaces vlan 30
Show running-config
Show ip interface brief
What does a Layer 2 switch use to forward frames between VLANs?
Routing table
MAC address table
ARP table
IP address table
What must be configured on a switch port to connect a router for Inter-VLAN routing?
Access mode
Trunk mode
Loopback mode
Static mode
In a multi-VLAN environment, which feature on a switch helps to prevent unauthorized devices from accessing the network?
VTP
Trunking
VLAN tagging
Port security
Which of the following commands would you use to delete a VLAN from a switch?
Delete vlan 10
Remove vlan 10
Shutdown vlan 10
No vlan 10
If you need to prioritize voice traffic on a specific VLAN, which command would you use?
Vlan voice
Mls qos trust dscp
Switchport voice vlan 10
Vlan qos
When configuring Inter-VLAN routing on a Layer 3 switch, what is the command to enable IP routing?
Switchport mode routing
Interface vlan 10
Router rip
Ip routing
What is the purpose of the spanning-tree portfast command in a VLAN environment?
To speed up the convergence of STP
To allow an interface to immediately transition to the forwarding state
To disable STP on a port
To prioritize voice traffic
In a router-on-a-stick configuration, why is it important to use different subinterfaces for each VLAN?
To segregate traffic between VLANs
To simplify the routing table
To increase router performance
To secure the router
You configured a new VLAN on a switch, but hosts in that VLAN cannot communicate with each other. What might be the issue?
The VLAN is not created on the switch.
The switchport mode is not set to access.
The switchport mode is not set to trunk.
The VLAN is not allowed on the trunk.
How can you view the IP routing table on a Layer 3 switch?
Show interfaces trunk
Show ip route
Show vlan brief
Show ip interface
What is the effect of the command vtp mode transparent on a switch?
It disables VTP on the switch.
It allows the switch to forward VTP messages but not participate in VTP.
It sets the switch as a VTP server.
It sets the switch as a VTP client.
In a VLAN environment, which command is used to enable DHCP snooping on a switch?
Switchport access vlan 10
Ip dhcp snooping
Spanning-tree portfast
Vlan dhcp snooping
When configuring a trunk link, which command would you use to specify which VLANs are allowed on the trunk?
Vlan allowed
Switchport mode trunk
Switchport access vlan
Switchport trunk allowed vlan
If a switch port is configured as switchport mode access, which VLAN does it belong to by default?
VLAN 10
VLAN 99
VLAN 100
VLAN 1
You are configuring a new switch and need to assign it a management IP address. Which interface should you use?
Physical interface
Loopback interface
VLAN interface
Trunk interface
When configuring Inter-VLAN routing, why is it important to ensure that each VLAN has a unique IP subnet?
To simplify VLAN configuration
To prevent IP conflicts
To increase network performance
To allow VLAN tagging
In a Layer 3 switch, how do you create a new VLAN interface for VLAN 20?
Vlan 20
Interface vlan 20
Switchport access vlan 20
Vlan interface 20
You have multiple VLANs configured on a switch. How do you ensure that traffic from a specific VLAN is prioritized over others?
Use VLAN tagging
Configure QoS settings
Use STP
Enable trunking
{"name":"VLANs and Inter-VLAN Routing", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"You are configuring VLANs on a switch and need to assign a port to VLAN 10. Which command should you use?, In a scenario where you have multiple VLANs, what is the primary purpose of Inter-VLAN routing?, Which device is typically used to perform Inter-VLAN routing?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Make your own Survey
- it's free to start.