Cisco Switch

Cisco

1
2
3
4
S1#erase startup-config
S1#delete flash:vlan.dat 
S1#reload
S1#copy running_config startup-config
1
2
3
4
5
interface vlan 1
ip address 192.168.1.2 255.255.255.0
no shutdown

ip default-gateway 192.168.1.1
 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
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus