create user and password on local sw

  • username test ptivilaged 15 password test

privilaged 15 have full control

line c 0-

login local

exit

Config DHCP on SW

  • IP DHCP excluded-address vlan id

for example

IP dhcp excluded-address 192.168.1.1-

The ip address is config on interface vlan ip

  • Ip dhcp pool vlan name

for example

IP DHCP pool vlan 10

network 192.168.1.0. 255.255.255.0

default-router 192.168.1.1

dns-name 8.8.8.8

domain example.com