forked from MichaelCade/90DaysOfDevOps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SW2
57 lines (46 loc) · 1.05 KB
/
SW2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
enable
configure terminal
hostname SW2
aaa new-model
aaa session-id unique
aaa authentication login default local
aaa authorization exec default local none
vtp mode transparent
int gig0/0
no switchport
no shut
ip address 10.10.88.112 255.255.255.0
lldp run
enable password access123
username admin password access123
no ip domain-lookup
ip domain-name 90DaysOfDevOps.net
ip ssh version 2
ip scp server enable
crypto key generate rsa general-keys modulus 1024
snmp-server community public RW
snmp-server trap link ietf
snmp-server enable traps snmp linkdown linkup
snmp-server enable traps syslog
snmp-server manager
logging history debugging
logging snmp-trap emergencies
logging snmp-trap alerts
logging snmp-trap critical
logging snmp-trap errors
logging snmp-trap warnings
logging snmp-trap notifications
logging snmp-trap informational
logging snmp-trap debugging
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 15
exec-timeout 0 0
logging synchronous
login local
transport input all
privilege level 15
do copy run start
end