NEW
Font size
WorksheetsCCNA2 Module 2-7
Total questions: 56
Worksheet time: 28mins
A switch forwards frames based on:
Source IP address
Destination MAC address
Source MAC address
VLAN number
The term 'ingress' refers to:
A frame leaving an interface
A frame entering an interface
A broadcast
An encapsulated frame
What table stores learned MAC addresses and associated ports?
ARP table
Routing table
CAM table
DNS cache
If a switch receives a frame with a destination MAC not in its table, it:
Drops it
Floods it out all ports except ingress
Sends it to the router
Broadcasts it only to VLAN 1
Collision domains are eliminated when:
Using hubs
Using full-duplex links
Using half-duplex links
Using repeaters
A broadcast domain is broken by which device?
Switch
Repeater
Router
Bridge
Increasing the number of Layer 2 switches in a LAN:
Reduces broadcast traffic
Expands the broadcast domain
Reduces collision domains
Blocks broadcasts by default
The default duplex and speed settings use:
Manual configuration
Auto-negotiation
Full-duplex only
Half-duplex only
The function of a MAC address table is to:
Map IP addresses to MAC
Map VLANs to ports
Map source MACs to ports
Track broadcast frames
Switches flood frames when:
A MAC is unknown
The port is full
The VLAN is inactive
Auto-MDIX is disabled
What happens when two devices are set to half-duplex?
The link fails
Collisions occur
Broadcasts increase
Frames drop silently
VLANs are used to:
Extend broadcast domains
Segment networks logically
Replace IP subnets
Eliminate routers
Which VLAN type is used for VoIP phones?
Data VLAN
Management VLAN
Voice VLAN
Native VLAN
A trunk link allows:
Only one VLAN per link
Multiple VLANs across switches
Layer 3 routing
Voice VLANs only
The trunk encapsulation type commonly used is:
ISL
PPP
802.1Q
HDLC
The Native VLAN is the one that:
Always uses VLAN 99
Remains untagged on trunk links
Is deleted after reboot
Has no IP addressing
VLAN configuration data is stored in:
startup-config
running-config
vlan.dat
nvram.txt
Command to create VLAN 20 named 'Students':
vlan 20 name Students
name vlan 20 Students
vlan 20 -- name Students
set vlan 20 Students
DTP's purpose is to:
Negotiate trunk links automatically
Exchange VLAN information
Assign IP addresses
Prevent loops
Command to verify VLANs:
show vlan brief
show vlans
show vlan.dat
show vlan id
Which of the following is required for inter-VLAN routing?
Router
Switch
DHCP assignment across VLANs
Frame tagging removal
To reset a trunk port to access mode:
switchport nonegotiate
switchport mode access
no trunk
switchport reset
The router-on-a-stick method uses:
Physical interfaces per VLAN
Subinterfaces on one physical link
Multiple switches
Access ports only
Command to create subinterface for VLAN 20:
interface g0/0.20
interface vlan 20
vlan-sub 20
int trunk 20
The encapsulation command for 802.1Q tagging:
encapsulation 802.1d
encapsulation dot1Q
switchport trunk allowed vlan
encapsulation trunk vlan
Command to assign an IP to a subinterface:
ip address
ip route
ip helper-address
vlan ip address
The default gateway for hosts in VLAN 30 should be:
Router subinterface IP for VLAN 30
VLAN 1 IP
Trunk interface IP
Management VLAN IP
Why use a Layer 3 switch for inter-VLAN routing?
For lower latency and higher throughput
Because routers cannot handle VLANs
To eliminate DHCP need
To expand Layer 2 domains
The command ip routing on a Layer 3 switch:
Enables VLAN creation
Enables routing between VLANs
Creates a default route
Configures NAT
To verify router subinterfaces, use:
the 'show interfaces' command
the 'ping' command
the 'traceroute' command
the 'configure terminal' command
The native VLAN on a router subinterface should:
Be tagged
Be untagged
Not exist
Use VLAN 1 only
Which command is used to display a summary of the IP interfaces on a device?
show vlan brief
show ip interface brief
show vlans
show subinterface
Inter-VLAN routing requires:
DHCP
Trunk link between switch and router
Access link
Static MAC entries
Incorrect encapsulation VLAN number will cause:
No communication between VLANs
Broadcast storm
DHCP errors
Duplicate MACs
STP prevents:
IP conflicts
Routing loops
Layer 2 loops
VLAN misconfigurations
The BID includes:
Bridge priority + MAC address
IP address + MAC
VLAN ID + Interface ID
Serial number
The device with the lowest Bridge ID (BID) becomes the:
Root Bridge
Designated Bridge
Backup Switch
Root Port
Which port connects closest to the root bridge?
Root Port
Designated Port
Alternate Port
Trunk Port
What happens when a link fails in STP?
The network halts
STP recalculates and unblocks alternate ports
All VLANs shut down
Broadcast storm occurs
Which port type is always in a forwarding state on the root bridge?
Root Port
Alternate Port
Designated Port
Which protocol provides faster convergence than STP?
RIPv2
RSTP
PVST
OSPF
PortFast is used for:
Uplink redundancy
Access ports for end devices
Trunk ports
Root bridge
BPDU Guard protects the switch by:
Shutting a port that receives unexpected BPDUs
Blocking all broadcasts
Recalculating topology
Disabling trunking
RSTP port states are:
Blocking, Listening, Forwarding
Discarding, Learning, Forwarding
Idle, Forwarding, Listening
Down, Listening, Active
Default path cost in STP is based on:
MAC address
Link speed
VLAN number
Hop count
The main purpose of DHCP is to:
Resolve MAC addresses
Assign IP configuration automatically
Assign DNS names
Route packets
The DHCP DORA process stands for:
Discover, Offer, Request, Acknowledge
Detect, Obtain, Renew, Apply
Deliver, Offer, Request, Accept
Discover, Obtain, Release, Apply
Command to exclude addresses from a DHCP pool:
ip dhcp reserve
ip dhcp excluded-address
ip dhcp block
ip exclude pool
Command to create a DHCP pool named 'LAN1':
dhcp pool LAN1
ip dhcp pool LAN1
pool LAN1 dhcp
ip dhcp LAN1
To define the subnet for a DHCP pool:
network
ip address
interface vlan
pool subnet
The command to set a default gateway in a DHCP pool:
default-gateway
router
ip default-router
default-router
Command to verify active DHCP bindings:
show dhcp clients
show ip dhcp binding
show ip dhcp pool
show dhcp lease
A router acting as DHCP relay uses which command?
ip dhcp-relay
ip helper-address
ip relay dhcp
ip dhcp forward
The DHCP OFFER message is sent by:
Client
Server
Relay
Gateway
A DHCP pool without an excluded address range might cause:
Duplicate IP assignments
DNS failure
Subnet mask mismatch
DHCP messages operate at which transport layer protocol?
TCP
UDP
ICMP
IP
