0% found this document useful (0 votes)
24 views7 pages

DHCP Snooping and SSH Configuration

The document discusses configuring DHCP snooping and SSH on a switch. It provides configuration steps to enable DHCP snooping on VLAN 1 and configure ports as trusted. It also provides configuration steps to enable SSH and set a username and password for secure access.

Uploaded by

Usman Arshad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views7 pages

DHCP Snooping and SSH Configuration

The document discusses configuring DHCP snooping and SSH on a switch. It provides configuration steps to enable DHCP snooping on VLAN 1 and configure ports as trusted. It also provides configuration steps to enable SSH and set a username and password for secure access.

Uploaded by

Usman Arshad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

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

You might also like