1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
>enable
#erase startup-config
#delete flash:vlan.dat
#reload
>enable
#config terminal
#hostname Switch-A
#line console 0
#password cisco
#login
#line vty 0 15
#password cisco
#login
#enable secret cisco
#service password-encryption
#banner motd "Welcome,haha!"
>enable
#config terminal
#ip default-gateway 192.168.1.1
#int vlan 1
#ip address 192.168.1.2 255.255.255.0
#no shutdown
#copy running-config startup-config
|