Day 2
Day 2
Advanced Networking
Lec 1
Today Agenda
Configuring SSH
Interface configuration
Port Security
CDP protocol
SSH “Secure Shell”
SSH “Secure Shell”
Password Encryption
Switch>enable
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#service password-encryption
Switch#show version
Switch#show flash:
Note:
Switch (config)#Line console 0
Switch(config-line)#history size ?
Duplexing and Speed
Duplex Overview
●
Half Duplex (CSMA/CD)
Unidirectional data flow
Higher potential for collisions
Hubs Connectivity
Full Duplex
Point-to-point only
Attached to dedicated switch port
Requires full duplex support on both ends
Collision free
Collision detect circuit disabled
The Interface Duplex Mode and Speed
●switch: load_helper
Another way to erase configuration Files
●switch:dir flash:
2 -rwx c3500XL-c3hz-mz.120-5.wc5.bin
3 -rwx vlan.dat
4 drwx html
227 -rwx config.text
●The two files valn.dat & config.text should be erased
●switch:dir flash:
●switch:dir flash:vlan.dat
●switch: reset
●switch: boot
##############################################
##############################################
continue with configuration dialog ? [yes/no] NO
Password recovery
Switch(config-if)#switchport port-security
●Configure the actual MAC addresses of the devices allowed to use that port
●Platform : OS Level
CDP
●CDP timer is how often CDP packets are transmitted out all
active interfaces.
●CDP hold time is the amount of time that the device will hold
●Corp(config)#cdp holdtime ?
<10-255> Length of time (in sec) that receiver must
keep this packet
●Corp(config)#cdp timer ?
the switch
●Use Syslog to get every event on the switch