Day 29 - Switch Configuration Basics Flashcards
The two ways to initially configure a Cisco device are what?
Console Terminal
Remote Terminal
After a device has been initially configured are what three additional methods to access it?
VTY session using Telnet or SSH
Through the current console or aux connection
Download a config file through an NMS application
This EXEC mode has access to only a limited number of basic monitoring and troubleshooting commands such as show and ping
User EXEC mode
This EXEC mode has full access to all device commands, including configuration and management
Privileged EXEC mode
What partial generic command will you use on a global level to verify and troubleshoot network operation?
show
Where is the running configuration stored on a Cisco device?
RAM
Where is the startup configuration stored on a Cisco device?
NVRAM
Where is the OS stored on a Cisco device?
Flash
This command enters global configuration mode
configure terminal
This command configures a name for the device
hostname {name}
This command enters the interface configuration mode for the VLAN 1 interface
interface vlan 1
This command configures an interface IP address
ip address {ip-address} {subnet-mask}
This command enables the interface
no shutdown
This command returns to global configuration mode
exit
This command enters the interface to configure it
interface {int}
This command defines the VLAN membership mode for the port
switchport mode access
This command assigns the port to a VLAN
switchport access vlan {vlan-id}
This command configures the interface duplex mode to enable AUTO duplex configuration
duplex auto
This command configures the interface speed and enables AUTO speed configuration
speed auto
This command enables auto-MDIX on the interface
mdix auto
This command configures the default gateway on the switch
ip default-gateway {ip-address}
This command configures the HTTP server for authentication using the enable password, which is the default method of HTTP server user authentication
ip http authentication enable
This command enables the HTTP server
ip http server
This command switches from global configuration to line configuration mode for console 0
line console 0
This command sets cisco as the password for the console line 0 on the switch
password cisco
This command sets the console line to require the password to be entered before access is granted
login
This command switches from global configuration mode to line configuration mode for vty terminals 0-15
line vty 0 15
This command sets cisco as the password for the vty lines on the switch
password cisco
This command configures cisco as the enable password to enter privileged exec mode
enable password cisco
This command configures class as the enable secret password to enter privileged exec mode
enable secret class
This command encrypts all the system passwords stored in plaintext
service password-encryption
This command configures a login banner with # as the delimiter
banner login #
banner message#
This command configures the message of the day banner with # as the delimiter
banner motd # Message #
This command returns to privileged exec mode from an interface configuration mode or global configuration mode
end
This command saves the running configuration into the startup configuration
copy running-config startup-config
This command targets a range of interfaces to configure all at once
interface range {range}
ex: int range fa0/1 - 3
__________ __________ is unidirectional data flow in which a device can either send or receive on an Ethernet LAN — but not both at the same time
half duplex
This duplex mode increases the effective bandwidth by allowing both ends of a connection to transmit and receive data simultaneously. This is known as bidirectional
full duplex
Manually setting the duplex mode and speed of switch ports can cause issues if one end is __________ or set to __________
Mismatched
Autonegotiation
When this feature is enabled, the interface automatically detects the required cable connection type (straight-through or crossover) and configures the connection appropriately
Auto-MDIX
This ethernet standard requires Auto-MDIX
Gigabit Ethernet Standard
When using Auto-MDIX on an interface, the interface speed and duplex must be set to __________ so that feature operates correctly
auto
True or False: Pinging the loopback address of a host should succeed whether or not the host is connected to the network
True
If a loopback ping fails then what would that indicate?
A software or hardware problem on the host itself
What 3 steps systematically test connectivity and in what order order do those steps belong?
Can a device ping itself? (loopback)
Can an end device ping its gateway?
Can an end device ping the destination?
From a PC, the best command tool to use to find a break in the traffic or network path is what?
tracert
What is the line status and protocol status for this typical root cause of a switch interface status—
The interface is configured with the shutdown command
Line status: Administratively down
Protocol: Down
What is the line status and protocol status for this typical root cause of a switch interface status—
No cable exists, the cable is bad, incorrect cable pinouts are used, mismatch speed, device on the other end is powered off or the other interface is shutdown
Line status: Down
Protocol: Down
What is the line status and protocol status for this typical root cause of a switch interface status—
This status is not expected on LAN switch interfaces. This indicates a Layer 2 issue on Layer 3 devices
Line status: Up
Protocol: Down
What is the line status and protocol status for this typical root cause of a switch interface status—
Port security has disabled the interface. The network admin must manually reenable the interface
Line status: Down
Protocol: Down (errdisabled)
What is the line status and protocol status for this typical root cause of a switch interface status—
The interface is working
Line status: Up
Protocol: Up
Manually configuring both speed and duplex on a switch interface disables what?
The IEEE standard autonegotiation process
What command would verify the speed and duplex of an interface
show interfaces status
show interface {int}
If a duplex setting is set to full or half when viewing a show interfaces status command, does that mean duplex has been manually set or autoconfigured?
Manually set and autonegotiation has been disabled
If a duplex setting is set to a-full when viewing a show interfaces status command, does that mean duplex has been manually set or autonegotiated?
It means the switch autonegotiated full duplex
Even if duplex settings are mismatched what Line status and protocol will the interface show?
Up/Up
What is the type of problem that is occurring when the counter value(s) say many input errors, few collisions?
Excessive noise caused by wrong cable category or EMI
What is the type of problem and root cause that is occurring when the counter value(s) say more than roughly 0.1% of all frames are collisions?
Collisions caused by duplex mismatch or DOS attack
What is the type of problem that is occurring when the counter value(s) have increasing late collisions?
Caused by collision domain, duplex mismatch or single cable too long