M2.1 Basic Switch Device Configuration Flashcards

(100 cards)

1
Q

What is the first step in the switch boot sequence?

A

The switch loads a power-on self-test POST program from ROM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the second step in the switch boot sequence?

A

The switch loads the boot loader software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the third step in the switch boot sequence?

A

The boot loader performs low-level CPU initialization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the fourth step in the switch boot sequence?

A

The boot loader initializes the flash file system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the fifth step in the switch boot sequence?

A

The boot loader locates and loads a default IOS image into memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of POST during the switch boot sequence?

A

It checks the CPU subsystem DRAM and the flash file system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the boot loader’s role after POST in a normal boot sequence?

A

It performs low-level CPU initialization initializes flash and loads the IOS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the BOOT environment variable specify?

A

The path and filename of the IOS image the switch should load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What command sets the BOOT environment variable?

A

The boot system global configuration command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What command is used to see the current IOS boot file setting?

A

show boot

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What does a solid green SYST LED indicate?

A

The system is operating normally

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What does a solid amber SYST LED indicate?

A

The system is receiving power but not functioning properly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does a solid green RPS LED indicate?

A

The RPS is connected and ready to provide backup power

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does a blinking green RPS LED indicate?

A

The RPS is connected but providing power to another device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does a blinking amber RPS LED indicate?

A

The internal power supply has failed and the RPS is providing power

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does a solid green port LED in STAT mode indicate?

A

A link is present

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What does a blinking green port LED in STAT mode indicate?

A

There is activity and the port is sending or receiving data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What does a solid amber port LED in STAT mode indicate?

A

The port is blocked to ensure a loop does not exist

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What does a blinking amber port LED in STAT mode indicate?

A

The port is blocked to prevent a possible loop in the forwarding domain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What does an alternating green-amber port LED in STAT mode indicate?

A

There is a link fault

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What does a solid green port LED in DUPLX mode indicate?

A

The port is in full-duplex mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What does an off port LED in DUPLX mode indicate?

A

The port is in half-duplex mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What does a solid green port LED in SPEED mode indicate?

A

The port is operating at 100 Mbps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What does a blinking green port LED in SPEED mode indicate?

A

