Switches Flashcards
How many broadcast domains and collision domains does a switch have?
one broadcast, many collision
Where do switches store MAC addresses?
CAM table
If a device’s MAC Address is not stored in the CAM table, what does the switch do the first time the device with the new MAC address communicates?
stores the source address
What type of Carrier Sense Multiple Access does Ethernet-based systems use?
CSMA/CD
What is flooding?
sending data to all ports except source port
What is an ASIC?
application specific integrated circuit
What type of Carrier Sense Multiple Access does wireless systems use?
CSMA/CA
How many broadcast domains and collision domains do hubs have?
one broadcast, one collision
What symbol can be used to filter results in IOS?
(pipe)
The command “show mac address-table” shows only the MAC addresses on directly connected devices. True or false?
False
Which command is used to show directly connected Cisco devices?
show cdp neighbors
How would you enable SSH on a switch device?
enter configuration
ip domain-name “domain-name”
crypto key generate rsa
transport input telnet SSH
What command can be used to prevent timeouts when logged onto a IOS device?
no exec-timeout
How would you assign a static IP address to a switch?
ip address (ip address) (subnet mask)
What is the default speed and duplex of FastEthernet?
100 mbps, half duplex
Which of the following will allow you to send OR receive at any given time, but will not allow you to do both simultaneously?
half duplex
When using Fast Ethernet, it is best practice to enable Auto-detection on key devices. True or false?
False
When using Fast Ethernet on key devices, what is the best practice for speed and duplex?
100 mbps, full duplex
What are the two primary styles of port security?
Limit what MAC addresses exist on an interface
Limit quantity of MAC addresses per interface
What are the three types of responses for port security?
protect, restrict, shutdown
What does the security response “shutdown” do?
the port will be disabled till reenabled
What does the security response “protect” do?
the port will prevent other devices from accessing the port
What does the security response “restrict” do?
the port will prevent other devices and log information
After the port is enabled as an access port, which command is used to limit MAC addresses to the port?
switchport port-security maximum (x)
What is the maximum default MAC address when port security is enabled?
1
Which of the following will enable port security on an interface to learn a sticky MAC address?
switchport port-security mac-address sticky
When examining an interface, what do input errors and CRC usually indicate?
bad interface, cabling issue
When examining an interface, what do collisions usually indicate?
duplex mismatch
How do late collisions usually occur?
cable exceeding 100m or too many devices in between connection
What causes interface resets to occur?
excess errors, high error accrual
To show the details of an interface, you can use the following command: show interface FastEthernet x/x. True or false?
True
In order to verify frame integrity, where would you look in the interface details output?
CRC
Every interface of a router is a _______.
subnet, broadcast domain
VLANs are responsible for creating ________.
broadcast domains, subnets, networks
Which port is responsible for carrying VLANs so that they are on different switches?
trunk port
What is the encapsulation protocol that is used for the trunk connection on ROAS?
dot1q
What is a layer 3 switch?
switches with routing capabilities
Are layer 3 switches software or hardware based?
hardware, ASIC
What are access ports?
ports that only access 1 vlan
What tagging protocol standard is used for all vlan connections?
802.1q, dot1q
What is DTP?
dynamic trunking protocol
What is the function of DTP?
automatically establish trunk ports between switches
What is the default port mode on cisco switches?
DTP (dynamic trunk protocol)
What is dynamic desirable mode?
sends DTP messages to try to create trunk port
What is dynamic auto mode?
does NOT send DTP messages, will NOT try to create trunk ports
Two auto ports facing each other will establish a trunk port. True or False
False
What command disables DTP mode?
switchport nonegotiate
How many VLAN numbers are you able to use?
4094
What is the purpose of a native VLAN?
untagged traffic is directed to the native VLAN
What is CDP?
cisco discovery protocol
What traffic is usually untagged?
switch originated (CDP), pass-through (hub), virtualized servers
Which command will show you the VTP that is running on your device?
show vtp status
What are the three modes for VTP?
server, client, transparent
What is VTP server mode?
all switches can make VTP changes
What is VTP client mode?
one switch manages VTP
What is VTP transparent mode?
“off” mode
What command will show which VLANs are on the switch?
show vlan
What is the command to assign a VLAN to a switch port?
switchport access vlan (x)
Which command will enable VLAN capabilities on a port?
switchport mode access
The show command to display details about a switchport mode is ‘show interfaces fxx/x switchport’. True or false?
True
A switch running in VTP client mode version 2 on cbtnuggets.com domain is not receiving the revision updates from the VTP server on version 2 from domain CBTNuggets.com. What is the problem?
the domains needs to match (case sensitive)
What is the default state of switchport?
dynamic desirable
What is a good command to see packet statistics of an interface?
show interfaces ‘type’
If an interface is down, what commands would you use to enable the interface?
shutdown then no shutdown
What commands could be used to troubleshoot a network interface connection?
show ip interface brief
show interfaces ‘type’
Trunk ports are displayed in the ‘show vlan’ command. True or False
False
What command is used to clear the counters on an interface?
clear counters ‘type’
What command can be used to add vlans to a trunk?
switchport trunk allowed vlan add x