CCNA-FullSeries
Note:
switch> en (or) enable # From user exit mode to privileged mode
switch# conf (or) configure terminal #global configuration mode
switch(config)# hostname nn-switch
nn-switch(config)# banner motd #This is Test Switch#
nn-switch(config)# enable password naren123
nn-switch(config)# line console 0
nn-switch(config-line)# password nn@123
nn-switch(config-line)# login
nn-switch(config-line)# exec-timeout 3 0 [here 3 minutes, 0 seconds]
nn-switch(config-line)# logging synchronous
nn-switch(config-line)# exit
nn-switch(config)# line vty 0 15 [login into remotely]
nn-switch(config-line)# password mrkp@123
nn-switch(config-line)# login
nn-switch(config-line)# exec-timeout 3 0
nn-switch(config-line)# logging synchronous
nn-switch(config-line)# exit
nn-switch(config)# no ip domain lookup [ prevent unnecessary DNS lookups ]
nn-switch(config)# ip domain-name nn-cisco.com
nn-switch(config)# username nn-admin password cisco@123
nn-switch(config)# do show run [ to show running configuration ]
nn-switch(config)# service password-encryption
nn-switch(config)# do show run exit
nn-switch# clock set 14:36:50 January 17 2024 [ to set current clock time ]
nn-switch# conf t
nn-switch(config)# int vlan 1
nn-switch(config-if)# no shut [ to changed stat to up ]
nn-switch(config-if)# ip add 192.168.10.254 255.255.255.0 [ set Management IP addr-SW ]
nn-switch(config-if)# exit
nn-switch(config)# ip default-gateway 192.168.10.1
nn-switch(config)# block-for [ to prevent Brute-force Attack-Router ]
nn-switch(config)# do sh run
nn-switch(config)# do sh start [ to show startup configuration ]
nn-switch(config)# do write [ to save running into startup configs ]
sdfjdsf,s
djfsbv
dbgfn,d
Note: