-
Notifications
You must be signed in to change notification settings - Fork 0
/
Sw2
170 lines (169 loc) · 2.42 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
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
!
! Last configuration change at 17:35:26 WIB Sat Nov 17 2018
!
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
service compress-config
!
hostname Sw2
!
boot-start-marker
boot-end-marker
!
!
logging discriminator EXCESS severity drops 6 msg-body drops EXCESSCOLL
logging buffered 50000
logging console discriminator EXCESS
!
no aaa new-model
clock timezone WIB 7 0
!
!
!
!
!
no ip routing
no ip icmp rate-limit unreachable
!
!
!
no ip domain-lookup
no ip cef
no ipv6 cef
!
!
!
spanning-tree mode pvst
spanning-tree portfast edge bpdufilter default
spanning-tree extend system-id
spanning-tree uplinkfast max-update-rate 250
spanning-tree backbonefast
spanning-tree vlan 2001-2003,2017-2019 priority 24576
!
vlan internal allocation policy ascending
!
vlan 2001
name Guest
!
vlan 2002
name Programmer
!
vlan 2003
name Production
!
vlan 2017
name Engineer
!
vlan 2018
name HRD
!
vlan 2019
name Manager
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Ethernet0/0
switchport trunk allowed vlan 2001-2003,2017-2019
switchport trunk encapsulation dot1q
switchport trunk native vlan 666
switchport mode trunk
!
interface Ethernet0/1
switchport trunk allowed vlan 2001-2003,2017-2019
switchport trunk encapsulation dot1q
switchport trunk native vlan 666
switchport mode trunk
!
interface Ethernet0/2
switchport access vlan 2003
switchport mode access
spanning-tree portfast edge
!
interface Ethernet0/3
!
interface Ethernet1/0
!
interface Ethernet1/1
!
interface Ethernet1/2
!
interface Ethernet1/3
!
interface Ethernet2/0
!
interface Ethernet2/1
!
interface Ethernet2/2
!
interface Ethernet2/3
!
interface Ethernet3/0
!
interface Ethernet3/1
!
interface Ethernet3/2
!
interface Ethernet3/3
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan2002
ip address 172.18.34.251 255.255.255.0
no ip route-cache
!
interface Vlan2003
ip address 172.18.35.123 255.255.255.128
no ip route-cache
!
interface Vlan2017
ip address 172.18.33.251 255.255.254.0
no ip route-cache
!
interface Vlan2018
ip address 172.16.36.59 255.255.255.192
no ip route-cache
!
ip default-gateway 172.18.35.126
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end