-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAcc-Floor3.txt
93 lines (89 loc) · 1.79 KB
/
Acc-Floor3.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
# Basic Config
en
conf t
hostname Acc-Floor3
enable secret Windows1
line console 0
password Windows1
login
line vty 0 15
password Windows1
login
service password-encryption
no ip domain-lookup
clock timezone EST -5
banner motd #Authorized Access Only!#
sdm prefer dual-ipv4-and-ipv6 default
vtp mode transparent
# VLAN
vlan 305
name Allergist
vlan 310
name Physiotherapy
vlan 315
name DentalOffice
vlan 320
name ENT
vlan 325
name Visitor3
vlan 720
name IT
vlan 990
name DataCenter
vlan 999
name Native
# Assign VLAN to Ports
int g0/2
description Access port for Allergist
switchport mode access
switchport access vlan 305
no shut
int g0/3
description Access port for Physiotherapy
switchport mode access
switchport access vlan 310
no shutdown
int g1/0
description Access port for DentalOffice
switchport mode access
switchport access vlan 315
no shutdown
int g1/1
description Access port for ENT
switchport mode access
switchport access vlan 320
no shut
int g1/2
description Access port for Visitor3
switchport mode access
switchport access vlan 325
no shut
int g3/2
description Access port for IT
switchport mode access
switchport access vlan 720
no shut
int g3/3
description Access port for DataCenter
switchport mode access
switchport access vlan 990
no shut
# Spanning-tree
int range g0/2-3, g1/0-3, g3/2-3
spanning-tree portfast
spanning-tree bpduguard en
# Trunk Config
int g0/0
description Trunk link to SpringCore1
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
switchport trunk native vlan 999
switchport trunk allowed vlan 305,310,315,320,325,720,990,999
int g0/1
description Trunk link to SpringCore2
switchport trunk encapsulation dot1q
switchport mode trunk
switchport nonegotiate
switchport trunk native vlan 999
switchport trunk allowed vlan 305,310,315,320,325,720,990,999