-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathE1.1.txt
More file actions
121 lines (114 loc) · 2 KB
/
E1.1.txt
File metadata and controls
121 lines (114 loc) · 2 KB
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
first switch
===========================
enable
conf t
no ip domain-lookup
line console 0
logging synchronous
exec-timeout 0 0
exit
vlan 10
name Sales
exit
vlan 20
name Engineering
exit
vlan 30
name Guest
exit
vlan 99
name Native-Unused
exit
vlan dot1q tag native
interface gi0/1
description PC-Sales
switchport mode access
switchport access vlan 10
switchport nonegotiate
no shutdown
exit
interface gi0/2
description PC-Guest
switchport mode access
switchport access vlan 30
switchport nonegotiate
no shutdown
exit
interface gi0/3
description Kali-capture
switchport mode access
switchport access vlan 10
switchport nonegotiate
no shutdown
exit
interface range gi1/0 - 3, gi2/0 - 3, gi3/0 - 3
description Unused
switchport mode access
switchport access vlan 99
switchport nonegotiate
shutdown
interface gi0/0
description Trunk-to-SW2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
switchport trunk native vlan 99
switchport trunk allowed vlan 10,20,30,99
no shutdown
exit
end
write memory
===========================
second switch
===========================
enable
conf t
no ip domain-lookup
line console 0
logging synchronous
exec-timeout 0 0
exit
vlan 10
name Sales
exit
vlan 20
name Engineering
exit
vlan 30
name Guest
exit
vlan 99
name Native-Unused
exit
vlan dot1q tag native
interface gi0/1
description PC-Engineering
switchport mode access
switchport access vlan 20
switchport nonegotiate
no shutdown
exit
interface gi0/2
description PC-Guest-2
switchport mode access
switchport access vlan 30
switchport nonegotiate
no shutdown
exit
interface range gi1/0 - 3, gi2/0 - 3, gi3/0 - 3, gi0/3
description Unused
switchport mode access
switchport access vlan 99
switchport nonegotiate
shutdown
interface gi0/0
description Trunk-to-SW1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
switchport trunk native vlan 99
switchport trunk allowed vlan 10,20,30,99
no shutdown
exit
end
write memory