DHCP SNOOPING &
SSH CONFIGURATION
Host IP:
192.168.1.100
Server:
Switch Configuration:
Switch > enable
Switch # config t
Switch (config)# hostname DHCP
DHCP (config )# ip dhcp snooping vlan 1
DHCP (config) # int fa0/3
DHCP (config-if) # ip dhcp snooping trust
DHCP (config-if )# exit
SSH CONFIGURATION:
Router>enable
Router # config t
Router(config)#int g0/0/0
Router(config-if)#ip add 192.168.1.1
255.255.255.0
Router(config-if)#no shut
Router(config)#hostname SSH
SSH(config)#int vlan 1
SSH(config-if)#ip add dhcp
SSH(config-if)#no shut
SSH(config-if)#aaa new-model
SSH(config)#username ali password 123
SSH(config)#ip domain-name tnr.com
SSH(config)#crypto key generate rsa
How many bits in the modulus [512]: 1024
SSH(config)#line vty 0 4
SSH(config-line)#transport input ssh
SSH(config-line)#exit
SSH(config)#enable password 124
SSH(config)#line vty 0 4
SSH(config-line)#transport input ssh
SSH(config-line)#exit