What to remember when setting up an switch
- Console (Local)
- SSH (Remote)
- Copy Config
Layer 2 Switch
- Don't examine ip addres
- Look at the frame and frame header.
- Switches does not route traffic.
- They look at mac addresses
- When you assign a ip to a L2 switch, it for ssh (remote access) and it will not use that for routing!
Layer 3 Switch
- They do both routing and switching
- Pull out powercord
- Hold in the button in the front, and plug the power cord back in.
- When text Apeears, release the button, and you should now be in rommon
- localte config.txt in flash
- copy config.txt to config.txt.bak so you can use it upon rebooting into the switch again
- Boot the switch and it should use a "blank" config
- Escelate into privlege mode, and now copy in the old config backin
- Edit your password, and copy config into startup conf and you should now be able to access the switch again with its old config upon reload.
ip domain-name alyssa_switch.localdomain
banner motd #This is Skandix's Switch Stay out#
enable secret cisco
line con 0
username skandix secret cisco
crypto key generate rsa
ip ssh version 2
line vty 0 4
transport input ssh
interface vlan 1 # svi a virtual interface
ip address 10.13.37.5 255.255.255.0 # switch has now an ip
copy run start
show start # inspect that it have been copied into the start
Show mac address table
Referred as the CAM table (Content Addressable Memory )
show mac address table
- dynamic Entries
- shows dynamic entries, since the asic on the switchports are reading the source MAC rigth out of that frame
show mac address table dynamic
Show mad addresse on interface
show mac address table interface f0/1'