The port is operating at 1000 Mbps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What does an alternating green-amber port LED in PoE mode indicate?
PoE is denied because it would exceed switch power capacity
26
How do you access the boot loader on a switch?
Press and hold the Mode button within 15 seconds of powering on
27
When should you release the Mode button to enter the boot loader?
When the System LED turns briefly amber and then solid green
28
What does the boot loader prompt look like?
switch:
29
What is the primary purpose of the boot loader in system recovery?
To provide access to the switch if the OS is missing or damaged
30
What boot loader command initializes the flash file system?
flash_init
31
What boot loader command views the directories and files in flash?
dir flash:
32
What boot loader command loads a new IOS after setting the BOOT variable?
boot
33
What boot loader command is used to view the BOOT environment variable path?
set
34
What is an SVI?
A switch virtual interface a virtual interface not a physical port
35
What is the purpose of configuring an IP address on an SVI?
To allow remote management access to the switch
36
What is the best practice for choosing a management VLAN?
Use a VLAN other than the default VLAN 1
37
What is the default management VLAN on a Cisco switch?
VLAN 1
38
What two conditions must be met for an SVI to be in an up/up state?
The VLAN must be created and a device must be connected to a port in that VLAN
39
Why must a switch be configured with a default gateway?
To be managed remotely from networks that are not directly connected
40
What command enables a Catalyst 2960 to support IPv6 addressing?
sdm prefer dual-ipv4-and-ipv6 default
41
Does configuring an IP address on an SVI enable Layer 3 routing?
No it is only for remote management access
42
What command verifies the status of a switchs virtual interfaces?
show ip interface brief
43
How does a switch receive its IPv6 default gateway?
It is received from a router advertisement RA message
44
How do full-duplex and half-duplex communication differ?
Full-duplex allows simultaneous two-way communication while half-duplex allows only one-way communication at a time
45
What performance issue does half-duplex communication often create?
Collisions because data can only flow in one direction at a time
46
What interface configuration command manually sets the duplex mode?
duplex
47
What interface configuration command manually sets the port speed?
speed
48
What is the default setting for duplex and speed on Catalyst 2960 switch ports?
auto
49
What is the purpose of the auto-MDIX feature?
It automatically detects the required cable type straight-through or crossover
50
What command enables the auto-MDIX feature on an interface?
mdix auto
51
What is required for the auto-MDIX feature to operate correctly?
The interface speed and duplex must be set to auto
52
Is the auto-MDIX feature enabled by default on Catalyst 2960 switches?
Yes
53
What command verifies the auto-MDIX setting for an interface?
show controllers ethernet-controller phy
54
What is a common cause of connectivity issues due to mismatched settings?
Autonegotiation failure
55
Do fiber-optic ports like 1000BASE-SX use autonegotiation?
No they operate at one preset speed and are always full-duplex
56
What is the primary use of the show running-config command?
To verify that the device has been correctly configured
57
What information does the show interfaces command provide?
Status and statistics information on the network interfaces
58
What does an interface status of up/up mean?
The physical layer is up and the data link layer protocol is up
59
What does an interface status of down/down typically indicate?
A cable is not attached or the other end is administratively down
60
What does an interface status of up/down suggest?
A problem like an encapsulation mismatch or hardware issue
61
What does an interface status of administratively down mean?
The interface was manually disabled with the shutdown command
62
What does the first parameter of 'FastEthernet0/18 is up' refer to?
The hardware layer status
63
What does the second parameter 'line protocol is up' refer to?
The data link layer status
64
What do Input Errors reported by show interfaces represent?
The sum of all errors in received datagrams
65
What are Runt frames and what are their common causes?
Frames under 64 bytes caused by malfunctioning NICs or collisions
66
What are Giant frames?
Ethernet frames that are larger than the maximum allowed size
67
What are CRC errors and their common causes?
Checksum errors usually caused by media issues or electrical interference
68
What do Output Errors represent in the show interfaces command?
The sum of all errors that prevented the final transmission of datagrams
69
What are Collisions and what is their common cause?
Retransmitted messages that are normal in half-duplex operation
70
What are Late Collisions and what are their common causes?
Collisions after 512 bits are sent caused by excessive cable lengths or duplex mismatch
71
Why is SSH preferred over Telnet for remote management?
SSH is secure and encrypts data while Telnet sends data in unsecure plaintext
72
What TCP port does Telnet use?
23
73
What TCP port does SSH use?
22
74
What is the definitive way to verify if a switch IOS supports SSH?
Use 'show version' and look for 'k9' in the IOS filename
75
What command verifies if SSH is already enabled and shows its version?
show ip ssh
76
What command configures the IP domain name required for generating RSA keys?
ip domain-name
77
What command enables the SSH server and generates an RSA key pair?
crypto key generate rsa
78
What command is used to create a local user for SSH authentication?
username secret
79
What command on the VTY lines enables SSH and disables other protocols like Telnet?
transport input ssh
80
What command forces VTY lines to use the local user database for authentication?
login local
81
What command ensures that only the more secure SSH version 2 is used?
ip ssh version 2
82
What is the effect of using the crypto key zeroize rsa command?
It deletes the RSA key pair and automatically disables the SSH server
83
What command is used to name a router?
hostname
84
What command is used to secure privileged EXEC mode with an encrypted password?
enable secret
85
What is the command to configure a message-of-the-day banner?
banner motd #message#
86
What command is used to configure an IPv4 address on a router interface?
ip address
87
What command is used to configure an IPv6 address on a router interface?
ipv6 address /
88
What command is required to bring a router interface out of its default shutdown state?
no shutdown
89
Why is it a good practice to configure a description on each interface?
It is helpful in troubleshooting and identifying connections
90
What is a loopback interface and its primary benefit?
A logical software interface that is always up used for testing and management
91
What commands display the IPv4 and IPv6 routing tables?
show ip route and show ipv6 route
92
What do the codes 'C' and 'L' signify in a routing table entry?
C for a directly connected network L for a local host route
93
What are the prefix lengths for IPv4 and IPv6 local host routes?
/32 for IPv4 and /128 for IPv6
94
What is the administrative distance of a local host route?
0
95
Which show command filter displays an entire section starting with a matching string?
section
96
Which show command filter displays only the output lines that match a string?
include
97
Which show command filter omits all output lines that match a string?
exclude
98
Which show command filter displays all output lines starting from a matching string?
begin
99
What keyboard shortcuts recall previous and next commands in the CLI history?
Ctrl+P or Up Arrow for previous Ctrl+N or Down Arrow for next
100
What command increases the number of commands stored in the history buffer?
terminal history size