Switch# configure t
Switch(config)# hostname S1
S1(config)# line console 0
S1(config-line)# password letmein
S1(config-line)# login
S1(config-line)# exit
S1(config)# enable password pass
S1(config)# enable secret sec
S1(config)# service password-encryption
S1(config)# banner motd "This is a secure system. Authorized Access Only!!!"
S1(config)# exit
S1# show run
S1# copy running-config startup-config
S1# configure t
S1(config)# interface vlan 1
S1(config-if)# ip address 192.168.1.253 255.255.255.0
S1(config-if)# no shutdown
S1# copy running-config startup-config
S1# show ip interface brief
No comments:
Post a Comment