1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.
-
Upload
daniella-pope -
Category
Documents
-
view
237 -
download
3
Transcript of 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.
![Page 1: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/1.jpg)
1
CCNA 3 v3.1 Module 6
![Page 2: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/2.jpg)
2
CCNA 3 Module 6
Switch Configuration
![Page 3: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/3.jpg)
333
Switch
• Switches are dedicated, specialized computers
Central processing unit (CPU)
Random access memory (RAM)
Operating system
• Switch ports for
Connecting hosts (for interhost communication)
Management (console port for configuration)
![Page 4: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/4.jpg)
444
Switch LED Indicators
• Light Emitting DiodesEDs
help monitor system activity and performance
• The front of the switch has the following LEDs:
System LED (is the system receiving power and functioning correctly)
Remote Power Supply (RPS) LED (is remote power supply used)
Port Mode LED (current state of mode button)
Port Status LEDs vary depending on mode
![Page 5: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/5.jpg)
555
• If Mode is STAT (default mode)
off No link
Solid green Link operational
Flashing green Port sending/ receiving
Green/Amber Fault on link
Solid Amber Port disabled or Port blocked by STP
• If mode is UTL
Off Reduction by half total b/w
Green All Green – using50% bandwidth
• If mode is FDUP
Off Half-duplex mode
Green Full-duplex mode
• If mode is 100
Off Operating at 10Mbps
Green Operating at 100Mps
![Page 6: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/6.jpg)
666
Verifying Switch LEDs
• POST
runs automatically
verify that the switch functions correctly
• The System LED indicates success/failure of POSTSystem LED off and switch is plugged in, POST running
System LED green, POST was successful
System LED amber, POST failed (fatal error)
• The Port Status LEDs changes during switch POST
Port Status LEDs amber (30 secs) switch discovers network topology and searches for loops
Port Status LEDs green, Link established between port and PC
Port Status LEDs off, nothing is plugged into the port
![Page 7: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/7.jpg)
777
To Configure a Switch
Set hyperterminal link with Com port Settings9600bps8 data bitsNo parity1 stop bitHardware flow control
Switch can be configuredManually orSystem Configuration Dialog
![Page 8: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/8.jpg)
888
• Switch has a Command Line Interface
• ? Help – displays a list of commands
• Command? List of sub commands
• Show version displays IOS version and configuration register settings
• Show running-config displays running configuration files in RAM
• Show interfaces (specific)
• Show VLAN
• Show Flash or Dir Flash (ios image)
![Page 9: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/9.jpg)
999
• By default
Data is in running configuration file
Hostname is Switch
No passwords set on the console or vty lines
Switch ports or interfaces are set to auto mode
No IP Address
Switch may be given an IP address for management purposes
This is configured on the virtual interface, VLAN 1
All switch ports are in VLAN 1
default management VLAN
No VLAN database or configuration file
IOS image is in flash directory by default
One broadcast domain
Spanning-Tree Protocol is enabled
allows the bridge to construct a loop-free topology across an extended LAN
![Page 10: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/10.jpg)
101010
Obtaining help
• Command Syntax help
? List all possible commands
Command ? List of sub commands for command
![Page 11: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/11.jpg)
111111
Switch Command Modes
• User Executive Mode
Default mode
Prompt >
Commands at this level
change terminal settings
perform basic tests
display system information
Show commands
>enable change into Privileged Exec Mode
![Page 12: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/12.jpg)
121212
• Privileged Exec Mode
Should be password protected
Case sensitive
Does not appear on screen
Prompt #
commands
All allowed in user exec mode
configure command to access other modes
![Page 13: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/13.jpg)
131313
Switch Configuration
• Switch>enable• Switch#delete flash:vlan.dat deletes vlan information
• Switch#erase startup-config erase configuration files
• Switch#reload reload switch
• Switch#config terminal enter configuration mode
• Switch(config)#hostname newName configure
hostname
![Page 14: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/14.jpg)
141414
• To configure a console password
Switch(config)#line con 0
Switch(config-line)#password <password>
Switch(config-line)#login
• To configure a telnet password
Switch(config)#line vty 0 4
Switch(config-line)#password<password>
Switch(config-line)#login
![Page 15: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/15.jpg)
151515
• To make switch accessible by Telnet and other TCP/IP applications set
IP addresses and a default gateway
• By default, VLAN 1 is management VLAN
• Configuration needed
To access, configure, and manage all internetworking devices
Switch(config)#interface VLAN1
Switch(config-if)#ip address <add> <sub-mask>
Switch(config-if)#exit
Switch(config)#ip default-gateway <next hop>
![Page 16: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/16.jpg)
161616
• Fast Ethernet switch ports default to
auto-speed and auto-duplex
• Network administrator sets appropriate speed and duplex values
• Configuration
Switch(config)#interface fa0/2
Switch(config-if)#duplex full
Switch(config-if)#speed 100
![Page 17: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/17.jpg)
171717
• Once a switch is configured with an IP address and gateway, it can be accessed through the web browser
• This allows you to verify configuration settings
• To do this HTTP service must be turned on
Switch(config)#ip http server
Enables a http server
Switch(config)#ip http port 80
Port 80 is the default port for http
![Page 18: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/18.jpg)
181818
Managing the MAC Address Table
• MAC Address
Dynamically learned
Held in CAM – MAC address table
Switches examines the source address
Record or tag mac address
MAC Address discarded after 300 seconds of no taging
• To see the MAC Address table
show mac-address–table
• To remove all entries from MAC Address table
Clear mac-address-table
![Page 19: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/19.jpg)
191919
Configuring Static MAC Address
• Why assign a static mac address
MAC address will not be aged out automatically by the switch
A specific server or user workstation must be attached to the port and the MAC address is known
Security is enhanced
• Configuration
Switch(config)#mac-address-table static <mac>
• To remove a static mac address
Switch(config)#no mac-address-table static <mac>
![Page 20: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/20.jpg)
202020
Configuring Port Security
• Access layer switch ports are a potential entry point to the network by unauthorized users.
• Port security limits the number of addresses that can be learned on an interface
• Set port security on a switch interface
Can be limited to 1
Switch(config)#interface fa0/2
Switch(config-if)#port security max-mac-count <number>
• switch#show port security
![Page 21: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/21.jpg)
212121
What to Configure when Adding a New Switch
• Switch name
• IP Address form management purposes
• Default gateway
• Passwords for console, aux, vty
• Security
• Access switch ports
![Page 22: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/22.jpg)
222222
Moving a MAC Address
• Add the address to a new port
• Configure port security on new switch
• Remove old port configurations
• Administrator should
document and maintain the operational configuration files for networking devices (back up on a server or disk)
Backup IOS to a local server
![Page 23: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/23.jpg)
232323
Password Recovery
• Enter the setup program
Deleting the switch configuration file
Rebooting the switch
![Page 24: 1 CCNA 3 v3.1 Module 6. 2 CCNA 3 Module 6 Switch Configuration.](https://reader031.fdocuments.us/reader031/viewer/2022031905/56649cea5503460f949b5805/html5/thumbnails/24.jpg)
242424
• Copy flash tftp – backup ios to tftp server
• Copy tftp flash – download ios from tftp