-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path3.6.1-packet-tracer---inplement-vlans-and-trunk
85 lines (76 loc) · 1.22 KB
/
3.6.1-packet-tracer---inplement-vlans-and-trunk
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
/* On all the three switches */
enable
conf t
vlan 10
name Admin
vlan 20
name Accounts
vlan 30
name HR
vlan 40
name Voice
vlan 99
name Management
vlan 100
name Native
exit
/* SWB */
interface f0/1
switchport mode access
switchport access vlan 10
interface f0/2
swichport mode access
switchport access vlan 20
interface f0/3
switchport mode access
switchport access vlan 30
exit
/* SWC */
interface f0/1
swichport mode access
switchport access vlan 10
interface f0/2
swichport mode access
switchport access vlan 20
interface f0/3
switchport mode access
switchport access vlan 30
interface f0/4
switchport mode access
switchport access vlan 10
exit
/* SWC */
interface f0/4
mls qos trust cos
switchport voice vlan 40
exit
/* SWA */
interface vlan 99
ip address 192.168.99.252 255.255.255.0
no shut
exit
/* SWB */
interface vlan 99
ip address 192.168.99.253 255.255.255.0
no shut
exit
/* SWC */
interface vlan 99
ip address 192.168.99.254 255.255.255.0
no shut
exit
/* SWA and SWB */
interface g0/1
switchport mode trunk
switchport nonegotiate
switchport trunk native vlan 100
exit
/* SWA */
interface g0/2
switchport mode dynamic desirable
switchport trunk native vlan 100
exit
/* SWC */
interface g0/2
switchport trunk native vlan 100
exit