Ch2 Basic Switching and Config Practical Flashcards
1
Q
show bootvar
A
Command that displays the current IOS version boot file is set to.
2
Q
Recovering from Switch Crash (5)
A
- Connect to switch by console port and terminal program.
- Unplug switch power cord
- Reconnect switch power and, within 15 seconds, press and hold down the Mode button while the system LED is still flashing green.
- Continue holding Mode button until System LED turns amber and then solid green; release Mode button.
- Boot loader switch: prompt appears in terminal emulation software on pc
3
Q
Creating VLAN and Associate to Interface (5)
A
- vlan vlan_id - assigns vlan port number
- name vlan_name - assigns vlan name
- exit
- interface interface_id - access interface
- switchport access vlan vlan_id - assigns interface as vlan port
4
Q
Configure Management Interface for Switch (4)
A
- configure terminal - enters global configuration mode
- interface vlan vlan number - enters interface configuration for supplied SVI vlan port.
- ip address ip address subnet mask - assigns ip / subnet to SVI
- no shutdown - activates svi port.
5
Q
Configure Default Gateway (2)
A
- configure terminal - enters global configuration
- ip default-gateway ip address of default gateway - assigns default gateway for switch
6
Q
Configure Duplex, Speed, and MDIX (5)
A
- configure terminal- enters global configuration mode
- interface FastEthernet 0/1 - enters config for FE0/1
- duplex full / half / auto - assigns duplex to either half, full , or auto.
- speed 100 / 100 / 1000 / auto - assigns speed to 10,100, 1000 mbs, or auto.
- mdix auto - sets mdix option to auto to allow switch to detect which wires to transmit and receive from; determines what type of “cable” is used (like devices=crossover; different=straight; router->pc: crossover.
7
Q
Configuring SSH (10)
A
- show ip ssh - if switch does not support SSH this command will not be recognized - displays SSH version being used and other SSH information; similar to show running-config cmd except for SSH
- ip domain-name domain name - configures the IP domain name of the network ; global config cmd
- crypto key generate rsa - Cisco recommends 1024 modulus; use ip ssh version 2 cmd to enable version 2 ssh. version 1 has known issues
- username username secret password - assigns username and password for SSH
- line vty 0 15 - selects vty lines ; in this example lines 0 through 15
- transport input ssh - enables SSH on the selected VTY lines/
- login local - requires login with authentication done locally instead of a server.
- exit - returns to global config
- ip ssh version 2 - enables SSH version 2 to be used.
- exit - exits global config.
8
Q
Global config cmd used to delete RSA key and disable SSH server.
A
crypto key zeroize rsa