reformat config

This commit is contained in:
Maxim Khomutov 2022-04-23 00:16:10 +03:00
parent 3bbbe8ee87
commit e98a1f20b7
2 changed files with 105 additions and 23 deletions

View File

@ -0,0 +1,59 @@
en
er s # erase startup-config
del vlan.dat # delete vlan.dat
conf t # configure terminal
vl 22 # vlan <vl№>
na "Native VLAN" # name <name>
vl 44
na "Managment VLAN"
vl 220
na "VLAN1 Gay"
vl 221
na "VLAN2 Gay"
vl 222
na "VLAN3 Sexshop"
vl 223
na "VLAN4 Bezruk steet"
vl 224
na "VLAN5 Bezruk steet"
vl 225
na "VLAN6 Kazahstan"
vl 226
na "VLAN7 Kazahstan"
vl 227
na "VLAN8 Kazahstan"
vl 228
na "VLAN9 Sysadmin central"
vl 229
na "VLAN10 Sysadmin central"
lin c 0 # line console 0
exe 0 0 # exec-timeout 0 0
pass pass # password <passwd>
login
lin v 0 15 # line vty 0 15
exe 0 0 # exec-timeout 0 0
pass cisco # password <passwd>
login local # login local
t i s # transport input ssh
exit
h <name> # hostname <name>
ip domain n <name> # ip domain name <name>
ena s cisco # enable secret <password>
ser p # service password-encryption
ba m <MOTD> # banner motd <MOTD>
cr k g r # crypto key generate rsa
1024
ip s v 2 # ip ssh version 2
u admin s admin # username admin secret admin
do wr # do write
do rel # do reload

View File

@ -1,36 +1,59 @@
en
er s
del vlan.dat
conf t
hostname <name>
ip domain name <name>
en secret cisco
line con 0
no sh
exec-timeout 0 0
password pass
vl 22
na "Native VLAN"
vl 44
na "Managment VLAN"
vl 220
na "VLAN1 Gay"
vl 221
na "VLAN2 Gay"
vl 222
na "VLAN3 Sexshop"
vl 223
na "VLAN4 Bezruk steet"
vl 224
na "VLAN5 Bezruk steet"
vl 225
na "VLAN6 Kazahstan"
vl 226
na "VLAN7 Kazahstan"
vl 227
na "VLAN8 Kazahstan"
vl 228
na "VLAN9 Sysadmin central"
vl 229
na "VLAN10 Sysadmin central"
lin c 0
exe 0 0
pass pass
login
transport input ssh
exit
line vty 0 15
no sh
exec-timeout 0 0
password cisco
lin v 0 15
exe 0 0
pass cisco
login local
transport input ssh
t i s
exit
service password-encryption
banner motd <motd>
h <name>
ip domain n <name>
ena s cisco
crypto key generate rsa
ser p
ba m <MOTD>
cr k g r
1024
ip ssh ver 2
username admin secret admin
ip s v 2
u admin s admin
exit
exit
do wr
do rel
write
exit