-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathswitch2-configuration.txt
185 lines (183 loc) · 3.01 KB
/
switch2-configuration.txt
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
Building configuration...
Current configuration : 3009 bytes
!
! Last configuration change at 21:36:38 UTC Wed Sep 22 2021
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service compress-config
!
hostname S2
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
enable secret 5 $1$EDDS$w6tNJk9r0raZO1Qf7nLZc1
!
username admin secret 5 $1$FElS$39NBofBqWFvd5OrJkVVyZ0
no aaa new-model
!
!
!
!
!
no ip icmp rate-limit unreachable
!
!
!
ip dhcp snooping vlan 3
no ip dhcp snooping information option
ip dhcp snooping
no ip domain-lookup
ip domain-name ccna-ptsa.com
ip cef
no ipv6 cef
!
!
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport trunk native vlan 6
switchport mode trunk
ip dhcp snooping trust
!
interface Ethernet0/0
switchport access vlan 5
shutdown
!
interface Ethernet0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 6
switchport mode trunk
channel-group 1 mode auto
ip dhcp snooping trust
!
interface Ethernet0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 6
switchport mode trunk
channel-group 1 mode auto
ip dhcp snooping trust
!
interface Ethernet0/3
switchport access vlan 3
switchport mode access
switchport port-security maximum 3
switchport port-security violation restrict
switchport port-security mac-address sticky
switchport port-security mac-address sticky 0050.7966.6800
switchport port-security
spanning-tree portfast edge
ip dhcp snooping limit rate 3
!
interface Ethernet1/0
switchport access vlan 5
shutdown
!
interface Ethernet1/1
switchport access vlan 5
shutdown
!
interface Ethernet1/2
switchport access vlan 5
shutdown
!
interface Ethernet1/3
switchport access vlan 5
shutdown
!
interface Ethernet2/0
switchport access vlan 5
shutdown
!
interface Ethernet2/1
switchport access vlan 5
shutdown
!
interface Ethernet2/2
switchport access vlan 5
shutdown
!
interface Ethernet2/3
switchport access vlan 5
shutdown
!
interface Ethernet3/0
switchport access vlan 5
shutdown
!
interface Ethernet3/1
switchport access vlan 5
shutdown
!
interface Ethernet3/2
switchport access vlan 5
shutdown
!
interface Ethernet3/3
switchport access vlan 5
shutdown
!
interface Vlan1
no ip address
shutdown
!
interface Vlan4
ip address 10.19.8.99 255.255.255.248
!
ip default-gateway 10.19.8.97
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
banner motd ^CUnauthorized Access this device is prohibitted!^C
!
line con 0
exec-timeout 0 0
privilege level 15
password 7 1214041F1F0419007E7E72
logging synchronous
login
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login local
transport input ssh
!
!
end